Searched refs:samplerState (Results 1 - 5 of 5) sorted by relevance
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
H A D | RenderStateCache.cpp | 329 std::size_t RenderStateCache::hashSamplerState(const gl::SamplerState &samplerState) argument 334 MurmurHash3_x86_32(&samplerState, sizeof(gl::SamplerState), seed, &hash); 343 ID3D11SamplerState *RenderStateCache::getSamplerState(const gl::SamplerState &samplerState) argument 351 SamplerStateMap::iterator i = mSamplerStateCache.find(samplerState); 378 samplerDesc.Filter = gl_d3d11::ConvertFilter(samplerState.minFilter, samplerState.magFilter, samplerState.maxAnisotropy); 379 samplerDesc.AddressU = gl_d3d11::ConvertTextureWrap(samplerState.wrapS); 380 samplerDesc.AddressV = gl_d3d11::ConvertTextureWrap(samplerState.wrapT); 382 samplerDesc.MipLODBias = static_cast<float>(samplerState [all...] |
H A D | RenderStateCache.h | 33 ID3D11SamplerState *getSamplerState(const gl::SamplerState &samplerState); 83 static std::size_t hashSamplerState(const gl::SamplerState &samplerState);
|
H A D | Renderer9.cpp | 730 void Renderer9::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState) argument 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); 748 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAXMIPLEVEL, samplerState.lodOffset); 751 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAXANISOTROPY, (DWORD)samplerState [all...] |
H A D | Renderer11.cpp | 533 void Renderer11::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState) argument 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;
|
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/ |
H A D | Context.cpp | 1830 SamplerState samplerState; local 1831 texture->getSamplerState(&samplerState); 1832 mRenderer->setSamplerState(type, samplerIndex, samplerState);
|
Completed in 85 milliseconds