/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | BufferGL.cpp | 51 StateManagerGL *stateManager = GetStateManagerGL(context); in destroy() local 52 stateManager->deleteBuffer(mBufferID); in destroy() 64 StateManagerGL *stateManager = GetStateManagerGL(context); in setData() local 67 stateManager->bindBuffer(DestBufferOperationTarget, mBufferID); in setData() 96 StateManagerGL *stateManager = GetStateManagerGL(context); in setSubData() local 99 stateManager->bindBuffer(DestBufferOperationTarget, mBufferID); in setSubData() 121 StateManagerGL *stateManager = GetStateManagerGL(context); in copySubData() local 126 stateManager->bindBuffer(DestBufferOperationTarget, mBufferID); in copySubData() 127 stateManager->bindBuffer(SourceBufferOperationTarget, sourceGL->getBufferID()); in copySubData() 148 StateManagerGL *stateManager = GetStateManagerGL(context); in map() local [all …]
|
D | TextureGL.cpp | 155 StateManagerGL *stateManager = GetStateManagerGL(context); in onDestroy() local 156 stateManager->deleteTexture(mTextureID); in onDestroy() 235 StateManagerGL *stateManager = GetStateManagerGL(context); in setImageHelper() local 241 stateManager->bindTexture(getType(), mTextureID); in setImageHelper() 303 StateManagerGL *stateManager = GetStateManagerGL(context); in reserveTexImageToBeFilled() local 304 ANGLE_TRY(stateManager->setPixelUnpackBuffer(context, nullptr)); in reserveTexImageToBeFilled() 321 StateManagerGL *stateManager = GetStateManagerGL(context); in setSubImage() local 333 stateManager->bindTexture(getType(), mTextureID); in setSubImage() 400 StateManagerGL *stateManager = GetStateManagerGL(context); in setSubImageRowByRowWorkaround() local 407 ANGLE_TRY(stateManager->setPixelUnpackState(context, directUnpack)); in setSubImageRowByRowWorkaround() [all …]
|
D | FramebufferGL.cpp | 429 StateManagerGL *stateManager = GetStateManagerGL(context); in destroy() local 430 stateManager->deleteFramebuffer(mFramebufferID); in destroy() 455 StateManagerGL *stateManager = GetStateManagerGL(context); in invalidate() local 460 stateManager->bindFramebuffer(GL_FRAMEBUFFER, mFramebufferID); in invalidate() 466 stateManager->bindFramebuffer(GL_FRAMEBUFFER, mFramebufferID); in invalidate() 489 StateManagerGL *stateManager = GetStateManagerGL(context); in invalidateSub() local 495 stateManager->bindFramebuffer(GL_FRAMEBUFFER, mFramebufferID); in invalidateSub() 508 StateManagerGL *stateManager = GetStateManagerGL(context); in clear() local 511 stateManager->bindFramebuffer(GL_FRAMEBUFFER, mFramebufferID); in clear() 536 StateManagerGL *stateManager = GetStateManagerGL(context); in clearBufferfv() local [all …]
|
D | RenderbufferGL.cpp | 37 StateManagerGL *stateManager = GetStateManagerGL(context); in onDestroy() local 38 stateManager->deleteRenderbuffer(mRenderbufferID); in onDestroy() 48 StateManagerGL *stateManager = GetStateManagerGL(context); in setStorage() local 51 stateManager->bindRenderbuffer(GL_RENDERBUFFER, mRenderbufferID); in setStorage() 72 StateManagerGL *stateManager = GetStateManagerGL(context); in setStorageMultisample() local 75 stateManager->bindRenderbuffer(GL_RENDERBUFFER, mRenderbufferID); in setStorageMultisample()
|
D | VertexArrayGL.cpp | 129 StateManagerGL *stateManager = GetStateManagerGL(context); in destroy() local 133 stateManager->deleteVertexArray(mVertexArrayID); in destroy() 144 stateManager->deleteBuffer(mStreamingElementArrayBuffer); in destroy() 148 stateManager->deleteBuffer(mStreamingArrayBuffer); in destroy() 176 StateManagerGL *stateManager = GetStateManagerGL(context); in updateElementArrayBufferBinding() local 177 stateManager->bindBuffer(gl::BufferBinding::ElementArray, elementArrayBufferId); in updateElementArrayBufferBinding() 293 StateManagerGL *stateManager = GetStateManagerGL(context); in syncIndexData() local 311 stateManager->bindVertexArray(mVertexArrayID, mNativeState); in syncIndexData() 313 stateManager->bindBuffer(gl::BufferBinding::ElementArray, mStreamingElementArrayBuffer); in syncIndexData() 382 StateManagerGL *stateManager = GetStateManagerGL(context); in streamAttributes() local [all …]
|
D | BlitGL.cpp | 80 StateManagerGL *stateManager = contextGL->getStateManager(); in enter() local 84 stateManager->setScissorTestEnabled(false); in enter() 86 stateManager->setViewport(viewport); in enter() 87 stateManager->setDepthRange(0.0f, 1.0f); in enter() 88 stateManager->setBlendEnabled(false); in enter() 89 stateManager->setColorMask(true, true, true, true); in enter() 90 stateManager->setSampleAlphaToCoverageEnabled(false); in enter() 91 stateManager->setSampleCoverageEnabled(false); in enter() 92 stateManager->setDepthTestEnabled(false); in enter() 93 stateManager->setStencilTestEnabled(false); in enter() [all …]
|
D | ContextGL.cpp | 85 StateManagerGL *stateManager = getStateManager(); in createTexture() local 89 stateManager->bindTexture(state.getType(), texture); in createTexture() 97 StateManagerGL *stateManager = getStateManager(); in createRenderbuffer() local 101 stateManager->bindRenderbuffer(GL_RENDERBUFFER, renderbuffer); in createRenderbuffer() 122 StateManagerGL *stateManager = getStateManager(); in createVertexArray() local 124 return new VertexArrayGL(data, stateManager->getDefaultVAO(), in createVertexArray() 125 stateManager->getDefaultVAOState()); in createVertexArray() 252 StateManagerGL *stateManager = getStateManager(); in setDrawArraysState() local 254 ANGLE_TRY(stateManager->setPrimitiveRestartIndex(context, primitiveRestartIndex)); in setDrawArraysState() 295 StateManagerGL *stateManager = getStateManager(); in setDrawElementsState() local [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Blit11.cpp | 877 StateManager11 *stateManager = mRenderer->getStateManager(); in swizzleTexture() local 880 stateManager->setSingleVertexBuffer(&mVertexBuffer, stride, 0); in swizzleTexture() 883 stateManager->setPixelConstantBuffer(0, &mSwizzleCB); in swizzleTexture() 886 stateManager->setSimpleBlendState(nullptr); in swizzleTexture() 887 stateManager->setDepthStencilState(nullptr, 0xFFFFFFFF); in swizzleTexture() 888 stateManager->setRasterizerState(&mScissorDisabledRasterizerState); in swizzleTexture() 891 stateManager->setInputLayout(support.inputLayout); in swizzleTexture() 892 stateManager->setPrimitiveTopology(topology); in swizzleTexture() 894 stateManager->setDrawShaders(support.vertexShader, support.geometryShader, in swizzleTexture() 898 stateManager->setRenderTarget(dest.get(), nullptr); in swizzleTexture() [all …]
|
D | PixelTransfer11.cpp | 202 StateManager11 *stateManager = mRenderer->getStateManager(); in copyBufferToTexture() local 204 stateManager->setDrawShaders(&mBufferToTextureVS, geometryShader, pixelShader); in copyBufferToTexture() 205 stateManager->setShaderResource(gl::ShaderType::Fragment, 0, bufferSRV); in copyBufferToTexture() 206 stateManager->setInputLayout(nullptr); in copyBufferToTexture() 207 stateManager->setPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_POINTLIST); in copyBufferToTexture() 209 stateManager->setSingleVertexBuffer(nullptr, 0, 0); in copyBufferToTexture() 210 stateManager->setSimpleBlendState(nullptr); in copyBufferToTexture() 211 stateManager->setDepthStencilState(&mCopyDepthStencilState, 0xFFFFFFFF); in copyBufferToTexture() 212 stateManager->setRasterizerState(&mCopyRasterizerState); in copyBufferToTexture() 214 stateManager->setRenderTarget(textureRTV.get(), nullptr); in copyBufferToTexture() [all …]
|
D | VertexArray11.cpp | 75 StateManager11 *stateManager = renderer->getStateManager(); in syncState() local 112 updateVertexAttribStorage(context, stateManager, attribIndex); in syncState() 118 stateManager->invalidateVertexBuffer(); in syncState() 135 StateManager11 *stateManager = renderer->getStateManager(); in syncStateForDraw() local 151 stateManager->invalidateInputLayout(); in syncStateForDraw() 162 ANGLE_TRY(updateDynamicAttribs(context, stateManager->getVertexDataManager(), in syncStateForDraw() 166 stateManager->invalidateInputLayout(); in syncStateForDraw() 183 stateManager->invalidateIndexBuffer(); in syncStateForDraw() 187 stateManager->invalidateIndexBuffer(); in syncStateForDraw() 216 StateManager11 *stateManager, in updateVertexAttribStorage() argument [all …]
|
D | Clear11.cpp | 703 auto *stateManager = mRenderer->getStateManager(); in clearFramebuffer() local 706 stateManager->setSimpleViewport(framebufferSize); in clearFramebuffer() 709 stateManager->setSimpleBlendState(blendState); in clearFramebuffer() 712 stateManager->setDepthStencilState(dsState, stencilValue); in clearFramebuffer() 716 stateManager->setRasterizerState(&mScissorEnabledRasterizerState); in clearFramebuffer() 720 stateManager->setRasterizerState(&mScissorDisabledRasterizerState); in clearFramebuffer() 733 stateManager->setDrawShaders(vs, gs, ps); in clearFramebuffer() 734 stateManager->setPixelConstantBuffer(0, &mConstantBuffer); in clearFramebuffer() 737 stateManager->setIndexBuffer(nullptr, DXGI_FORMAT_UNKNOWN, 0); in clearFramebuffer() 738 stateManager->setInputLayout(il); in clearFramebuffer() [all …]
|
D | Program11.cpp | 27 StateManager11 *stateManager = renderer11->getStateManager(); in syncState() local 30 stateManager->invalidateProgramUniformBuffers(); in syncState()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Blit11.cpp | 873 StateManager11 *stateManager = mRenderer->getStateManager(); in swizzleTexture() local 876 stateManager->setSingleVertexBuffer(&mVertexBuffer, stride, 0); in swizzleTexture() 879 stateManager->setPixelConstantBuffer(0, &mSwizzleCB); in swizzleTexture() 882 stateManager->setSimpleBlendState(nullptr); in swizzleTexture() 883 stateManager->setDepthStencilState(nullptr, 0xFFFFFFFF); in swizzleTexture() 884 stateManager->setRasterizerState(&mScissorDisabledRasterizerState); in swizzleTexture() 887 stateManager->setInputLayout(support.inputLayout); in swizzleTexture() 888 stateManager->setPrimitiveTopology(topology); in swizzleTexture() 890 stateManager->setDrawShaders(support.vertexShader, support.geometryShader, in swizzleTexture() 894 stateManager->setRenderTarget(dest.get(), nullptr); in swizzleTexture() [all …]
|
D | PixelTransfer11.cpp | 201 StateManager11 *stateManager = mRenderer->getStateManager(); in copyBufferToTexture() local 203 stateManager->setDrawShaders(&mBufferToTextureVS, geometryShader, pixelShader); in copyBufferToTexture() 204 stateManager->setShaderResource(gl::ShaderType::Fragment, 0, bufferSRV); in copyBufferToTexture() 205 stateManager->setInputLayout(nullptr); in copyBufferToTexture() 206 stateManager->setPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_POINTLIST); in copyBufferToTexture() 208 stateManager->setSingleVertexBuffer(nullptr, 0, 0); in copyBufferToTexture() 209 stateManager->setSimpleBlendState(nullptr); in copyBufferToTexture() 210 stateManager->setDepthStencilState(&mCopyDepthStencilState, 0xFFFFFFFF); in copyBufferToTexture() 211 stateManager->setRasterizerState(&mCopyRasterizerState); in copyBufferToTexture() 213 stateManager->setRenderTarget(textureRTV.get(), nullptr); in copyBufferToTexture() [all …]
|
D | VertexArray11.cpp | 75 StateManager11 *stateManager = renderer->getStateManager(); in syncState() local 112 updateVertexAttribStorage(context, stateManager, attribIndex); in syncState() 118 stateManager->invalidateVertexBuffer(); in syncState() 133 StateManager11 *stateManager = renderer->getStateManager(); in syncStateForDraw() local 148 stateManager->invalidateInputLayout(); in syncStateForDraw() 160 ANGLE_TRY(updateDynamicAttribs(context, stateManager->getVertexDataManager(), in syncStateForDraw() 163 stateManager->invalidateInputLayout(); in syncStateForDraw() 180 stateManager->invalidateIndexBuffer(); in syncStateForDraw() 184 stateManager->invalidateIndexBuffer(); in syncStateForDraw() 213 StateManager11 *stateManager, in updateVertexAttribStorage() argument [all …]
|
D | Clear11.cpp | 705 auto *stateManager = mRenderer->getStateManager(); in clearFramebuffer() local 708 stateManager->setSimpleViewport(framebufferSize); in clearFramebuffer() 711 stateManager->setSimpleBlendState(blendState); in clearFramebuffer() 714 stateManager->setDepthStencilState(dsState, stencilValue); in clearFramebuffer() 718 stateManager->setRasterizerState(&mScissorEnabledRasterizerState); in clearFramebuffer() 722 stateManager->setRasterizerState(&mScissorDisabledRasterizerState); in clearFramebuffer() 735 stateManager->setDrawShaders(vs, gs, ps); in clearFramebuffer() 736 stateManager->setPixelConstantBuffer(0, &mConstantBuffer); in clearFramebuffer() 739 stateManager->setIndexBuffer(nullptr, DXGI_FORMAT_UNKNOWN, 0); in clearFramebuffer() 740 stateManager->setInputLayout(il); in clearFramebuffer() [all …]
|
D | SwapChain11.cpp | 848 StateManager11 *stateManager = mRenderer->getStateManager(); in copyOffscreenToBackbuffer() local 851 stateManager->setSingleVertexBuffer(&mQuadVB, stride, 0); in copyOffscreenToBackbuffer() 854 stateManager->setDepthStencilState(nullptr, 0xFFFFFFFF); in copyOffscreenToBackbuffer() 855 stateManager->setSimpleBlendState(nullptr); in copyOffscreenToBackbuffer() 856 stateManager->setRasterizerState(&mPassThroughRS); in copyOffscreenToBackbuffer() 859 stateManager->setInputLayout(&mPassThroughIL); in copyOffscreenToBackbuffer() 860 stateManager->setPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP); in copyOffscreenToBackbuffer() 861 stateManager->setDrawShaders(&mPassThroughVS, nullptr, &mPassThroughOrResolvePS); in copyOffscreenToBackbuffer() 864 stateManager->setRenderTarget(mBackBufferRTView.get(), nullptr); in copyOffscreenToBackbuffer() 867 stateManager->setSimpleViewport(mWidth, mHeight); in copyOffscreenToBackbuffer() [all …]
|
D | Program11.cpp | 27 StateManager11 *stateManager = renderer11->getStateManager(); in syncState() local 30 stateManager->invalidateProgramUniformBuffers(); in syncState()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | FramebufferGL.cpp | 253 StateManagerGL *stateManager = GetStateManagerGL(context); in destroy() local 254 stateManager->deleteFramebuffer(mFramebufferID); in destroy() 279 StateManagerGL *stateManager = GetStateManagerGL(context); in invalidate() local 284 stateManager->bindFramebuffer(GL_FRAMEBUFFER, mFramebufferID); in invalidate() 290 stateManager->bindFramebuffer(GL_FRAMEBUFFER, mFramebufferID); in invalidate() 313 StateManagerGL *stateManager = GetStateManagerGL(context); in invalidateSub() local 319 stateManager->bindFramebuffer(GL_FRAMEBUFFER, mFramebufferID); in invalidateSub() 331 StateManagerGL *stateManager = GetStateManagerGL(context); in clear() local 334 stateManager->bindFramebuffer(GL_FRAMEBUFFER, mFramebufferID); in clear() 357 StateManagerGL *stateManager = GetStateManagerGL(context); in clearBufferfv() local [all …]
|
D | TextureGL.cpp | 145 StateManagerGL *stateManager = GetStateManagerGL(context); in onDestroy() local 146 stateManager->deleteTexture(mTextureID); in onDestroy() 225 StateManagerGL *stateManager = GetStateManagerGL(context); in setImageHelper() local 231 stateManager->bindTexture(getType(), mTextureID); in setImageHelper() 266 StateManagerGL *stateManager = GetStateManagerGL(context); in reserveTexImageToBeFilled() local 267 stateManager->setPixelUnpackBuffer(nullptr); in reserveTexImageToBeFilled() 283 StateManagerGL *stateManager = GetStateManagerGL(context); in setSubImage() local 295 stateManager->bindTexture(getType(), mTextureID); in setSubImage() 351 StateManagerGL *stateManager = GetStateManagerGL(context); in setSubImageRowByRowWorkaround() local 355 stateManager->setPixelUnpackState(directUnpack); in setSubImageRowByRowWorkaround() [all …]
|
D | BlitGL.cpp | 80 StateManagerGL *stateManager = contextGL->getStateManager(); in enter() local 84 stateManager->setScissorTestEnabled(false); in enter() 86 stateManager->setViewport(viewport); in enter() 87 stateManager->setDepthRange(0.0f, 1.0f); in enter() 88 stateManager->setBlendEnabled(false); in enter() 89 stateManager->setColorMask(true, true, true, true); in enter() 90 stateManager->setSampleAlphaToCoverageEnabled(false); in enter() 91 stateManager->setSampleCoverageEnabled(false); in enter() 92 stateManager->setDepthTestEnabled(false); in enter() 93 stateManager->setStencilTestEnabled(false); in enter() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
D | ImageEGL.cpp | 113 StateManagerGL *stateManager = GetStateManagerGL(context); in setTexture2D() local 116 stateManager->bindTexture(type, texture->getTextureID()); in setTexture2D() 130 StateManagerGL *stateManager = GetStateManagerGL(context); in setRenderbufferStorage() local 133 stateManager->bindRenderbuffer(GL_RENDERBUFFER, renderbuffer->getRenderbufferID()); in setRenderbufferStorage()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
D | ImageEGL.cpp | 116 StateManagerGL *stateManager = GetStateManagerGL(context); in setTexture2D() local 119 stateManager->bindTexture(type, texture->getTextureID()); in setTexture2D() 133 StateManagerGL *stateManager = GetStateManagerGL(context); in setRenderbufferStorage() local 136 stateManager->bindRenderbuffer(GL_RENDERBUFFER, renderbuffer->getRenderbufferID()); in setRenderbufferStorage()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/ |
D | IOSurfaceSurfaceCGL.cpp | 159 StateManagerGL *stateManager = GetStateManagerGL(context); in bindTexImage() local 163 stateManager->bindTexture(gl::TextureType::Rectangle, textureID); in bindTexImage() 289 StateManagerGL *stateManager = GetStateManagerGL(context); in createDefaultFramebuffer() local 294 stateManager->bindTexture(gl::TextureType::Rectangle, texture); in createDefaultFramebuffer() 311 stateManager->bindFramebuffer(GL_FRAMEBUFFER, framebuffer); in createDefaultFramebuffer() 312 stateManager->bindTexture(gl::TextureType::Rectangle, texture); in createDefaultFramebuffer()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/eagl/ |
D | IOSurfaceSurfaceEAGL.mm | 176 StateManagerGL *stateManager = GetStateManagerGL(context); 180 stateManager->bindTexture(gl::TextureType::_2D, textureID); 210 if (IsError(stateManager->setPixelUnpackState(context, defaultUnpackState))) 236 StateManagerGL *stateManager = GetStateManagerGL(context); 239 stateManager->bindFramebuffer(GL_FRAMEBUFFER, tempFBO); 245 if (IsError(stateManager->setPixelPackState(context, state))) 361 StateManagerGL *stateManager = GetStateManagerGL(context); 365 stateManager->bindTexture(gl::TextureType::_2D, texture); 394 stateManager->bindFramebuffer(GL_FRAMEBUFFER, framebuffer); 395 stateManager->bindTexture(gl::TextureType::_2D, texture);
|