Home
last modified time | relevance | path

Searched refs:s_glSupport (Results 1 – 4 of 4) sorted by relevance

/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Context.cpp25 for(int i=0; i < s_glSupport.maxVertexAttribs;i++){ in init()
148 if (s_glSupport.GL_ARB_HALF_FLOAT_PIXEL || s_glSupport.GL_NV_HALF_FLOAT) in initExtensionString()
150 if (s_glSupport.GL_EXT_PACKED_DEPTH_STENCIL) in initExtensionString()
152 if (s_glSupport.GL_ARB_HALF_FLOAT_VERTEX) in initExtensionString()
154 if (s_glSupport.GL_OES_STANDARD_DERIVATIVES) in initExtensionString()
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DGLEScontext.cpp93 GLSupport GLEScontext::s_glSupport; member in GLEScontext
511 s_glDispatch.glGetIntegerv(GL_MAX_VERTEX_ATTRIBS,&s_glSupport.maxVertexAttribs); in initCapsLocked()
512 s_glDispatch.glGetIntegerv(GL_MAX_CLIP_PLANES,&s_glSupport.maxClipPlane); in initCapsLocked()
513 s_glDispatch.glGetIntegerv(GL_MAX_LIGHTS,&s_glSupport.maxLights); in initCapsLocked()
514 s_glDispatch.glGetIntegerv(GL_MAX_TEXTURE_SIZE,&s_glSupport.maxTexSize); in initCapsLocked()
515 s_glDispatch.glGetIntegerv(GL_MAX_TEXTURE_UNITS,&s_glSupport.maxTexUnits); in initCapsLocked()
516 s_glDispatch.glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS,&s_glSupport.maxTexImageUnits); in initCapsLocked()
518 s_glSupport.glslVersion = Version((const char*)(glslVersion)); in initCapsLocked()
521 s_glSupport.GL_EXT_TEXTURE_FORMAT_BGRA8888 = true; in initCapsLocked()
524 s_glSupport.GL_EXT_FRAMEBUFFER_OBJECT = true; in initCapsLocked()
[all …]
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
DGLEScontext.h155 virtual GLSupport* getCaps(){return &s_glSupport;}; in getCaps()
167 static int getMaxLights(){return s_glSupport.maxLights;} in getMaxLights()
168 static int getMaxClipPlanes(){return s_glSupport.maxClipPlane;} in getMaxClipPlanes()
169 static int getMaxTexSize(){return s_glSupport.maxTexSize;} in getMaxTexSize()
170 static Version glslVersion(){return s_glSupport.glslVersion;} in glslVersion()
171 static bool isAutoMipmapSupported(){return s_glSupport.GL_SGIS_GENERATE_MIPMAP;} in isAutoMipmapSupported()
197 static GLSupport s_glSupport; variable
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
DGLEScmContext.cpp31 m_texCoords = new GLESpointer[s_glSupport.maxTexUnits]; in init()
123 int maxTexUnits = s_glSupport.maxTexUnits; in setupArraysPointers()
273 if (s_glSupport.GL_OES_READ_FORMAT) in initExtensionString()
275 if (s_glSupport.GL_EXT_FRAMEBUFFER_OBJECT) { in initExtensionString()
279 if (s_glSupport.GL_EXT_PACKED_DEPTH_STENCIL) in initExtensionString()
281 if (s_glSupport.GL_EXT_TEXTURE_FORMAT_BGRA8888) in initExtensionString()
283 if (s_glSupport.GL_ARB_MATRIX_PALETTE && s_glSupport.GL_ARB_VERTEX_BLEND) { in initExtensionString()