Searched refs:samplerState (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
D | RenderStateCache.cpp | 329 std::size_t RenderStateCache::hashSamplerState(const gl::SamplerState &samplerState) in hashSamplerState() argument 334 MurmurHash3_x86_32(&samplerState, sizeof(gl::SamplerState), seed, &hash); in hashSamplerState() 343 ID3D11SamplerState *RenderStateCache::getSamplerState(const gl::SamplerState &samplerState) in getSamplerState() argument 351 SamplerStateMap::iterator i = mSamplerStateCache.find(samplerState); in getSamplerState() 378 …samplerDesc.Filter = gl_d3d11::ConvertFilter(samplerState.minFilter, samplerState.magFilter, sampl… in getSamplerState() 379 samplerDesc.AddressU = gl_d3d11::ConvertTextureWrap(samplerState.wrapS); in getSamplerState() 380 samplerDesc.AddressV = gl_d3d11::ConvertTextureWrap(samplerState.wrapT); in getSamplerState() 382 samplerDesc.MipLODBias = static_cast<float>(samplerState.lodOffset); in getSamplerState() 383 samplerDesc.MaxAnisotropy = samplerState.maxAnisotropy; in getSamplerState() 389 … samplerDesc.MinLOD = gl_d3d11::ConvertMinLOD(samplerState.minFilter, samplerState.lodOffset); in getSamplerState() [all …]
|
D | RenderStateCache.h | 33 ID3D11SamplerState *getSamplerState(const gl::SamplerState &samplerState); 83 static std::size_t hashSamplerState(const gl::SamplerState &samplerState);
|
D | Renderer9.cpp | 754 …d Renderer9::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState) in setSamplerState() argument 759 …if (forceSetSamplers[index] || memcmp(&samplerState, &appliedSamplers[index], sizeof(gl::SamplerSt… in setSamplerState() 764 …ce->SetSamplerState(d3dSampler, D3DSAMP_ADDRESSU, gl_d3d9::ConvertTextureWrap(samplerState.wrapS)); in setSamplerState() 765 …ce->SetSamplerState(d3dSampler, D3DSAMP_ADDRESSV, gl_d3d9::ConvertTextureWrap(samplerState.wrapT)); in setSamplerState() 767 …(d3dSampler, D3DSAMP_MAGFILTER, gl_d3d9::ConvertMagFilter(samplerState.magFilter, samplerState.max… in setSamplerState() 769 …gl_d3d9::ConvertMinFilter(samplerState.minFilter, &d3dMinFilter, &d3dMipFilter, samplerState.maxAn… in setSamplerState() 772 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAXMIPLEVEL, samplerState.lodOffset); in setSamplerState() 775 … mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAXANISOTROPY, (DWORD)samplerState.maxAnisotropy); in setSamplerState() 780 appliedSamplers[index] = samplerState; in setSamplerState()
|
D | Renderer11.cpp | 530 … Renderer11::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState) in setSamplerState() argument 540 …if (mForceSetPixelSamplerStates[index] || memcmp(&samplerState, &mCurPixelSamplerStates[index], si… in setSamplerState() 542 ID3D11SamplerState *dxSamplerState = mStateCache.getSamplerState(samplerState); in setSamplerState() 552 mCurPixelSamplerStates[index] = samplerState; in setSamplerState() 565 …if (mForceSetVertexSamplerStates[index] || memcmp(&samplerState, &mCurVertexSamplerStates[index], … in setSamplerState() 567 ID3D11SamplerState *dxSamplerState = mStateCache.getSamplerState(samplerState); in setSamplerState() 577 mCurVertexSamplerStates[index] = samplerState; in setSamplerState()
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
D | Context.cpp | 1833 SamplerState samplerState; in applyTextures() local 1834 texture->getSamplerState(&samplerState); in applyTextures() 1835 mRenderer->setSamplerState(type, samplerIndex, samplerState); in applyTextures()
|