Home
last modified time | relevance | path

Searched refs:mStateManager (Results 1 – 25 of 34) sorted by relevance

12

/external/angle/src/libANGLE/renderer/gl/
DTransformFeedbackGL.cpp28 mStateManager(stateManager), in TransformFeedbackGL()
39 mStateManager->deleteTransformFeedback(mTransformFeedbackID); in ~TransformFeedbackGL()
46 mStateManager->onTransformFeedbackStateChange(); in begin()
52 mStateManager->onTransformFeedbackStateChange(); in end()
61 mStateManager->onTransformFeedbackStateChange(); in pause()
69 mStateManager->onTransformFeedbackStateChange(); in resume()
80 mStateManager->bindTransformFeedback(GL_TRANSFORM_FEEDBACK, mTransformFeedbackID); in bindIndexedBuffer()
117 mStateManager->bindTransformFeedback(GL_TRANSFORM_FEEDBACK, mTransformFeedbackID); in syncActiveState()
122 mStateManager->useProgram(mActiveProgram); in syncActiveState()
130 GLuint previousProgram = mStateManager->getProgramID(); in syncActiveState()
[all …]
DBufferGL.cpp45 mStateManager(stateManager), in BufferGL()
49 ASSERT(mStateManager); in BufferGL()
56 mStateManager->deleteBuffer(mBufferID); in ~BufferGL()
66 mStateManager->bindBuffer(DestBufferOperationTarget, mBufferID); in setData()
90 mStateManager->bindBuffer(DestBufferOperationTarget, mBufferID); in setSubData()
109 mStateManager->bindBuffer(DestBufferOperationTarget, mBufferID); in copySubData()
110 mStateManager->bindBuffer(SourceBufferOperationTarget, sourceGL->getBufferID()); in copySubData()
133 mStateManager->bindBuffer(DestBufferOperationTarget, mBufferID); in map()
139 mStateManager->bindBuffer(DestBufferOperationTarget, mBufferID); in map()
163 mStateManager->bindBuffer(DestBufferOperationTarget, mBufferID); in mapRange()
[all …]
DBlitGL.cpp222 mStateManager(stateManager), in BlitGL()
233 ASSERT(mStateManager); in BlitGL()
240 mStateManager->deleteProgram(blitProgram.second.program); in ~BlitGL()
248 mStateManager->deleteTexture(mScratchTextures[i]); in ~BlitGL()
255 mStateManager->deleteFramebuffer(mScratchFBO); in ~BlitGL()
261 mStateManager->deleteVertexArray(mVAO); in ~BlitGL()
276 mStateManager->bindTexture(textureType, texture); in copyImageToLUMAWorkaroundTexture()
283 mStateManager->setPixelUnpackState(unpack); in copyImageToLUMAWorkaroundTexture()
284 mStateManager->setPixelUnpackBuffer( in copyImageToLUMAWorkaroundTexture()
312 mStateManager->bindFramebuffer(GL_FRAMEBUFFER, sourceFramebufferGL->getFramebufferID()); in copySubImageToLUMAWorkaroundTexture()
[all …]
DProgramGL.cpp40 mStateManager(stateManager), in ProgramGL()
47 ASSERT(mStateManager); in ProgramGL()
453 mStateManager->forceUseProgram(mProgramID); in link()
493 mStateManager->useProgram(mProgramID); in setUniform1fv()
506 mStateManager->useProgram(mProgramID); in setUniform2fv()
519 mStateManager->useProgram(mProgramID); in setUniform3fv()
532 mStateManager->useProgram(mProgramID); in setUniform4fv()
545 mStateManager->useProgram(mProgramID); in setUniform1iv()
558 mStateManager->useProgram(mProgramID); in setUniform2iv()
571 mStateManager->useProgram(mProgramID); in setUniform3iv()
[all …]
DVertexArrayGL.cpp94 mStateManager(stateManager), in VertexArrayGL()
105 ASSERT(mStateManager); in VertexArrayGL()
120 mStateManager->deleteVertexArray(mVertexArrayID); in destroy()
124 mStateManager->deleteBuffer(mStreamingElementArrayBuffer); in destroy()
128 mStateManager->deleteBuffer(mStreamingArrayBuffer); in destroy()
155 mStateManager->bindBuffer(gl::BufferBinding::ElementArray, bufferGL->getBufferID()); in updateElementArrayBufferBinding()
246 mStateManager->bindVertexArray(mVertexArrayID, getAppliedElementArrayBufferID()); in syncIndexData()
248 mStateManager->bindBuffer(gl::BufferBinding::ElementArray, mStreamingElementArrayBuffer); in syncIndexData()
335 mStateManager->bindBuffer(gl::BufferBinding::Array, mStreamingArrayBuffer); in streamAttributes()
342 mStateManager->bindVertexArray(mVertexArrayID, getAppliedElementArrayBufferID()); in streamAttributes()
[all …]
DRendererGL.cpp127 mStateManager(nullptr), in RendererGL()
142 mStateManager = in RendererGL()
144 mBlitter = new BlitGL(mFunctions.get(), mFeatures, mStateManager); in RendererGL()
145 mMultiviewClearer = new ClearMultiviewGL(mFunctions.get(), mStateManager); in RendererGL()
191 SafeDelete(mStateManager); in ~RendererGL()
DQueryGL.cpp62 mStateManager(stateManager), in StandardQueryGL()
72 mStateManager->endQuery(mType, this, mActiveQuery); in ~StandardQueryGL()
155 mStateManager->endQuery(mType, this, mActiveQuery); in pause()
172 mStateManager->beginQuery(mType, this, mActiveQuery); in resume()
DRendererGL.h108 StateManagerGL *getStateManager() const { return mStateManager; } in getStateManager()
154 StateManagerGL *mStateManager; variable
DSamplerGL.cpp73 mStateManager(stateManager), in SamplerGL()
82 mStateManager->deleteSampler(mSamplerID); in ~SamplerGL()
DSamplerGL.h35 StateManagerGL *mStateManager; variable
DClearMultiviewGL.cpp21 : mFunctions(functions), mStateManager(stateManager), mFramebuffer(0u) in ClearMultiviewGL()
60 mStateManager->bindFramebuffer(GL_DRAW_FRAMEBUFFER, mFramebuffer); in clearLayeredFBO()
DTransformFeedbackGL.h46 StateManagerGL *mStateManager; variable
DClearMultiviewGL.h80 StateManagerGL *mStateManager; variable
DBufferGL.h72 StateManagerGL *mStateManager; variable
/external/angle/src/libANGLE/renderer/gl/eagl/
DPbufferSurfaceEAGL.cpp33 mStateManager(renderer->getStateManager()), in PbufferSurfaceEAGL()
55 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mColorRenderbuffer); in initialize()
59 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mDSRenderbuffer); in initialize()
DWindowSurfaceEAGL.mm125 mStateManager(renderer->getStateManager()),
165 mStateManager->bindTexture(gl::TextureType::_2D, mSwapState.textures[i].texture);
183 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mDSRenderbuffer);
DPbufferSurfaceEAGL.h63 StateManagerGL *mStateManager; variable
/external/angle/src/libANGLE/renderer/gl/cgl/
DPbufferSurfaceCGL.cpp31 mStateManager(renderer->getStateManager()), in PbufferSurfaceCGL()
53 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mColorRenderbuffer); in initialize()
57 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mDSRenderbuffer); in initialize()
DPbufferSurfaceCGL.h63 StateManagerGL *mStateManager; variable
DWindowSurfaceCGL.mm159 mStateManager(renderer->getStateManager()),
200 mStateManager->bindTexture(gl::TextureType::_2D, mSwapState.textures[i].texture);
218 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mDSRenderbuffer);
DWindowSurfaceCGL.h97 StateManagerGL *mStateManager; variable
/external/angle/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp36 mStateManager(stateManager), in DXGISwapChainWindowSurfaceWGL()
69 mStateManager->deleteRenderbuffer(mColorRenderbufferID); in ~DXGISwapChainWindowSurfaceWGL()
75 mStateManager->deleteRenderbuffer(mDepthRenderbufferID); in ~DXGISwapChainWindowSurfaceWGL()
107 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mColorRenderbufferID); in initialize()
110 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mDepthRenderbufferID); in initialize()
500 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mColorRenderbufferID); in createSwapChain()
532 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mDepthRenderbufferID); in createSwapChain()
DD3DTextureSurfaceWGL.cpp246 mStateManager(stateManager), in D3DTextureSurfaceWGL()
276 mStateManager->deleteRenderbuffer(mColorRenderbufferID); in ~D3DTextureSurfaceWGL()
277 mStateManager->deleteRenderbuffer(mDepthStencilRenderbufferID); in ~D3DTextureSurfaceWGL()
329 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mColorRenderbufferID); in initialize()
342 mStateManager->bindRenderbuffer(GL_RENDERBUFFER, mDepthStencilRenderbufferID); in initialize()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp99 Renderer9::Renderer9(egl::Display *display) : RendererD3D(display), mStateManager(this) in Renderer9()
406 mStateManager.initialize(); in initializeDevice()
1112 mStateManager.resetDirtyBits(); in updateState()
1119 mStateManager.setScissorState(scissor, enabled); in setScissorRectangle()
1147 mStateManager.setBlendDepthRasterStates(glState, mask); in setBlendDepthRasterStates()
1158 mStateManager.setViewportState(viewport, zNear, zFar, drawMode, frontFace, ignoreViewport); in setViewport()
1313 mStateManager.updateDepthSizeIfChanged(mDepthStencilInitialized, depthSize); in applyRenderTarget()
1314 mStateManager.updateStencilSizeIfChanged(mDepthStencilInitialized, stencilSize); in applyRenderTarget()
1322 mStateManager.forceSetBlendState(); in applyRenderTarget()
1323 mStateManager.forceSetScissorState(); in applyRenderTarget()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp407 mStateManager(this), in Renderer11()
1570 ProgramD3D *programD3D = mStateManager.getProgramD3D(); in drawWithGeometryShaderAndTransformFeedback()
1576 mStateManager.setPixelShader(nullptr); in drawWithGeometryShaderAndTransformFeedback()
1596 mStateManager.setPixelShader(&GetAs<ShaderExecutable11>(pixelExe)->getPixelShader()); in drawWithGeometryShaderAndTransformFeedback()
1603 mStateManager.setGeometryShader(&GetAs<ShaderExecutable11>(geometryExe)->getGeometryShader()); in drawWithGeometryShaderAndTransformFeedback()
1624 if (mStateManager.getCullEverything()) in drawArrays()
1629 ProgramD3D *programD3D = mStateManager.getProgramD3D(); in drawArrays()
1678 ANGLE_TRY(mStateManager.updateVertexOffsetsForPointSpritesEmulation( in drawArrays()
1685 mStateManager.invalidateVertexBuffer(); in drawArrays()
1715 if (mStateManager.getCullEverything()) in drawElements()
[all …]

12