Searched refs:baseLevel (Results 1 - 25 of 41) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
H A Dst_gen_mipmap.c83 const uint baseLevel = texObj->BaseLevel; local
116 _mesa_prepare_mipmap_levels(ctx, texObj, baseLevel, lastLevel);
144 last_layer = util_max_layer(pt, baseLevel);
158 !st->pipe->generate_mipmap(st->pipe, pt, format, baseLevel,
161 if (!util_gen_mipmap(st->pipe, pt, format, baseLevel, lastLevel,
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_mipmap_tree.h71 GLuint baseLevel; /** gl_texture_object->baseLevel it was created for */ member in struct:_radeon_mipmap_tree
74 GLuint width0; /** Width of baseLevel image */
75 GLuint height0; /** Height of baseLevel image */
76 GLuint depth0; /** Depth of baseLevel image */
104 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
H A Dradeon_mipmap_tree.c158 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) {
179 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
192 mt->baseLevel = baseLevel;
317 if (texObj->BaseLevel < mt->baseLevel)
320 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel];
178 radeon_miptree_create(radeonContextPtr rmesa, GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, GLuint width0, GLuint height0, GLuint depth0, GLuint tilebits) argument
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_mipmap_tree.h71 GLuint baseLevel; /** gl_texture_object->baseLevel it was created for */ member in struct:_radeon_mipmap_tree
74 GLuint width0; /** Width of baseLevel image */
75 GLuint height0; /** Height of baseLevel image */
76 GLuint depth0; /** Depth of baseLevel image */
104 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
H A Dradeon_mipmap_tree.c158 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) {
179 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
192 mt->baseLevel = baseLevel;
317 if (texObj->BaseLevel < mt->baseLevel)
320 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel];
178 radeon_miptree_create(radeonContextPtr rmesa, GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, GLuint width0, GLuint height0, GLuint depth0, GLuint tilebits) argument
/external/mesa3d/src/mesa/main/
H A Dmipmap.h46 unsigned baseLevel, unsigned maxLevel);
H A Dtexobj.c651 const GLint baseLevel = t->BaseLevel; local
670 if ((baseLevel < 0) || (baseLevel >= MAX_TEXTURE_LEVELS)) {
671 incomplete(t, BASE, "base level = %d is invalid", baseLevel);
675 if (t->MaxLevel < baseLevel) {
677 t->MaxLevel, baseLevel);
681 baseImage = t->Image[0][baseLevel];
685 incomplete(t, BASE, "Image[baseLevel=%d] == NULL", baseLevel);
746 (int) (baseLevel
[all...]
/external/swiftshader/src/Renderer/
H A DSampler.hpp56 int baseLevel; member in struct:sw::Texture
192 void setBaseLevel(int baseLevel);
H A DSampler.cpp76 texture.baseLevel = 0;
345 void Sampler::setBaseLevel(int baseLevel) argument
347 texture.baseLevel = baseLevel;
H A DVertexProcessor.hpp267 void setBaseLevel(unsigned int sampler, int baseLevel);
H A DPixelProcessor.hpp241 void setBaseLevel(unsigned int sampler, int baseLevel);
H A DRenderer.hpp352 void setBaseLevel(SamplerType type, int sampler, int baseLevel);
H A DVertexProcessor.cpp659 void VertexProcessor::setBaseLevel(unsigned int sampler, int baseLevel) argument
663 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setBaseLevel(baseLevel);
/external/deqp/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp4746 const int baseLevel = getBaseLevel();
4748 if (hasLevel(baseLevel))
4750 const tcu::ConstPixelBufferAccess& level0 = getLevel(baseLevel);
4757 const int numLevels = de::min(getMaxLevel()-baseLevel+1, getNumMipLevels1D(w));
4761 if (hasLevel(baseLevel+levelNdx))
4763 const tcu::ConstPixelBufferAccess& level = getLevel(baseLevel+levelNdx);
4811 const int baseLevel = getBaseLevel();
4813 if (hasLevel(baseLevel) && !isEmpty(getLevel(baseLevel)))
4815 const int width = getLevel(baseLevel)
[all...]
/external/mesa3d/src/mesa/drivers/common/
H A Dmeta_generate_mipmap.c152 const GLuint baseLevel = texObj->BaseLevel; local
269 _mesa_prepare_mipmap_levels(ctx, texObj, baseLevel, maxLevel);
271 for (dstLevel = baseLevel + 1; dstLevel <= maxLevel; dstLevel++) {
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderTextureGatherTests.cpp1001 int baseLevel; member in struct:vkt::sr::__anon4525::GatherCaseBaseParams
1028 , baseLevel (baseLevel_)
1044 , baseLevel (0)
1203 if (m_baseParams.baseLevel != 0)
1204 textureParams.baseMipLevel = m_baseParams.baseLevel;
1209 log << TestLog::Message << "Texture base level is " << m_baseParams.baseLevel << TestLog::EndMessage
1715 const int levelBegin = m_baseParams.baseLevel;
1717 DE_ASSERT(m_baseParams.baseLevel < texture->getNumLevels());
1738 return TextureGatherInstance::verify(rendered, getOneLevelSubView(tcu::Texture2DView(m_swizzledTexture), m_baseParams.baseLevel), texCoords, m_iterations[iterationNdx]);
1756 const int baseLevel,
1770 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 int baseLevel, const deUint32 flags, const IVec2& textureSize, const ImageBackingMode sparseCase) argument
1982 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 int baseLevel, const deUint32 flags, const IVec3& textureSize, const ImageBackingMode sparseCase) argument
2200 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 int baseLevel, const deUint32 flags, const int textureSize, const ImageBackingMode sparseCase) argument
2263 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, int baseLevel, const IVec3& textureSize, deUint32 flags = 0, const ImageBackingMode sparseCase = ShaderRenderCaseInstance::IMAGE_BACKING_MODE_REGULAR) argument
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fTextureGatherTests.cpp974 int baseLevel,
1048 int baseLevel,
1060 , m_baseLevel (baseLevel)
1651 int baseLevel,
1654 : TextureGatherCase (context, name, description, TEXTURETYPE_2D, gatherType, offsetSize, textureFormat, shadowCompareMode, wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags)
1741 int baseLevel,
1744 : TextureGatherCase (context, name, description, TEXTURETYPE_2D_ARRAY, gatherType, offsetSize, textureFormat, shadowCompareMode, wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags)
1873 int baseLevel,
1876 : TextureGatherCase (context, name, description, TEXTURETYPE_CUBE, GATHERTYPE_BASIC, OFFSETSIZE_NONE, textureFormat, shadowCompareMode, wrapS, wrapT, texSwizzle, minFilter, magFilter, baseLevel, flags)
2013 int baseLevel,
1035 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) argument
1639 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) argument
[all...]
/external/deqp/framework/opengl/
H A DgluTextureTestUtil.hpp127 , baseLevel (0)
138 , baseLevel (0)
147 int baseLevel; member in struct:glu::TextureTestUtil::ReferenceParams
H A DgluTextureTestUtil.cpp103 static tcu::Texture1DView getSubView (const tcu::Texture1DView& view, int baseLevel, int maxLevel) argument
105 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1);
111 static tcu::Texture2DView getSubView (const tcu::Texture2DView& view, int baseLevel, int maxLevel) argument
113 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1);
119 static tcu::TextureCubeView getSubView (const tcu::TextureCubeView& view, int baseLevel, int maxLevel) argument
121 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1);
132 static tcu::Texture3DView getSubView (const tcu::Texture3DView& view, int baseLevel, int maxLevel) argument
134 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1);
140 static tcu::TextureCubeArrayView getSubView (const tcu::TextureCubeArrayView& view, int baseLevel, int maxLevel) argument
142 const int clampedBase = de::clamp(baseLevel,
[all...]
/external/skia/src/gpu/
H A DGrProxyProvider.cpp312 sk_sp<SkImage> baseLevel = SkMakeImageFromRasterBitmap(bitmap, copyMode); local
314 if (!baseLevel) {
321 return this->createTextureProxy(baseLevel, kNone_GrSurfaceFlags, kTopLeft_GrSurfaceOrigin,
327 [desc, baseLevel, mipmaps, mipColorMode]
337 SkAssertResult(baseLevel->peekPixels(&pixmap));
/external/deqp/external/vulkancts/modules/vulkan/texture/
H A DvktTextureMipmapTests.cpp1022 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel);
1137 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0xac2f274a) % numLevels; local
1139 return baseLevel;
1144 params.baseLevel = getBaseLevel(cellNdx);
1280 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel);
1398 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(m_testParam.minFilterName) ^ 0x23fae13) % numLevels; local
1400 return baseLevel;
1405 params.baseLevel = getBaseLevel(cellNdx);
1547 m_renderer.getTextureBinding(0)->updateTextureViewMipLevels(refParams.baseLevel, refParams.maxLevel);
1664 const int baseLevel local
[all...]
H A DvktTextureTestUtil.hpp142 void updateTextureViewMipLevels (deUint32 baseLevel, deUint32 maxLevel);
/external/icu/icu4c/source/common/
H A Dubiditransform.cpp74 UBiDiLevel baseLevel; /* paragraph level to be used with setPara */ member in struct:__anon7902
132 pTransform->pActiveScheme->baseLevel, NULL, pErrorCode);
/external/deqp/modules/gles3/functional/
H A Des3fTextureMipmapTests.cpp1672 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(getName()) ^ 0xac2f274a) % numLevels; local
1674 return baseLevel;
1685 params.baseLevel = getBaseLevel(cellNdx);
1987 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(getName()) ^ 0x23fae13) % numLevels; local
1989 return baseLevel;
2000 params.baseLevel = getBaseLevel(cellNdx);
2304 const int baseLevel = (deInt32Hash(cellNdx) ^ deStringHash(getName()) ^ 0x7347e9) % numLevels; local
2306 return baseLevel;
2317 params.baseLevel = getBaseLevel(cellNdx);
/external/swiftshader/src/OpenGL/libGLESv2/
H A DContext.cpp3155 GLint baseLevel = texture->getBaseLevel(); local
3172 device->setBaseLevel(samplerType, samplerIndex, baseLevel);
3220 int baseLevel = baseTexture->getBaseLevel(); local
3234 int surfaceLevel = mipmapLevel + baseLevel;
3253 int surfaceLevel = mipmapLevel + baseLevel;
3271 int surfaceLevel = mipmapLevel + baseLevel;
3293 int surfaceLevel = mipmapLevel + baseLevel;

Completed in 523 milliseconds

12