HomeSort by relevance Sort by last modified time
    Searched refs:blendState (Results 1 - 7 of 7) sorted by null

  /external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/
RenderStateCache.cpp 74 std::size_t RenderStateCache::hashBlendState(const gl::BlendState &blendState)
79 MurmurHash3_x86_32(&blendState, sizeof(gl::BlendState), seed, &hash);
83 bool RenderStateCache::compareBlendStates(const gl::BlendState &a, const gl::BlendState &b)
85 return memcmp(&a, &b, sizeof(gl::BlendState)) == 0;
88 ID3D11BlendState *RenderStateCache::getBlendState(const gl::BlendState &blendState)
96 BlendStateMap::iterator i = mBlendStateCache.find(blendState);
    [all...]
RenderStateCache.h 29 ID3D11BlendState *getBlendState(const gl::BlendState &blendState);
41 static std::size_t hashBlendState(const gl::BlendState &blendState);
42 static bool compareBlendStates(const gl::BlendState &a, const gl::BlendState &b);
45 typedef std::size_t (*BlendStateHashFunction)(const gl::BlendState &);
46 typedef bool (*BlendStateEqualityFunction)(const gl::BlendState &, const gl::BlendState &);
48 typedef std::unordered_map<gl::BlendState, BlendStateCounterPair, BlendStateHashFunction, BlendStateEqualityFunction> BlendStateMap
    [all...]
Renderer9.cpp 831 void Renderer9::setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor, unsigned int sampleMask)
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))
    [all...]
Renderer.h 116 virtual void setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor,
Renderer11.cpp 664 void Renderer11::setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor,
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;
    [all...]
Renderer11.h 61 virtual void setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor,
266 gl::BlendState mCurBlendState;
Renderer9.h 75 virtual void setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor,
303 gl::BlendState mCurBlendState;

Completed in 2401 milliseconds