/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_gen_mipmap.c | 54 uint baseLevel = texObj->Attrib.BaseLevel; in st_generate_mipmap() local 62 baseLevel += texObj->Attrib.MinLevel; in st_generate_mipmap() 93 _mesa_prepare_mipmap_levels(ctx, texObj, baseLevel, lastLevel); in st_generate_mipmap() 121 last_layer = util_max_layer(pt, baseLevel); in st_generate_mipmap() 138 !st->pipe->generate_mipmap(st->pipe, pt, format, baseLevel, in st_generate_mipmap() 141 if (!util_gen_mipmap(st->pipe, pt, format, baseLevel, lastLevel, in st_generate_mipmap()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 1057 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel, refParams.imageViewMinLod); in iterate() 1191 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0xac2f274a) % numLevels; in getBaseLevel() local 1193 return baseLevel; in getBaseLevel() 1198 params.baseLevel = getBaseLevel(cellNdx); in getReferenceParams() 1335 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel, refParams.imageViewMinLod); in iterate() 1465 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x23fae13) % numLevels; in getBaseLevel() local 1467 return baseLevel; in getBaseLevel() 1472 params.baseLevel = getBaseLevel(cellNdx); in getReferenceParams() 1614 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel, refParams.imageViewMinLod); in iterate() 1747 const int baseLevel in getBaseLevel() local 1796 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1827 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0xac2f274a) % numLevels; getBaseLevel() local 1832 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1857 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1888 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x7347e9) % numLevels; getBaseLevel() local 1893 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1919 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1950 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x23fae13) % numLevels; getBaseLevel() local 1955 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1983 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1992 getLodTexelFetch(int cellNdx, int baseLevel, int maxLevel) const getLodTexelFetch() argument 2021 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0xac2f274a) % numLevels; getBaseLevel() local 2026 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 2035 getLodTexelFetch(int cellNdx, int baseLevel, int maxLevel) const getLodTexelFetch() argument 2158 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 2167 getLodTexelFetch(int cellNdx, int baseLevel, int maxLevel) const getLodTexelFetch() argument 2196 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x7347e9) % numLevels; getBaseLevel() local 2201 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 2210 getLodTexelFetch(int cellNdx, int baseLevel, int maxLevel) const getLodTexelFetch() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 1057 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel, refParams.imageViewMinLod); in iterate() 1191 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0xac2f274a) % numLevels; in getBaseLevel() local 1193 return baseLevel; in getBaseLevel() 1198 params.baseLevel = getBaseLevel(cellNdx); in getReferenceParams() 1335 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel, refParams.imageViewMinLod); in iterate() 1465 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x23fae13) % numLevels; in getBaseLevel() local 1467 return baseLevel; in getBaseLevel() 1472 params.baseLevel = getBaseLevel(cellNdx); in getReferenceParams() 1614 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel, refParams.imageViewMinLod); in iterate() 1747 const int baseLevel in getBaseLevel() local 1796 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1827 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0xac2f274a) % numLevels; getBaseLevel() local 1832 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1857 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1888 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x7347e9) % numLevels; getBaseLevel() local 1893 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1919 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1950 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x23fae13) % numLevels; getBaseLevel() local 1955 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1983 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 1992 getLodTexelFetch(int cellNdx, int baseLevel, int maxLevel) const getLodTexelFetch() argument 2021 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0xac2f274a) % numLevels; getBaseLevel() local 2026 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 2035 getLodTexelFetch(int cellNdx, int baseLevel, int maxLevel) const getLodTexelFetch() argument 2160 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 2169 getLodTexelFetch(int cellNdx, int baseLevel, int maxLevel) const getLodTexelFetch() argument 2198 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x7347e9) % numLevels; getBaseLevel() local 2203 getImageViewMinLod(int cellNdx, int baseLevel, int maxLevel) const getImageViewMinLod() argument 2212 getLodTexelFetch(int cellNdx, int baseLevel, int maxLevel) const getLodTexelFetch() argument [all...] |
/third_party/skia/tools/ |
H A D | DDLPromiseImageHelper.cpp | 64 void DDLPromiseImageHelper::PromiseImageInfo::setMipLevels(const SkBitmap& baseLevel, in setMipLevels() argument 66 fBaseLevel = baseLevel; in setMipLevels() 238 const SkBitmap& baseLevel = info.baseLevel(); in createCallbackContexts() local 241 if (maxDimension < std::max(baseLevel.width(), baseLevel.height())) { in createCallbackContexts() 246 GrBackendFormat backendFormat = direct->defaultBackendFormat(baseLevel.colorType(), in createCallbackContexts() 319 SkASSERT(curImage.baseLevel().isImmutable()); in CreatePromiseImages() 320 return curImage.baseLevel().asImage(); in CreatePromiseImages()
|
H A D | DDLPromiseImageHelper.h | 156 const SkBitmap& baseLevel() const { in baseLevel() function in DDLPromiseImageHelper::PromiseImageInfo 193 void setMipLevels(const SkBitmap& baseLevel, std::unique_ptr<SkMipmap> mipLevels);
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrReferenceContext.cpp | 4785 const int baseLevel = getBaseLevel(); 4787 if (hasLevel(baseLevel)) 4789 const tcu::ConstPixelBufferAccess& level0 = getLevel(baseLevel); 4796 const int numLevels = de::min(getMaxLevel()-baseLevel+1, getNumMipLevels1D(w)); 4800 if (hasLevel(baseLevel+levelNdx)) 4802 const tcu::ConstPixelBufferAccess& level = getLevel(baseLevel+levelNdx); 4850 const int baseLevel = getBaseLevel(); 4852 if (hasLevel(baseLevel) && !isEmpty(getLevel(baseLevel))) 4854 const int width = getLevel(baseLevel) [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureGatherTests.cpp | 1001 int baseLevel; member 1030 , baseLevel (baseLevel_) in GatherCaseBaseParams() 1047 , baseLevel (0) in GatherCaseBaseParams() 1286 textureParams.baseMipLevel = m_baseParams.baseLevel; in init() 1640 deUint32 baseLevel, in genGatherFuncCall() 1652 levelStr = de::toString(baseLevel) + ".0"; in genGatherFuncCall() 1855 const string funcCall = genGatherFuncCall(baseParams.gatherType, baseParams.textureFormat, gatherArgs, baseParams.levelMode, baseParams.baseLevel, refZExpr, offsetRange, 1, baseParams.offsetSize, baseParams.sparseCase); in genGatherPrograms() 1925 const int levelBegin = ((m_baseParams.levelMode == LevelMode::NORMAL) ? m_baseParams.baseLevel : 0); in createTexture() 1927 DE_ASSERT(m_baseParams.baseLevel < texture->getNumLevels()); in createTexture() 1948 return TextureGatherInstance::verify(rendered, getOneLevelSubView(tcu::Texture2DView(m_swizzledTexture), m_baseParams.baseLevel), texCoord in verify() 1636 genGatherFuncCall(GatherType gatherType, const tcu::TextureFormat& textureFormat, const GatherArgs& gatherArgs, LevelMode levelMode, deUint32 baseLevel, const string& refZExpr, const IVec2& offsetRange, int indentationDepth, OffsetSize offsetSize, const ImageBackingMode sparseCase) genGatherFuncCall() argument 1981 TextureGather2DCase(tcu::TestContext& testCtx, const string& name, const GatherType gatherType, const OffsetSize offsetSize, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const IVec2& textureSize, const ImageBackingMode sparseCase) TextureGather2DCase() argument 2207 TextureGather2DArrayCase(tcu::TestContext& testCtx, const string& name, const GatherType gatherType, const OffsetSize offsetSize, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const IVec3& textureSize, const ImageBackingMode sparseCase) TextureGather2DArrayCase() argument 2435 TextureGatherCubeCase(tcu::TestContext& testCtx, const string& name, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const int textureSize, const ImageBackingMode sparseCase) TextureGatherCubeCase() argument 2506 makeTextureGatherCase(TextureType textureType, tcu::TestContext& testCtx, const string& name, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& texSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, LevelMode levelMode, int baseLevel, const IVec3& textureSize, deUint32 flags = 0, const ImageBackingMode sparseCase = ShaderRenderCaseInstance::IMAGE_BACKING_MODE_REGULAR) makeTextureGatherCase() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureGatherTests.cpp | 1013 int baseLevel; member 1042 , baseLevel (baseLevel_) in GatherCaseBaseParams() 1059 , baseLevel (0) in GatherCaseBaseParams() 1298 textureParams.baseMipLevel = m_baseParams.baseLevel; in init() 1652 deUint32 baseLevel, in genGatherFuncCall() 1664 levelStr = de::toString(baseLevel) + ".0"; in genGatherFuncCall() 1867 const string funcCall = genGatherFuncCall(baseParams.gatherType, baseParams.textureFormat, gatherArgs, baseParams.levelMode, baseParams.baseLevel, refZExpr, offsetRange, 1, baseParams.offsetSize, baseParams.sparseCase); in genGatherPrograms() 1937 const int levelBegin = ((m_baseParams.levelMode == LevelMode::NORMAL) ? m_baseParams.baseLevel : 0); in createTexture() 1939 DE_ASSERT(m_baseParams.baseLevel < texture->getNumLevels()); in createTexture() 1960 return TextureGatherInstance::verify(rendered, getOneLevelSubView(tcu::Texture2DView(m_swizzledTexture), m_baseParams.baseLevel), texCoord in verify() 1648 genGatherFuncCall(GatherType gatherType, const tcu::TextureFormat& textureFormat, const GatherArgs& gatherArgs, LevelMode levelMode, deUint32 baseLevel, const string& refZExpr, const IVec2& offsetRange, int indentationDepth, OffsetSize offsetSize, const ImageBackingMode sparseCase) genGatherFuncCall() argument 1994 TextureGather2DCase(tcu::TestContext& testCtx, const string& name, const string& description, const GatherType gatherType, const OffsetSize offsetSize, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const IVec2& textureSize, const ImageBackingMode sparseCase) TextureGather2DCase() argument 2222 TextureGather2DArrayCase(tcu::TestContext& testCtx, const string& name, const string& description, const GatherType gatherType, const OffsetSize offsetSize, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const IVec3& textureSize, const ImageBackingMode sparseCase) TextureGather2DArrayCase() argument 2452 TextureGatherCubeCase(tcu::TestContext& testCtx, const string& name, const string& description, const tcu::TextureFormat textureFormat, const tcu::Sampler::CompareMode shadowCompareMode, const tcu::Sampler::WrapMode wrapS, const tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, const tcu::Sampler::FilterMode minFilter, const tcu::Sampler::FilterMode magFilter, const LevelMode levelMode, const int baseLevel, const deUint32 flags, const int textureSize, const ImageBackingMode sparseCase) TextureGatherCubeCase() argument 2524 makeTextureGatherCase(TextureType textureType, tcu::TestContext& testCtx, const string& name, const string& description, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& texSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, LevelMode levelMode, int baseLevel, const IVec3& textureSize, deUint32 flags = 0, const ImageBackingMode sparseCase = ShaderRenderCaseInstance::IMAGE_BACKING_MODE_REGULAR) makeTextureGatherCase() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | texobj.c | 661 const GLint baseLevel = t->Attrib.BaseLevel; in _mesa_test_texobj_completeness() local 680 if ((baseLevel < 0) || (baseLevel >= MAX_TEXTURE_LEVELS)) { in _mesa_test_texobj_completeness() 681 incomplete(t, BASE, "base level = %d is invalid", baseLevel); in _mesa_test_texobj_completeness() 685 if (t->Attrib.MaxLevel < baseLevel) { in _mesa_test_texobj_completeness() 687 t->Attrib.MaxLevel, baseLevel); in _mesa_test_texobj_completeness() 691 baseImage = t->Image[0][baseLevel]; in _mesa_test_texobj_completeness() 695 incomplete(t, BASE, "Image[baseLevel=%d] == NULL", baseLevel); in _mesa_test_texobj_completeness() 731 (int) (baseLevel in _mesa_test_texobj_completeness() [all...] |
H A D | mipmap.h | 42 unsigned baseLevel, unsigned maxLevel);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | TextureStorage11.h | 81 GLint baseLevel, 180 // The baseLevel parameter should *not* have mTopLevel applied. 182 int baseLevel, 236 SamplerKey(int baseLevel, int mipLevels, bool swizzle, bool dropStencil); 240 int baseLevel; member 339 int baseLevel, 424 int baseLevel, 525 int baseLevel, 601 int baseLevel, 682 int baseLevel, [all...] |
H A D | TextureStorage11.cpp | 36 : baseLevel(0), mipLevels(0), swizzle(false), dropStencil(false) in SamplerKey() 39 TextureStorage11::SamplerKey::SamplerKey(int baseLevel, in SamplerKey() argument 43 : baseLevel(baseLevel), mipLevels(mipLevels), swizzle(swizzle), dropStencil(dropStencil) in SamplerKey() 48 return std::tie(baseLevel, mipLevels, swizzle, dropStencil) < in operator <() 49 std::tie(rhs.baseLevel, rhs.mipLevels, rhs.swizzle, rhs.dropStencil); in operator <() 322 ANGLE_TRY(createSRVForSampler(context, key.baseLevel, key.mipLevels, format, *texture, &srv)); in getCachedOrCreateSRVForSampler() 365 GLint baseLevel, in getSRVLevels() 370 unsigned int mipLevels = maxLevel - baseLevel + 1; in getSRVLevels() 374 mipLevels = std::min(mipLevels, mMipLevels - mTopLevel - baseLevel); in getSRVLevels() 364 getSRVLevels(const gl::Context *context, GLint baseLevel, GLint maxLevel, const d3d11::SharedSRV **outSRV) getSRVLevels() argument 1450 createSRVForSampler(const gl::Context *context, int baseLevel, int mipLevels, DXGI_FORMAT format, const TextureHelper11 &texture, d3d11::SharedSRV *outSRV) createSRVForSampler() argument 1745 createSRVForSampler(const gl::Context *context, int baseLevel, int mipLevels, DXGI_FORMAT format, const TextureHelper11 &texture, d3d11::SharedSRV *outSRV) createSRVForSampler() argument 2047 createSRVForSampler(const gl::Context *context, int baseLevel, int mipLevels, DXGI_FORMAT format, const TextureHelper11 &texture, d3d11::SharedSRV *outSRV) createSRVForSampler() argument 2612 createSRVForSampler(const gl::Context *context, int baseLevel, int mipLevels, DXGI_FORMAT format, const TextureHelper11 &texture, d3d11::SharedSRV *outSRV) createSRVForSampler() argument 2972 createSRVForSampler(const gl::Context *context, int baseLevel, int mipLevels, DXGI_FORMAT format, const TextureHelper11 &texture, d3d11::SharedSRV *outSRV) createSRVForSampler() argument 3365 createSRVForSampler(const gl::Context *context, int baseLevel, int mipLevels, DXGI_FORMAT format, const TextureHelper11 &texture, d3d11::SharedSRV *outSRV) createSRVForSampler() argument 3827 createSRVForSampler(const gl::Context *context, int baseLevel, int mipLevels, DXGI_FORMAT format, const TextureHelper11 &texture, d3d11::SharedSRV *outSRV) createSRVForSampler() argument 4090 createSRVForSampler( const gl::Context *context, int baseLevel, int mipLevels, DXGI_FORMAT format, const TextureHelper11 &texture, d3d11::SharedSRV *outSRV) createSRVForSampler() argument [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureGatherTests.cpp | 975 int baseLevel, 1049 int baseLevel, in TextureGatherCase() 1061 , m_baseLevel (baseLevel) in TextureGatherCase() 1656 int baseLevel, in TextureGather2DCase() 1659 : TextureGatherCase (context, name, description, TEXTURETYPE_2D, gatherType, offsetSize, textureFormat, shadowCompareMode, wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags) in TextureGather2DCase() 1746 int baseLevel, 1749 : TextureGatherCase (context, name, description, TEXTURETYPE_2D_ARRAY, gatherType, offsetSize, textureFormat, shadowCompareMode, wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags) 1878 int baseLevel, 1881 : TextureGatherCase (context, name, description, TEXTURETYPE_CUBE, GATHERTYPE_BASIC, OFFSETSIZE_NONE, textureFormat, shadowCompareMode, wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags) 2018 int baseLevel, 1036 TextureGatherCase(Context& context, const char* name, const char* description, TextureType textureType, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& textureSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, int baseLevel, deUint32 flags) TextureGatherCase() argument 1644 TextureGather2DCase(Context& context, const char* name, const char* description, GatherType gatherType, OffsetSize offsetSize, tcu::TextureFormat textureFormat, tcu::Sampler::CompareMode shadowCompareMode, tcu::Sampler::WrapMode wrapS, tcu::Sampler::WrapMode wrapT, const MaybeTextureSwizzle& texSwizzle, tcu::Sampler::FilterMode minFilter, tcu::Sampler::FilterMode magFilter, int baseLevel, deUint32 flags, const IVec2& textureSize) TextureGather2DCase() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Sampler.hpp | 56 int baseLevel; member 192 void setBaseLevel(int baseLevel);
|
H A D | Sampler.cpp | 76 texture.baseLevel = 0; in Sampler() 345 void Sampler::setBaseLevel(int baseLevel) in setBaseLevel() argument 347 texture.baseLevel = baseLevel; in setBaseLevel()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Texture.cpp | 210 bool TextureState::setBaseLevel(GLuint baseLevel) in setBaseLevel() argument 212 if (mBaseLevel != baseLevel) in setBaseLevel() 214 mBaseLevel = baseLevel; in setBaseLevel() 564 const GLuint baseLevel = getEffectiveBaseLevel(); in getEnabledLevelCount() local 570 for (size_t enabledLevel = baseLevel; enabledLevel <= maxLevel; ++enabledLevel, ++levelCount) in getEnabledLevelCount() 689 void TextureState::setImageDescChain(GLuint baseLevel, 695 for (GLuint level = baseLevel; level <= maxLevel; level++) 697 int relativeLevel = (level - baseLevel); 1011 angle::Result Texture::setBaseLevel(const Context *context, GLuint baseLevel) in setBaseLevel() argument 1013 if (mState.setBaseLevel(baseLevel)) in setBaseLevel() 1712 const GLuint baseLevel = mState.getEffectiveBaseLevel(); generateMipmap() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | renderer9_utils.h | 45 size_t baseLevel);
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTextureTestUtil.cpp | 103 static tcu::Texture1DView getSubView (const tcu::Texture1DView& view, int baseLevel, int maxLevel, tcu::ImageViewMinLodParams* minLodParams DE_UNUSED_ATTR) in getSubView() argument 105 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() 111 static tcu::Texture2DView getSubView (const tcu::Texture2DView& view, int baseLevel, int maxLevel, tcu::ImageViewMinLodParams* minLodParams = DE_NULL) in getSubView() argument 113 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() 119 static tcu::TextureCubeView getSubView (const tcu::TextureCubeView& view, int baseLevel, int maxLevel, tcu::ImageViewMinLodParams* minLodParams = DE_NULL) in getSubView() argument 121 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() 132 static tcu::Texture3DView getSubView (const tcu::Texture3DView& view, int baseLevel, int maxLevel, tcu::ImageViewMinLodParams* minLodParams = DE_NULL) in getSubView() argument 134 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() 140 static tcu::TextureCubeArrayView getSubView (const tcu::TextureCubeArrayView& view, int baseLevel, int maxLevel, tcu::ImageViewMinLodParams* minLodParams DE_UNUSED_ATTR = DE_NULL) in getSubView() argument 142 const int clampedBase = de::clamp(baseLevel, in getSubView() [all...] |
H A D | gluTextureTestUtil.hpp | 127 , baseLevel (0) in ReferenceParams() 143 , baseLevel (0) in ReferenceParams() 157 int baseLevel; member
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | TextureVk.cpp | 1944 vk::LevelIndex baseLevel = mImage->toVkLevel(gl::LevelIndex(mState.getEffectiveBaseLevel())); in generateMipmap() local 1963 return mImage->generateMipmapsWithBlit(contextVk, baseLevel, maxLevel); in generateMipmap() 1973 angle::Result TextureVk::setBaseLevel(const gl::Context *context, GLuint baseLevel) in setBaseLevel() argument 2006 // For immutable texture, baseLevel/maxLevel should be a subset of the texture's actual in maybeUpdateBaseMaxLevels() 2534 gl::LevelIndex baseLevel(mState.getEffectiveBaseLevel()); in prepareForGenerateMipmap() 2538 // baseLevel). in prepareForGenerateMipmap() 2539 gl::LevelIndex firstGeneratedLevel = baseLevel + 1; in prepareForGenerateMipmap() 2544 // Generate bitmask for (baseLevel, maxLevel]. `+1` because bitMask takes `the number of bits` in prepareForGenerateMipmap() 2547 levelsMask &= static_cast<uint32_t>(~angle::Bit<uint32_t>(baseLevel.get())); in prepareForGenerateMipmap() 2548 // Remove (baseLevel, maxLeve in prepareForGenerateMipmap() 3211 GLint baseLevel = static_cast<int>(mState.getBaseLevel()); getTexImage() local [all...] |
H A D | vk_utils.cpp | 1622 vk::LevelIndex GetLevelIndex(gl::LevelIndex levelGL, gl::LevelIndex baseLevel) in GetLevelIndex() argument 1624 ASSERT(baseLevel <= levelGL); in GetLevelIndex() 1625 return vk::LevelIndex(levelGL.get() - baseLevel.get()); in GetLevelIndex() 1667 gl::LevelIndex GetLevelIndex(vk::LevelIndex levelVk, gl::LevelIndex baseLevel) in GetLevelIndex() argument 1669 return gl::LevelIndex(levelVk.get() + baseLevel.get()); in GetLevelIndex()
|
H A D | vk_helpers.cpp | 5526 LevelIndex baseLevel, in generateMipmapsWithBlit() 5530 gl::LevelIndex baseLevelGL = toGLLevel(baseLevel); in generateMipmapsWithBlit() 5563 if (mipLevel > baseLevel && mipLevel <= maxLevel) in generateMipmapsWithBlit() 5602 if (baseLevel.get() > 0) in generateMipmapsWithBlit() 5604 // [0:baseLevel-1] from TRANSFER_DST to SHADER_READ in generateMipmapsWithBlit() 5606 barrier.subresourceRange.levelCount = baseLevel.get(); in generateMipmapsWithBlit() 5616 // [baseLevel:maxLevel-1] from TRANSFER_SRC to SHADER_READ in generateMipmapsWithBlit() 5618 barrier.subresourceRange.baseMipLevel = baseLevel.get(); in generateMipmapsWithBlit() 5619 barrier.subresourceRange.levelCount = maxLevel.get() - baseLevel.get(); in generateMipmapsWithBlit() 6368 gl::LevelIndex baseLevel) in stageSubresourceUpdatesFromAllImageLevels() 5525 generateMipmapsWithBlit(ContextVk *contextVk, LevelIndex baseLevel, LevelIndex maxLevel) generateMipmapsWithBlit() argument 6367 stageSubresourceUpdatesFromAllImageLevels(RefCounted<ImageHelper> *image, gl::LevelIndex baseLevel) stageSubresourceUpdatesFromAllImageLevels() argument 8044 initReadViews(ContextVk *contextVk, gl::TextureType viewType, const ImageHelper &image, const angle::Format &format, const gl::SwizzleState &formatSwizzle, const gl::SwizzleState &readSwizzle, LevelIndex baseLevel, uint32_t levelCount, uint32_t baseLayer, uint32_t layerCount, bool requiresSRGBViews, VkImageUsageFlags imageUsageFlags) initReadViews() argument 8090 initReadViewsImpl(ContextVk *contextVk, gl::TextureType viewType, const ImageHelper &image, const angle::Format &format, const gl::SwizzleState &formatSwizzle, const gl::SwizzleState &readSwizzle, LevelIndex baseLevel, uint32_t levelCount, uint32_t baseLayer, uint32_t layerCount) initReadViewsImpl() argument 8143 initSRGBReadViewsImpl(ContextVk *contextVk, gl::TextureType viewType, const ImageHelper &image, const angle::Format &format, const gl::SwizzleState &formatSwizzle, const gl::SwizzleState &readSwizzle, LevelIndex baseLevel, uint32_t levelCount, uint32_t baseLayer, uint32_t layerCount, VkImageUsageFlags imageUsageFlags) initSRGBReadViewsImpl() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | TextureD3D.cpp | 445 const GLuint baseLevel = mState.getEffectiveBaseLevel(); in generateMipmap() local 447 ASSERT(maxLevel > baseLevel); // Should be checked before calling this. in generateMipmap() 653 angle::Result TextureD3D::setBaseLevel(const gl::Context *context, GLuint baseLevel) in setBaseLevel() argument 659 mBaseLevel = baseLevel; in setBaseLevel() 1402 const GLuint baseLevel = mState.getEffectiveBaseLevel(); in initMipmapImages() local 1404 // Purge array levels baseLevel + 1 through q and reset them to represent the generated mipmap in initMipmapImages() 1406 for (GLuint level = baseLevel + 1; level <= maxLevel; level++) in initMipmapImages() 2113 const GLuint baseLevel = mState.getEffectiveBaseLevel(); 2115 // Purge array levels baseLevel + 1 through q and reset them to represent the generated mipmap 2119 for (GLuint level = baseLevel [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | ubiditransform.cpp | 74 UBiDiLevel baseLevel; /* paragraph level to be used with setPara */ member 132 pTransform->pActiveScheme->baseLevel, NULL, pErrorCode); in action_resolve()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | ubiditransform.cpp | 74 UBiDiLevel baseLevel; /* paragraph level to be used with setPara */ member 132 pTransform->pActiveScheme->baseLevel, nullptr, pErrorCode); in action_resolve()
|