mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 613324 - update WebGL constants - r=vladimir
This commit is contained in:
parent
2dea3f8a5c
commit
9ea1fb4a47
@ -62,10 +62,6 @@
|
||||
|
||||
#include "CheckedInt.h"
|
||||
|
||||
#define UNPACK_FLIP_Y_WEBGL 0x9240
|
||||
#define UNPACK_PREMULTIPLY_ALPHA_WEBGL 0x9241
|
||||
#define CONTEXT_LOST_WEBGL 0x9242
|
||||
|
||||
class nsIDocShell;
|
||||
class nsIPropertyBag;
|
||||
|
||||
|
@ -1481,8 +1481,7 @@ WebGLContext::GetParameter(PRUint32 pname, nsIVariant **retval)
|
||||
case LOCAL_GL_ALPHA_BITS:
|
||||
case LOCAL_GL_DEPTH_BITS:
|
||||
case LOCAL_GL_STENCIL_BITS:
|
||||
case LOCAL_GL_IMPLEMENTATION_COLOR_READ_TYPE:
|
||||
case LOCAL_GL_IMPLEMENTATION_COLOR_READ_FORMAT:
|
||||
case UNPACK_COLORSPACE_CONVERSION_WEBGL:
|
||||
{
|
||||
GLint i = 0;
|
||||
gl->fGetIntegerv(pname, &i);
|
||||
|
@ -324,7 +324,6 @@ interface nsIDOMWebGLRenderingContext : nsISupports
|
||||
const unsigned long INT = 0x1404;
|
||||
const unsigned long UNSIGNED_INT = 0x1405;
|
||||
const unsigned long FLOAT = 0x1406;
|
||||
const unsigned long FIXED = 0x140C;
|
||||
|
||||
/* PixelFormat */
|
||||
const unsigned long DEPTH_COMPONENT = 0x1902;
|
||||
@ -486,10 +485,6 @@ interface nsIDOMWebGLRenderingContext : nsISupports
|
||||
const unsigned long VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
|
||||
const unsigned long VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
|
||||
|
||||
/* Read Format */
|
||||
const unsigned long IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A;
|
||||
const unsigned long IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B;
|
||||
|
||||
/* Shader Source */
|
||||
const unsigned long COMPILE_STATUS = 0x8B81;
|
||||
const unsigned long INFO_LOG_LENGTH = 0x8B84;
|
||||
@ -553,6 +548,8 @@ interface nsIDOMWebGLRenderingContext : nsISupports
|
||||
const unsigned long UNPACK_FLIP_Y_WEBGL = 0x9240;
|
||||
const unsigned long UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
|
||||
const unsigned long CONTEXT_LOST_WEBGL = 0x9242;
|
||||
const unsigned long UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
|
||||
const unsigned long BROWSER_DEFAULT_WEBGL = 0x9244;
|
||||
|
||||
//
|
||||
// ATTRIBUTES
|
||||
|
Loading…
Reference in New Issue
Block a user