/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_gen_mipmap.c | 83 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 D | radeon_mipmap_tree.h | 71 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 D | radeon_mipmap_tree.c | 158 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 D | radeon_mipmap_tree.h | 71 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 D | radeon_mipmap_tree.c | 158 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/common/ |
H A D | meta_generate_mipmap.c | 152 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/framework/opengl/ |
H A D | gluTextureTestUtil.hpp | 127 , baseLevel (0) 138 , baseLevel (0) 147 int baseLevel; member in struct:glu::TextureTestUtil::ReferenceParams
|
H A D | gluTextureTestUtil.cpp | 103 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/icu/icu4c/source/common/ |
H A D | ubiditransform.cpp | 74 UBiDiLevel baseLevel; /* paragraph level to be used with setPara */ member in struct:__anon7902 132 pTransform->pActiveScheme->baseLevel, NULL, pErrorCode);
|
/external/skia/src/gpu/ |
H A D | GrProxyProvider.cpp | 312 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/swiftshader/src/Renderer/ |
H A D | Sampler.cpp | 76 texture.baseLevel = 0; 345 void Sampler::setBaseLevel(int baseLevel) argument 347 texture.baseLevel = baseLevel;
|
H A D | Sampler.hpp | 56 int baseLevel; member in struct:sw::Texture 192 void setBaseLevel(int baseLevel);
|
H A D | PixelProcessor.cpp | 504 void PixelProcessor::setBaseLevel(unsigned int sampler, int baseLevel) argument 508 context->sampler[sampler].setBaseLevel(baseLevel);
|
H A D | VertexProcessor.cpp | 659 void VertexProcessor::setBaseLevel(unsigned int sampler, int baseLevel) argument 663 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setBaseLevel(baseLevel);
|
/external/mesa3d/src/mesa/main/ |
H A D | texobj.c | 651 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...] |
H A D | mipmap.c | 1879 * Prepare all mipmap levels beyond 'baseLevel' for mipmap generation. 1887 unsigned baseLevel, unsigned maxLevel) 1890 _mesa_select_tex_image(texObj, texObj->Target, baseLevel); 1899 /* Prepare baseLevel + 1, baseLevel + 2, ... */ 1900 for (unsigned level = baseLevel + 1; level <= maxLevel; level++) { 1885 _mesa_prepare_mipmap_levels(struct gl_context *ctx, struct gl_texture_object *texObj, unsigned baseLevel, unsigned maxLevel) argument
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Texture.cpp | 184 bool Texture::setBaseLevel(GLint baseLevel) argument 186 if(baseLevel < 0) 191 mBaseLevel = baseLevel;
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 1022 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 D | vktTextureTestUtil.cpp | 377 void TextureBinding::updateTextureViewMipLevels (deUint32 baseLevel, deUint32 maxLevel) argument 397 baseLevel, // deUint32 baseMipLevel; 398 maxLevel-baseLevel+1, // deUint32 levelCount;
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureMipmapTests.cpp | 1672 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/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureGatherTests.cpp | 1001 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/framework/opengl/simplereference/ |
H A D | sglrReferenceContext.hpp | 97 void setBaseLevel (int baseLevel) { m_baseLevel = baseLevel; } argument
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureGatherTests.cpp | 974 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/swiftshader/src/Shader/ |
H A D | SamplerCore.cpp | 512 Int baseLevel = *Pointer<Int>(texture + OFFSET(Texture, baseLevel)); local 513 Pointer<Byte> mipmap = texture + OFFSET(Texture, mipmap) + (As<Int>(Extract(lod, i)) + baseLevel) * sizeof(Mipmap);
|
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
H A D | vktBindingShaderAccessTests.cpp | 3454 const tcu::ConstPixelBufferAccess baseLevel = sourceImage.getLevel(0); local 3458 const deUint32 arraySize = (viewType == vk::VK_IMAGE_VIEW_TYPE_1D || viewType == vk::VK_IMAGE_VIEW_TYPE_1D_ARRAY) ? (baseLevel.getHeight()) 3459 : (viewType == vk::VK_IMAGE_VIEW_TYPE_2D || viewType == vk::VK_IMAGE_VIEW_TYPE_2D_ARRAY) ? (baseLevel.getDepth()) 3461 : (viewType == vk::VK_IMAGE_VIEW_TYPE_CUBE || viewType == vk::VK_IMAGE_VIEW_TYPE_CUBE_ARRAY) ? (baseLevel.getDepth()) // cube: numFaces * numLayers 3466 (deUint32)baseLevel.getWidth(), 3469 (viewType == vk::VK_IMAGE_VIEW_TYPE_1D || viewType == vk::VK_IMAGE_VIEW_TYPE_1D_ARRAY) ? (1u) : (deUint32)baseLevel.getHeight(), 3472 (viewType == vk::VK_IMAGE_VIEW_TYPE_3D) ? ((deUint32)baseLevel.getDepth()) : (1u), 3480 vk::mapTextureFormat(baseLevel.getFormat()), // format 3506 const tcu::ConstPixelBufferAccess baseLevel = sourceImage.getLevel(0); local 3509 : (viewType == vk::VK_IMAGE_VIEW_TYPE_1D_ARRAY) ? (baseLevel [all...] |