|
@@ -34,6 +34,11 @@ class GL {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
+ // non standard
|
|
|
+ public static function getConfigParameter( v : Int ) : Int {
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
+
|
|
|
public static function isContextLost() : Bool {
|
|
|
return false;
|
|
|
}
|
|
@@ -314,6 +319,9 @@ class GL {
|
|
|
public static function vertexAttribIPointer( index : Int, size : Int, type : Int, stride : Int, position : Int ) {
|
|
|
}
|
|
|
|
|
|
+ public static function vertexAttribDivisor( index : Int, divisor : Int ) {
|
|
|
+ }
|
|
|
+
|
|
|
public static function deleteBuffer( b : Buffer ) {
|
|
|
}
|
|
|
|
|
@@ -350,6 +358,9 @@ class GL {
|
|
|
public static function drawArraysInstanced( mode : Int, start : Int, count : Int, primcount : Int ) {
|
|
|
}
|
|
|
|
|
|
+ public static function multiDrawElementsIndirect( mode : Int, type : Int, data : hl.Bytes, count : Int, stride : Int ) {
|
|
|
+ }
|
|
|
+
|
|
|
// queries
|
|
|
|
|
|
public static function createQuery() : Query {
|
|
@@ -824,6 +835,7 @@ class GL {
|
|
|
public static inline var RENDERBUFFER = 0x8D41;
|
|
|
public static inline var READ_FRAMEBUFFER = 0x8CA8;
|
|
|
public static inline var DRAW_FRAMEBUFFER = 0x8CA9;
|
|
|
+ public static inline var DRAW_INDIRECT_BUFFER = 0x8F3F;
|
|
|
|
|
|
public static inline var RGBA4 = 0x8056;
|
|
|
public static inline var RGB5_A1 = 0x8057;
|