Lines Matching refs:apiState
2292 const gl::State &apiState, in CaptureDefaultVertexAttribs() argument
2296 apiState.getVertexAttribCurrentValues(); in CaptureDefaultVertexAttribs()
2324 const gl::State &apiState = context->getState(); in CaptureSharedContextMidExecutionSetup() local
2326 apiState.getClientVersion(), false, true, true, true, false, in CaptureSharedContextMidExecutionSetup()
2327 EGL_CONTEXT_PRIORITY_MEDIUM_IMG, apiState.hasProtectedContent()); in CaptureSharedContextMidExecutionSetup()
2336 const gl::BufferManager &buffers = apiState.getBufferManagerForCapture(); in CaptureSharedContextMidExecutionSetup()
2422 const gl::TextureManager &textures = apiState.getTextureManagerForCapture(); in CaptureSharedContextMidExecutionSetup()
2594 const gl::PixelUnpackState &unpack = apiState.getUnpackState(); in CaptureSharedContextMidExecutionSetup()
2624 const gl::RenderbufferManager &renderbuffers = apiState.getRenderbufferManagerForCapture(); in CaptureSharedContextMidExecutionSetup()
2656 apiState.getShaderProgramManagerForCapture(); in CaptureSharedContextMidExecutionSetup()
2805 const gl::SamplerManager &samplers = apiState.getSamplerManagerForCapture(); in CaptureSharedContextMidExecutionSetup()
2870 const gl::SyncManager &syncs = apiState.getSyncManagerForCapture(); in CaptureSharedContextMidExecutionSetup()
2893 const gl::State &apiState = context->getState(); in CaptureMidExecutionSetup() local
2896 EGL_CONTEXT_PRIORITY_MEDIUM_IMG, apiState.hasProtectedContent()); in CaptureMidExecutionSetup()
2911 CaptureDefaultVertexAttribs(replayState, apiState, setupCalls); in CaptureMidExecutionSetup()
2941 const gl::VertexArray *currentVertexArray = apiState.getVertexArray(); in CaptureMidExecutionSetup()
2949 apiState.getOffsetBindingPointerUniformBuffers(); in CaptureMidExecutionSetup()
2951 apiState.getOffsetBindingPointerAtomicCounterBuffers(); in CaptureMidExecutionSetup()
2953 apiState.getOffsetBindingPointerShaderStorageBuffers(); in CaptureMidExecutionSetup()
2962 const gl::BoundBufferMap &boundBuffers = apiState.getBoundBuffersForCapture(); in CaptureMidExecutionSetup()
2994 const gl::TextureBindingMap &boundTextures = apiState.getBoundTexturesForCapture(); in CaptureMidExecutionSetup()
3025 size_t stateActiveTexture = apiState.getActiveSampler(); in CaptureMidExecutionSetup()
3033 const gl::RenderbufferManager &renderbuffers = apiState.getRenderbufferManagerForCapture(); in CaptureMidExecutionSetup()
3040 if (currentRenderbuffer != apiState.getRenderbufferId()) in CaptureMidExecutionSetup()
3043 apiState.getRenderbufferId())); in CaptureMidExecutionSetup()
3047 const gl::FramebufferManager &framebuffers = apiState.getFramebufferManagerForCapture(); in CaptureMidExecutionSetup()
3101 gl::FramebufferID stateReadFramebuffer = apiState.getReadFramebuffer()->id(); in CaptureMidExecutionSetup()
3102 gl::FramebufferID stateDrawFramebuffer = apiState.getDrawFramebuffer()->id(); in CaptureMidExecutionSetup()
3131 apiState.getProgramPipelineManagerForCapture(); in CaptureMidExecutionSetup()
3165 if (apiState.getProgram() && !context->isGLES1()) in CaptureMidExecutionSetup()
3167 cap(CaptureUseProgram(replayState, true, apiState.getProgram()->id())); in CaptureMidExecutionSetup()
3170 else if (apiState.getProgramPipeline()) in CaptureMidExecutionSetup()
3182 cap(CaptureBindProgramPipeline(replayState, true, apiState.getProgramPipeline()->id())); in CaptureMidExecutionSetup()
3208 if (!IsQueryActive(apiState, queryID)) in CaptureMidExecutionSetup()
3258 gl::TransformFeedback *currentXFB = apiState.getCurrentTransformFeedback(); in CaptureMidExecutionSetup()
3266 const gl::SamplerBindingVector &samplerBindings = apiState.getSamplers(); in CaptureMidExecutionSetup()
3278 const std::vector<gl::ImageUnit> &imageUnits = apiState.getImageUnits(); in CaptureMidExecutionSetup()
3310 const bool currentTextureState = apiState.getEnableFeature(GL_TEXTURE_2D); in CaptureMidExecutionSetup()
3320 const gl::RasterizerState ¤tRasterState = apiState.getRasterizerState(); in CaptureMidExecutionSetup()
3362 const gl::DepthStencilState ¤tDSState = apiState.getDepthStencilState(); in CaptureMidExecutionSetup()
3389 apiState.getStencilRef() != 0) in CaptureMidExecutionSetup()
3392 apiState.getStencilRef(), currentDSState.stencilMask)); in CaptureMidExecutionSetup()
3400 apiState.getStencilRef() != 0) in CaptureMidExecutionSetup()
3403 apiState.getStencilRef(), currentDSState.stencilMask)); in CaptureMidExecutionSetup()
3408 apiState.getStencilBackRef() != 0) in CaptureMidExecutionSetup()
3412 apiState.getStencilBackRef(), currentDSState.stencilBackMask)); in CaptureMidExecutionSetup()
3478 const gl::BlendState ¤tBlendState = apiState.getBlendState(); in CaptureMidExecutionSetup()
3525 const gl::ColorF ¤tBlendColor = apiState.getBlendColor(); in CaptureMidExecutionSetup()
3534 if (currentPackState.alignment != apiState.getPackAlignment()) in CaptureMidExecutionSetup()
3536 cap(CapturePixelStorei(replayState, true, GL_PACK_ALIGNMENT, apiState.getPackAlignment())); in CaptureMidExecutionSetup()
3537 currentPackState.alignment = apiState.getPackAlignment(); in CaptureMidExecutionSetup()
3540 if (currentPackState.rowLength != apiState.getPackRowLength()) in CaptureMidExecutionSetup()
3542 cap(CapturePixelStorei(replayState, true, GL_PACK_ROW_LENGTH, apiState.getPackRowLength())); in CaptureMidExecutionSetup()
3543 currentPackState.rowLength = apiState.getPackRowLength(); in CaptureMidExecutionSetup()
3546 if (currentPackState.skipRows != apiState.getPackSkipRows()) in CaptureMidExecutionSetup()
3548 cap(CapturePixelStorei(replayState, true, GL_PACK_SKIP_ROWS, apiState.getPackSkipRows())); in CaptureMidExecutionSetup()
3549 currentPackState.skipRows = apiState.getPackSkipRows(); in CaptureMidExecutionSetup()
3552 if (currentPackState.skipPixels != apiState.getPackSkipPixels()) in CaptureMidExecutionSetup()
3555 apiState.getPackSkipPixels())); in CaptureMidExecutionSetup()
3556 currentPackState.skipPixels = apiState.getPackSkipPixels(); in CaptureMidExecutionSetup()
3561 if (currentUnpackState.rowLength != apiState.getUnpackRowLength()) in CaptureMidExecutionSetup()
3564 apiState.getUnpackRowLength())); in CaptureMidExecutionSetup()
3565 currentUnpackState.rowLength = apiState.getUnpackRowLength(); in CaptureMidExecutionSetup()
3568 if (currentUnpackState.skipRows != apiState.getUnpackSkipRows()) in CaptureMidExecutionSetup()
3571 apiState.getUnpackSkipRows())); in CaptureMidExecutionSetup()
3572 currentUnpackState.skipRows = apiState.getUnpackSkipRows(); in CaptureMidExecutionSetup()
3575 if (currentUnpackState.skipPixels != apiState.getUnpackSkipPixels()) in CaptureMidExecutionSetup()
3578 apiState.getUnpackSkipPixels())); in CaptureMidExecutionSetup()
3579 currentUnpackState.skipPixels = apiState.getUnpackSkipPixels(); in CaptureMidExecutionSetup()
3582 if (currentUnpackState.imageHeight != apiState.getUnpackImageHeight()) in CaptureMidExecutionSetup()
3585 apiState.getUnpackImageHeight())); in CaptureMidExecutionSetup()
3586 currentUnpackState.imageHeight = apiState.getUnpackImageHeight(); in CaptureMidExecutionSetup()
3589 if (currentUnpackState.skipImages != apiState.getUnpackSkipImages()) in CaptureMidExecutionSetup()
3592 apiState.getUnpackSkipImages())); in CaptureMidExecutionSetup()
3593 currentUnpackState.skipImages = apiState.getUnpackSkipImages(); in CaptureMidExecutionSetup()
3598 const gl::ColorF ¤tClearColor = apiState.getColorClearValue(); in CaptureMidExecutionSetup()
3605 if (apiState.getDepthClearValue() != 1.0f) in CaptureMidExecutionSetup()
3607 cap(CaptureClearDepthf(replayState, true, apiState.getDepthClearValue())); in CaptureMidExecutionSetup()
3610 if (apiState.getStencilClearValue() != 0) in CaptureMidExecutionSetup()
3612 cap(CaptureClearStencil(replayState, true, apiState.getStencilClearValue())); in CaptureMidExecutionSetup()
3616 const gl::Rectangle ¤tViewport = apiState.getViewport(); in CaptureMidExecutionSetup()
3623 if (apiState.getNearPlane() != 0.0f || apiState.getFarPlane() != 1.0f) in CaptureMidExecutionSetup()
3625 cap(CaptureDepthRangef(replayState, true, apiState.getNearPlane(), apiState.getFarPlane())); in CaptureMidExecutionSetup()
3628 if (apiState.isScissorTestEnabled()) in CaptureMidExecutionSetup()
3630 capCap(GL_SCISSOR_TEST, apiState.isScissorTestEnabled()); in CaptureMidExecutionSetup()
3633 const gl::Rectangle ¤tScissor = apiState.getScissor(); in CaptureMidExecutionSetup()