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

  /external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/
RenderStateCache.cpp 329 std::size_t RenderStateCache::hashSamplerState(const gl::SamplerState &samplerState)
334 MurmurHash3_x86_32(&samplerState, sizeof(gl::SamplerState), seed, &hash);
338 bool RenderStateCache::compareSamplerStates(const gl::SamplerState &a, const gl::SamplerState &b)
340 return memcmp(&a, &b, sizeof(gl::SamplerState)) == 0;
343 ID3D11SamplerState *RenderStateCache::getSamplerState(const gl::SamplerState &samplerState)
351 SamplerStateMap::iterator i = mSamplerStateCache.find(samplerState);
    [all...]
RenderStateCache.h 33 ID3D11SamplerState *getSamplerState(const gl::SamplerState &samplerState);
83 static std::size_t hashSamplerState(const gl::SamplerState &samplerState);
84 static bool compareSamplerStates(const gl::SamplerState &a, const gl::SamplerState &b);
87 typedef std::size_t (*SamplerStateHashFunction)(const gl::SamplerState &);
88 typedef bool (*SamplerStateEqualityFunction)(const gl::SamplerState &, const gl::SamplerState &);
90 typedef std::unordered_map<gl::SamplerState,
    [all...]
Renderer9.cpp 730 void Renderer9::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState)
733 gl::SamplerState *appliedSamplers = (type == gl::SAMPLER_PIXEL) ? mCurPixelSamplerStates: mCurVertexSamplerStates;
735 if (forceSetSamplers[index] || memcmp(&samplerState, &appliedSamplers[index], sizeof(gl::SamplerState)) != 0)
740 mDevice->SetSamplerState(d3dSampler, D3DSAMP_ADDRESSU, gl_d3d9::ConvertTextureWrap(samplerState.wrapS));
741 mDevice->SetSamplerState(d3dSampler, D3DSAMP_ADDRESSV, gl_d3d9::ConvertTextureWrap(samplerState.wrapT));
743 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAGFILTER, gl_d3d9::ConvertMagFilter(samplerState.magFilter, samplerState.maxAnisotropy));
745 gl_d3d9::ConvertMinFilter(samplerState.minFilter, &d3dMinFilter, &d3dMipFilter, samplerState.maxAnisotropy)
    [all...]
Renderer11.cpp 533 void Renderer11::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState)
543 if (mForceSetPixelSamplerStates[index] || memcmp(&samplerState, &mCurPixelSamplerStates[index], sizeof(gl::SamplerState)) != 0)
545 ID3D11SamplerState *dxSamplerState = mStateCache.getSamplerState(samplerState);
555 mCurPixelSamplerStates[index] = samplerState;
568 if (mForceSetVertexSamplerStates[index] || memcmp(&samplerState, &mCurVertexSamplerStates[index], sizeof(gl::SamplerState)) != 0)
570 ID3D11SamplerState *dxSamplerState = mStateCache.getSamplerState(samplerState);
580 mCurVertexSamplerStates[index] = samplerState;
    [all...]
  /external/chromium_org/third_party/angle_dx11/src/libGLESv2/
Context.cpp     [all...]

Completed in 38 milliseconds