/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | Sampler.cpp | 30 void Sampler::getState(SamplerState *samplerState) const 32 samplerState->minFilter = mMinFilter; 33 samplerState->magFilter = mMagFilter; 34 samplerState->wrapS = mWrapS; 35 samplerState->wrapT = mWrapT; 36 samplerState->wrapR = mWrapR; 37 samplerState->minLod = mMinLod; 38 samplerState->maxLod = mMaxLod; 39 samplerState->compareMode = mComparisonMode; 40 samplerState [all...] |
H A D | Texture.cpp | 28 bool IsMipmapFiltered(const gl::SamplerState &samplerState) argument 30 switch (samplerState.minFilter) 45 bool IsPointSampled(const gl::SamplerState &samplerState) argument 47 return (samplerState.magFilter == GL_NEAREST && (samplerState.minFilter == GL_NEAREST || samplerState.minFilter == GL_NEAREST_MIPMAP_NEAREST)); 289 bool Texture2D::isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const argument 299 if (!textureCaps.get(getInternalFormat(0)).filterable && !IsPointSampled(samplerState)) 308 if ((samplerState.wrapS != GL_CLAMP_TO_EDGE && !gl::isPow2(width)) || 309 (samplerState 565 isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const argument 764 isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const argument 922 isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const argument [all...] |
H A D | Sampler.h | 44 void getState(SamplerState *samplerState) const;
|
H A D | Texture.h | 42 bool IsMipmapFiltered(const gl::SamplerState &samplerState); 70 virtual bool isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const = 0; 126 virtual bool isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const; 169 virtual bool isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const; 204 virtual bool isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const; 234 virtual bool isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const;
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/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 gl::Error RenderStateCache::getSamplerState(const gl::SamplerState &samplerState, ID3D11SamplerState **outSamplerState) argument 379 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 | RenderStateCache.h | 40 gl::Error getSamplerState(const gl::SamplerState &samplerState, ID3D11SamplerState **outSamplerState); 94 static std::size_t hashSamplerState(const gl::SamplerState &samplerState);
|
H A D | TextureStorage11.cpp | 196 ID3D11ShaderResourceView *TextureStorage11::getSRV(const gl::SamplerState &samplerState) argument 198 bool swizzleRequired = samplerState.swizzleRequired(); 199 bool mipmapping = gl::IsMipmapFiltered(samplerState); 200 unsigned int mipLevels = mipmapping ? (samplerState.maxLevel - samplerState.baseLevel) : 1; 203 mipLevels = std::min(mipLevels, mMipLevels - mTopLevel - samplerState.baseLevel); 207 verifySwizzleExists(samplerState.swizzleRed, samplerState.swizzleGreen, samplerState.swizzleBlue, samplerState [all...] |
H A D | Renderer11.cpp | 433 void Renderer11::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState) argument 439 if (mForceSetPixelSamplerStates[index] || memcmp(&samplerState, &mCurPixelSamplerStates[index], sizeof(gl::SamplerState)) != 0) 442 gl::Error error = mStateCache.getSamplerState(samplerState, &dxSamplerState); 452 mCurPixelSamplerStates[index] = samplerState; 461 if (mForceSetVertexSamplerStates[index] || memcmp(&samplerState, &mCurVertexSamplerStates[index], sizeof(gl::SamplerState)) != 0) 464 gl::Error error = mStateCache.getSamplerState(samplerState, &dxSamplerState); 474 mCurVertexSamplerStates[index] = samplerState; 495 gl::SamplerState samplerState; local 496 texture->getSamplerStateWithNativeOffset(&samplerState); 497 textureSRV = storage11->getSRV(samplerState); [all...] |
H A D | TextureStorage11.h | 44 virtual ID3D11ShaderResourceView *getSRV(const gl::SamplerState &samplerState);
|
/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
|
H A D | glsSamplerObjectTest.cpp | 78 , m_samplerState (spec.samplerState) 590 , m_samplerState (spec.samplerState)
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
H A D | Renderer9.cpp | 645 void Renderer9::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState) argument 650 if (forceSetSamplers[index] || memcmp(&samplerState, &appliedSamplers[index], sizeof(gl::SamplerState)) != 0) 655 mDevice->SetSamplerState(d3dSampler, D3DSAMP_ADDRESSU, gl_d3d9::ConvertTextureWrap(samplerState.wrapS)); 656 mDevice->SetSamplerState(d3dSampler, D3DSAMP_ADDRESSV, gl_d3d9::ConvertTextureWrap(samplerState.wrapT)); 658 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAGFILTER, gl_d3d9::ConvertMagFilter(samplerState.magFilter, samplerState.maxAnisotropy)); 660 gl_d3d9::ConvertMinFilter(samplerState.minFilter, &d3dMinFilter, &d3dMipFilter, samplerState.maxAnisotropy); 663 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAXMIPLEVEL, samplerState.baseLevel); 666 mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAXANISOTROPY, (DWORD)samplerState [all...] |