Home
last modified time | relevance | path

Searched refs:glGetIntegerv (Results 1 – 25 of 91) sorted by relevance

1234

/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DSaveableTexture.cpp356 gl.glGetIntegerv(GL_VIEWPORT, prevViewport); in setupFbo()
358 gl.glGetIntegerv(fbBindingTarget, (GLint*)&prevFbo); in setupFbo()
609 assert(dispatcher.glGetIntegerv); in onSave()
615 dispatcher.glGetIntegerv(pixelStoreIndexes[i], &pixelStorePrev[i]); in onSave()
623 dispatcher.glGetIntegerv(GL_TEXTURE_BINDING_2D, &prevTex); in onSave()
626 dispatcher.glGetIntegerv(GL_TEXTURE_BINDING_CUBE_MAP, &prevTex); in onSave()
629 dispatcher.glGetIntegerv(GL_TEXTURE_BINDING_3D, &prevTex); in onSave()
632 dispatcher.glGetIntegerv(GL_TEXTURE_BINDING_2D_ARRAY, &prevTex); in onSave()
861 assert(dispatcher.glGetIntegerv); in restore()
877 dispatcher.glGetIntegerv(pixelStoreIndexes[i], &pixelStorePrev[i]); in restore()
[all …]
DFramebufferData.cpp364 gl.glGetIntegerv(GL_RENDERBUFFER_BINDING, (GLint*)&prevRboBinding); in separateDepthStencilWorkaround()
365 gl.glGetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, (GLint*)&prevFboBinding); in separateDepthStencilWorkaround()
491 gl.glGetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, (GLint*)&prevFboBinding); in refreshSeparateDepthStencilAttachmentState()
555 ctx->dispatcher().glGetIntegerv(GL_RENDERBUFFER_BINDING, &prev); in validate()
564 ctx->dispatcher().glGetIntegerv(GL_TEXTURE_BINDING_2D, &prev); in validate()
575 ctx->dispatcher().glGetIntegerv(GL_TEXTURE_BINDING_2D, &prev); in validate()
DGLEScontext.cpp251 dispatch->glGetIntegerv(GL_NUM_EXTENSIONS, &num_exts); in getHostExtensionsString()
1487 dispatcher().glGetIntegerv(GL_VIEWPORT, params); in getViewport()
1799 s_glDispatch.glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &glSupport.maxVertexAttribs); 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()
1815 s_glDispatch.glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, &glSupport.maxTexImageUnits); in initCapsLocked()
1816 s_glDispatch.glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, in initCapsLocked()
1818 s_glDispatch.glGetIntegerv(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS, in initCapsLocked()
[all …]
DScopedGLState.cpp42 gl.glGetIntegerv(name, v.intData); in push()
DGLESbuffer.cpp88 dispatcher.glGetIntegerv(GL_ARRAY_BUFFER_BINDING, &prevBuffer); in onSave()
/hardware/google/gfxstream/host/tests/
DGLSnapshotTextures_unittest.cpp199 gl->glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, in useTextureUnit()
227 gl->glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, in defaultStateCheck()
238 gl->glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, in changedStateCheck()
253 gl->glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, in stateChange()
269 gl->glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, in createAndBindTexture()
DGLSnapshotTestStateUtils.cpp32 gl->glGetIntegerv(GL_ARRAY_BUFFER_BINDING, (GLint*)&currentArrayBuffer); in createBuffer()
87 gl->glGetIntegerv(GL_FRAMEBUFFER_BINDING, &oldFramebuffer); in getTextureImageData()
DGLSnapshotPixelOperations_unittest.cpp116 gl->glGetIntegerv(GL_SCISSOR_BOX, &defaultBox[0]); in TEST_P()
158 gl->glGetIntegerv(GL_STENCIL_VALUE_MASK, &defaultStencilMask); in TEST_P()
171 gl->glGetIntegerv(GL_STENCIL_VALUE_MASK, &defaultStencilMask); in TEST_P()
348 gl->glGetIntegerv(GL_MAX_DRAW_BUFFERS, &m_maxDrawBuffers); in TEST_P()
396 gl->glGetIntegerv(GL_MAX_DRAW_BUFFERS, &m_maxDrawBuffers); in TEST_P()
DGLSnapshotVertexAttributes_unittest.cpp76 gl->glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxAttribs); in selectIndex()
246 gl->glGetIntegerv(GL_ARRAY_BUFFER_BINDING, &bindresult); in stateChange()
261 gl->glGetIntegerv(GL_ARRAY_BUFFER_BINDING, &bindresult); in stateChange()
DGLSnapshotTransformation_unittest.cpp35 gl->glGetIntegerv(GL_VIEWPORT, viewport); in defaultStateCheck()
DGLSnapshotFramebufferControl_unittest.cpp64 gl->glGetIntegerv(GL_STENCIL_WRITEMASK, &defaultWriteMask); in TEST_F()
DTextureDraw_unittest.cpp28 gl->glGetIntegerv(GL_VIEWPORT, viewport); in TestTextureDrawBasic()
93 gl->glGetIntegerv(GL_VIEWPORT, viewport); in TestTextureDrawLayer()
DGLSnapshotBuffers_unittest.cpp101 gl->glGetIntegerv(GL_ARRAY_BUFFER_BINDING, (GLint*)&currentArrayBuffer); in checkBufferData()
DGLSnapshotFramebuffers_unittest.cpp51 gl->glGetIntegerv(GL_FRAMEBUFFER_BINDING, &currentBind); in changedStateCheck()
DGLSnapshotTesting.cpp84 gl->glGetIntegerv(name, &current); in compareGlobalGlInt()
212 gl->glGetIntegerv(name, &current[0]); in compareGlobalGlIntv()
/hardware/google/gfxstream/host/gl/
DYUVConverter.cpp460 s_gles2.glGetIntegerv(GL_UNPACK_ALIGNMENT, &unprevAlignment); in createYUVGLTex()
475 s_gles2.glGetIntegerv(GL_TEXTURE_BINDING_2D, (GLint*)&prevTexture); in readYUVTex()
478 s_gles2.glGetIntegerv(GL_PACK_ALIGNMENT, &prevAlignment); in readYUVTex()
481 s_gles2.glGetIntegerv(GL_PACK_ROW_LENGTH, &prevStride); in readYUVTex()
519 s_gles2.glGetIntegerv(GL_UNPACK_ALIGNMENT, &unprevAlignment); in subUpdateYUVGLTex()
911 s_gles2.glGetIntegerv(GL_ACTIVE_TEXTURE, &mCurrTexUnit); in saveGLState()
912 s_gles2.glGetIntegerv(GL_TEXTURE_BINDING_2D, &mCurrTexBind); in saveGLState()
913 s_gles2.glGetIntegerv(GL_CURRENT_PROGRAM, &mCurrProgram); in saveGLState()
914 s_gles2.glGetIntegerv(GL_ARRAY_BUFFER_BINDING, &mCurrVbo); in saveGLState()
915 s_gles2.glGetIntegerv(GL_ELEMENT_ARRAY_BUFFER_BINDING, &mCurrIbo); in saveGLState()
DColorBufferGl.cpp256 s_gles2.glGetIntegerv(GL_UNPACK_ALIGNMENT, &prevUnpackAlignment); in create()
406 s_gles2.glGetIntegerv(GL_PACK_ALIGNMENT, &prevAlignment); in readPixels()
447 s_gles2.glGetIntegerv(GL_PACK_ALIGNMENT, &prevAlignment); in readPixelsScaled()
681 s_gles2.glGetIntegerv(GL_TEXTURE_BINDING_2D, &currTexBind); in blitFromCurrentReadBuffer()
694 s_gles2.glGetIntegerv(GL_READ_FRAMEBUFFER_BINDING, &prev_read_fbo); in blitFromCurrentReadBuffer()
709 s_gles2.glGetIntegerv(GL_FRAMEBUFFER_BINDING, &prev_read_fbo); in blitFromCurrentReadBuffer()
717 s_gles2.glGetIntegerv(GL_SAMPLE_BUFFERS, &samples); in blitFromCurrentReadBuffer()
724 s_gles2.glGetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &prev_draw_fbo); in blitFromCurrentReadBuffer()
775 s_gles2.glGetIntegerv(GL_FRAMEBUFFER_BINDING, &prev_fbo); in blitFromCurrentReadBuffer()
780 s_gles1.glGetIntegerv(GL_TEXTURE_BINDING_2D, &currTexBind); in blitFromCurrentReadBuffer()
[all …]
DCompositorGl.cpp61 s_gles2.glGetIntegerv(GL_VIEWPORT, restoredViewport); in compose()
DTextureResize.cpp297 s_gles2.glGetIntegerv(GL_VIEWPORT, vport); in update()
299 s_gles2.glGetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &prevFbo); in update()
558 s_gles2.glGetIntegerv(GL_VIEWPORT, vport); in draw()
/hardware/google/gfxstream/host/gl/glsnapshot/
DGLSnapshot.cpp32 mGL->glGetIntegerv(name, (GLint*)&store[0]); in getGlobalStateEnum()
46 mGL->glGetIntegerv(name, (GLint*)&store[0]); in getGlobalStateInt()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv2Imp.cpp1169 gl.glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &res.MaxVertexAttribs); in glCreateShader()
1170 gl.glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, in glCreateShader()
1172 gl.glGetIntegerv(GL_MAX_VARYING_VECTORS, in glCreateShader()
1174 gl.glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, in glCreateShader()
1176 gl.glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, in glCreateShader()
1178 gl.glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, in glCreateShader()
1180 gl.glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, in glCreateShader()
1182 gl.glGetIntegerv(GL_MAX_DRAW_BUFFERS, &res.MaxDrawBuffers); in glCreateShader()
1187 gl.glGetIntegerv(GL_MAX_VERTEX_OUTPUT_COMPONENTS, &tmp); in glCreateShader()
1189 gl.glGetIntegerv(GL_MAX_FRAGMENT_INPUT_COMPONENTS, &tmp); in glCreateShader()
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmContext.cpp742 dispatcher().glGetIntegerv(GL_MAX_PALETTE_MATRICES_OES,&max_palette_matrices); in initExtensionString()
743 dispatcher().glGetIntegerv(GL_MAX_VERTEX_UNITS_OES,&max_vertex_units); in initExtensionString()
760 if(glGetIntegerv(pname, &iParam)) in glGetBooleanv()
773 if(glGetIntegerv(pname, &iParam)) in glGetFixedv()
786 if(glGetIntegerv(pname, &iParam)) in glGetFloatv()
795 bool GLEScmContext::glGetIntegerv(GLenum pname, GLint *params) in glGetIntegerv() function in GLEScmContext
797 if(GLEScontext::glGetIntegerv(pname, params)) in glGetIntegerv()
1680 gl.glGetIntegerv(GL_VIEWPORT,viewport); in drawTexOES()
1692 gl.glGetIntegerv(GL_ARRAY_BUFFER_BINDING,&array_buffer); in drawTexOES()
1693 gl.glGetIntegerv(GL_ELEMENT_ARRAY_BUFFER_BINDING,&element_array_buffer); in drawTexOES()
[all …]
/hardware/google/gfxstream/guest/GLESv1/
Dgl.cpp139 glGetIntegerv((GLenum)pname, (GLint*)param); in getIntegerv()
/hardware/google/gfxstream/guest/GLESv2_enc/
DGL2Encoder.cpp146 OVERRIDE(glGetIntegerv); in GL2Encoder()
1696 this->glGetIntegerv(this, GL_NUM_COMPRESSED_TEXTURE_FORMATS, in getCompressedTextureFormats()
2453 ctx->glGetIntegerv(ctx, GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, &maxCombinedUnits); in s_glActiveTexture()
2819 ctx->glGetIntegerv(ctx, GL_MAX_TEXTURE_SIZE, &max_texture_size); in s_glTexImage2D()
2820 ctx->glGetIntegerv(ctx, GL_MAX_CUBE_MAP_TEXTURE_SIZE, &max_cube_map_texture_size); in s_glTexImage2D()
2900 ctx->glGetIntegerv(ctx, GL_MAX_TEXTURE_SIZE, &max_texture_size); in s_glTexSubImage2D()
2901 ctx->glGetIntegerv(ctx, GL_MAX_CUBE_MAP_TEXTURE_SIZE, &max_cube_map_texture_size); in s_glTexSubImage2D()
2965 ctx->glGetIntegerv(ctx, GL_MAX_TEXTURE_SIZE, &max_texture_size); in s_glCopyTexImage2D()
2966 ctx->glGetIntegerv(ctx, GL_MAX_CUBE_MAP_TEXTURE_SIZE, &max_cube_map_texture_size); in s_glCopyTexImage2D()
3155 ctx->glGetIntegerv(ctx, GL_MAX_RENDERBUFFER_SIZE, &max_rb_size); in s_glRenderbufferStorage()
[all …]
/hardware/google/gfxstream/guest/GLESv2/
Dgl2.cpp145 glGetIntegerv((GLenum)pname, (GLint*)param); in getIntegerv()

1234