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/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 855 void Renderer9::setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor, unsigned int sampleMask)
857 bool blendStateChanged = mForceSetBlendState || memcmp(&blendState, &mCurBlendState, sizeof(gl::BlendState)) != 0;
863 if (blendState.blend)
867 if (blendState.sourceBlendRGB != GL_CONSTANT_ALPHA && blendState.sourceBlendRGB != GL_ONE_MINUS_CONSTANT_ALPHA &&
868 blendState.destBlendRGB != GL_CONSTANT_ALPHA && blendState.destBlendRGB != GL_ONE_MINUS_CONSTANT_ALPHA)
880 mDevice->SetRenderState(D3DRS_SRCBLEND, gl_d3d9::ConvertBlendFunc(blendState.sourceBlendRGB))
    [all...]
Renderer.h 122 virtual void setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor,
Renderer11.cpp 661 void Renderer11::setBlendState(const gl::BlendState &blendState, const gl::Color &blendColor,
665 memcmp(&blendState, &mCurBlendState, sizeof(gl::BlendState)) != 0 ||
669 ID3D11BlendState *dxBlendState = mStateCache.getBlendState(blendState);
677 if (blendState.sourceBlendRGB != GL_CONSTANT_ALPHA && blendState.sourceBlendRGB != GL_ONE_MINUS_CONSTANT_ALPHA &&
678 blendState.destBlendRGB != GL_CONSTANT_ALPHA && blendState.destBlendRGB != GL_ONE_MINUS_CONSTANT_ALPHA)
695 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,
310 gl::BlendState mCurBlendState;

Completed in 27 milliseconds