Searched refs:samplerState (Results 1 - 5 of 5) sorted by relevance
/external/chromium_org/third_party/angle/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 | 754 void Renderer9::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState) argument 759 if (forceSetSamplers[index] || memcmp(&samplerState, &appliedSamplers[index], sizeof(gl::SamplerState)) != 0) 764 mDevice->SetSamplerState(d3dSampler, D3DSAMP_ADDRESSU, gl_d3d9::ConvertTextureWrap(samplerState.wrapS)); 765 mDevice->SetSamplerState(d3dSampler, D3DSAMP_ADDRESSV, gl_d3d9::ConvertTextureWrap(samplerState.wrapT)); 767 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAGFILTER, gl_d3d9::ConvertMagFilter(samplerState.magFilter, samplerState.maxAnisotropy)); 769 gl_d3d9::ConvertMinFilter(samplerState.minFilter, &d3dMinFilter, &d3dMipFilter, samplerState.maxAnisotropy); 772 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAXMIPLEVEL, samplerState.lodOffset); 775 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAXANISOTROPY, (DWORD)samplerState [all...] |
H A D | Renderer11.cpp | 530 void Renderer11::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState) argument 540 if (mForceSetPixelSamplerStates[index] || memcmp(&samplerState, &mCurPixelSamplerStates[index], sizeof(gl::SamplerState)) != 0) 542 ID3D11SamplerState *dxSamplerState = mStateCache.getSamplerState(samplerState); 552 mCurPixelSamplerStates[index] = samplerState; 565 if (mForceSetVertexSamplerStates[index] || memcmp(&samplerState, &mCurVertexSamplerStates[index], sizeof(gl::SamplerState)) != 0) 567 ID3D11SamplerState *dxSamplerState = mStateCache.getSamplerState(samplerState); 577 mCurVertexSamplerStates[index] = samplerState;
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | Context.cpp | 1833 SamplerState samplerState; local 1834 texture->getSamplerState(&samplerState); 1835 mRenderer->setSamplerState(type, samplerIndex, samplerState);
|
Completed in 504 milliseconds