Searched defs:samplerState (Results 1 - 6 of 6) sorted by relevance
/external/deqp/modules/glshared/ |
H A D | glsSamplerObjectTest.hpp | 60 SamplingState samplerState; member in struct:deqp::gls::TextureSamplerTest::TestSpec 119 SamplingState samplerState; member in struct:deqp::gls::MultiTextureSamplerTest::TestSpec
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/ |
H A D | RenderStateCache.cpp | 358 std::size_t RenderStateCache::hashSamplerState(const gl::SamplerState &samplerState) argument 363 MurmurHash3_x86_32(&samplerState, sizeof(gl::SamplerState), seed, &hash); 372 ID3D11SamplerState *RenderStateCache::getSamplerState(const gl::SamplerState &samplerState) argument 380 SamplerStateMap::iterator keyIter = mSamplerStateCache.find(samplerState); 407 samplerDesc.Filter = gl_d3d11::ConvertFilter(samplerState.minFilter, samplerState.magFilter, 408 samplerState.maxAnisotropy, samplerState.compareMode); 409 samplerDesc.AddressU = gl_d3d11::ConvertTextureWrap(samplerState.wrapS); 410 samplerDesc.AddressV = gl_d3d11::ConvertTextureWrap(samplerState [all...] |
H A D | TextureStorage11.cpp | 194 ID3D11ShaderResourceView *TextureStorage11::getSRV(const gl::SamplerState &samplerState) argument 196 bool swizzleRequired = samplerState.swizzleRequired(); 197 bool mipmapping = gl::IsMipmapFiltered(samplerState); 198 unsigned int mipLevels = mipmapping ? (samplerState.maxLevel - samplerState.baseLevel) : 1; 201 mipLevels = std::min(mipLevels, mMipLevels - mTopLevel - samplerState.baseLevel); 205 verifySwizzleExists(samplerState.swizzleRed, samplerState.swizzleGreen, samplerState.swizzleBlue, samplerState [all...] |
H A D | Renderer11.cpp | 578 void Renderer11::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState) argument 588 if (mForceSetPixelSamplerStates[index] || memcmp(&samplerState, &mCurPixelSamplerStates[index], sizeof(gl::SamplerState)) != 0) 590 ID3D11SamplerState *dxSamplerState = mStateCache.getSamplerState(samplerState); 600 mCurPixelSamplerStates[index] = samplerState; 613 if (mForceSetVertexSamplerStates[index] || memcmp(&samplerState, &mCurVertexSamplerStates[index], sizeof(gl::SamplerState)) != 0) 615 ID3D11SamplerState *dxSamplerState = mStateCache.getSamplerState(samplerState); 625 mCurVertexSamplerStates[index] = samplerState; 644 gl::SamplerState samplerState; local 645 texture->getSamplerState(&samplerState); 646 textureSRV = storage11->getSRV(samplerState); [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | Texture.cpp | 30 bool IsMipmapFiltered(const SamplerState &samplerState) argument 32 switch (samplerState.minFilter) 769 bool Texture2D::isSamplerComplete(const SamplerState &samplerState) const 781 if (samplerState.magFilter != GL_NEAREST || 782 (samplerState.minFilter != GL_NEAREST && samplerState.minFilter != GL_NEAREST_MIPMAP_NEAREST)) 792 if ((samplerState.wrapS != GL_CLAMP_TO_EDGE && !isPow2(width)) || 793 (samplerState.wrapT != GL_CLAMP_TO_EDGE && !isPow2(height))) 799 if (IsMipmapFiltered(samplerState)) 1216 bool TextureCubeMap::isSamplerComplete(const SamplerState &samplerState) cons [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d9/ |
H A D | Renderer9.cpp | 771 void Renderer9::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState) argument 776 if (forceSetSamplers[index] || memcmp(&samplerState, &appliedSamplers[index], sizeof(gl::SamplerState)) != 0) 781 mDevice->SetSamplerState(d3dSampler, D3DSAMP_ADDRESSU, gl_d3d9::ConvertTextureWrap(samplerState.wrapS)); 782 mDevice->SetSamplerState(d3dSampler, D3DSAMP_ADDRESSV, gl_d3d9::ConvertTextureWrap(samplerState.wrapT)); 784 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAGFILTER, gl_d3d9::ConvertMagFilter(samplerState.magFilter, samplerState.maxAnisotropy)); 786 gl_d3d9::ConvertMinFilter(samplerState.minFilter, &d3dMinFilter, &d3dMipFilter, samplerState.maxAnisotropy); 789 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAXMIPLEVEL, samplerState.baseLevel); 792 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAXANISOTROPY, (DWORD)samplerState [all...] |
Completed in 142 milliseconds