Searched refs:blendState (Results 1 - 7 of 7) sorted by relevance
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
H A D | RenderStateCache.cpp | 74 std::size_t RenderStateCache::hashBlendState(const gl::BlendState &blendState) argument 79 MurmurHash3_x86_32(&blendState, sizeof(gl::BlendState), seed, &hash); 88 ID3D11BlendState *RenderStateCache::getBlendState(const gl::BlendState &blendState) argument 96 BlendStateMap::iterator i = mBlendStateCache.find(blendState); 124 blendDesc.AlphaToCoverageEnable = blendState.sampleAlphaToCoverage; 131 rtBlend.BlendEnable = blendState.blend; 132 if (blendState.blend) 134 rtBlend.SrcBlend = gl_d3d11::ConvertBlendFunc(blendState.sourceBlendRGB, false); 135 rtBlend.DestBlend = gl_d3d11::ConvertBlendFunc(blendState.destBlendRGB, false); 136 rtBlend.BlendOp = gl_d3d11::ConvertBlendOp(blendState [all...] |
H A D | RenderStateCache.h | 29 ID3D11BlendState *getBlendState(const gl::BlendState &blendState); 41 static std::size_t hashBlendState(const gl::BlendState &blendState);
|
H A D | Renderer9.cpp | 831 void Renderer9::setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor, unsigned int sampleMask) argument 833 bool blendStateChanged = mForceSetBlendState || memcmp(&blendState, &mCurBlendState, sizeof(gl::BlendState)) != 0; 839 if (blendState.blend) 843 if (blendState.sourceBlendRGB != GL_CONSTANT_ALPHA && blendState.sourceBlendRGB != GL_ONE_MINUS_CONSTANT_ALPHA && 844 blendState.destBlendRGB != GL_CONSTANT_ALPHA && blendState.destBlendRGB != GL_ONE_MINUS_CONSTANT_ALPHA) 856 mDevice->SetRenderState(D3DRS_SRCBLEND, gl_d3d9::ConvertBlendFunc(blendState.sourceBlendRGB)); 857 mDevice->SetRenderState(D3DRS_DESTBLEND, gl_d3d9::ConvertBlendFunc(blendState.destBlendRGB)); 858 mDevice->SetRenderState(D3DRS_BLENDOP, gl_d3d9::ConvertBlendOp(blendState [all...] |
H A D | Renderer.h | 116 virtual void setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor,
|
H A D | Renderer11.cpp | 664 void Renderer11::setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor, argument 668 memcmp(&blendState, &mCurBlendState, sizeof(gl::BlendState)) != 0 || 672 ID3D11BlendState *dxBlendState = mStateCache.getBlendState(blendState); 680 if (blendState.sourceBlendRGB != GL_CONSTANT_ALPHA && blendState.sourceBlendRGB != GL_ONE_MINUS_CONSTANT_ALPHA && 681 blendState.destBlendRGB != GL_CONSTANT_ALPHA && blendState.destBlendRGB != GL_ONE_MINUS_CONSTANT_ALPHA) 698 mCurBlendState = blendState; 1736 ID3D11BlendState *blendState = mStateCache.getBlendState(glBlendState); local 1758 mDeviceContext->OMSetBlendState(blendState, blendFactor [all...] |
H A D | Renderer11.h | 61 virtual void setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor,
|
H A D | Renderer9.h | 75 virtual void setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor,
|
Completed in 81 milliseconds