Home
last modified time | relevance | path

Searched refs:glSupport (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv2Context.cpp764 void InitExtensionString(GLSupport& glSupport, std::string& ext) { in InitExtensionString() argument
771 if (glSupport.GL_ARB_HALF_FLOAT_PIXEL || glSupport.GL_NV_HALF_FLOAT) in InitExtensionString()
773 if (glSupport.GL_EXT_PACKED_DEPTH_STENCIL) ext += "GL_OES_packed_depth_stencil "; in InitExtensionString()
774 if (glSupport.GL_ARB_HALF_FLOAT_VERTEX) ext += "GL_OES_vertex_half_float "; in InitExtensionString()
775 if (glSupport.GL_OES_STANDARD_DERIVATIVES) ext += "GL_OES_standard_derivatives "; in InitExtensionString()
776 if (glSupport.GL_OES_TEXTURE_NPOT) ext += "GL_OES_texture_npot "; in InitExtensionString()
777 if (glSupport.GL_OES_RGB8_RGBA8) ext += "GL_OES_rgb8_rgba8 "; in InitExtensionString()
778 if (glSupport.ext_GL_OVR_multiview2) ext += "GL_OVR_multiview2 "; in InitExtensionString()
779 …if (glSupport.ext_GL_EXT_multiview_texture_multisample) ext += "GL_EXT_multiview_texture_multisamp… in InitExtensionString()
780 if (glSupport.ext_GL_EXT_color_buffer_float) ext += "GL_EXT_color_buffer_float "; in InitExtensionString()
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DGLEScontext.cpp1795 …cked(const GLubyte * extensionString, bool nativeTextureDecompressionEnabled, GLSupport& glSupport) in initCapsLocked() argument
1799 s_glDispatch.glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &glSupport.maxVertexAttribs); in initCapsLocked()
1801 if (glSupport.maxVertexAttribs > kMaxVertexAttributes) { in initCapsLocked()
1802 glSupport.maxVertexAttribs = kMaxVertexAttributes; in initCapsLocked()
1805 s_glDispatch.glGetIntegerv(GL_MAX_CLIP_PLANES, &glSupport.maxClipPlane); in initCapsLocked()
1806 s_glDispatch.glGetIntegerv(GL_MAX_LIGHTS, &glSupport.maxLights); in initCapsLocked()
1807 s_glDispatch.glGetIntegerv(GL_MAX_TEXTURE_SIZE, &glSupport.maxTexSize); in initCapsLocked()
1808 s_glDispatch.glGetIntegerv(GL_MAX_TEXTURE_UNITS, &glSupport.maxTexUnits); in initCapsLocked()
1812 if ((::isCoreProfile() || isGles2Gles()) && !glSupport.maxTexUnits) { in initCapsLocked()
1813 glSupport.maxTexUnits = 8; in initCapsLocked()
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DGLEScontext.h534 …ked(const GLubyte * extensionString, bool nativeTextureDecompressionEnabled, GLSupport& glSupport);