Home
last modified time | relevance | path

Searched refs:baseImage (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/mesa/drivers/common/
Dmeta_generate_mipmap.c62 struct gl_texture_image *baseImage; in fallback_required() local
75 baseImage = _mesa_select_tex_image(texObj, target, srcLevel); in fallback_required()
76 if (!baseImage) { in fallback_required()
82 if (_mesa_is_format_compressed(baseImage->TexFormat)) { in fallback_required()
85 _mesa_get_format_name(baseImage->TexFormat)); in fallback_required()
89 if (_mesa_is_format_srgb(baseImage->TexFormat) && in fallback_required()
114 GL_COLOR_ATTACHMENT0, baseImage, 0); in fallback_required()
228 const struct gl_texture_image *baseImage = in _mesa_meta_GenerateMipmap() local
230 const bool srgb = _mesa_is_format_srgb(baseImage->TexFormat); in _mesa_meta_GenerateMipmap()
/third_party/mesa3d/src/mesa/main/
Dtexobj.c648 const struct gl_texture_image *baseImage; in _mesa_test_texobj_completeness() local
677 baseImage = t->Image[0][baseLevel]; in _mesa_test_texobj_completeness()
680 if (!baseImage) { in _mesa_test_texobj_completeness()
686 if (baseImage->Width == 0 || in _mesa_test_texobj_completeness()
687 baseImage->Height == 0 || in _mesa_test_texobj_completeness()
688 baseImage->Depth == 0) { in _mesa_test_texobj_completeness()
695 GLenum datatype = _mesa_get_format_datatype(baseImage->TexFormat); in _mesa_test_texobj_completeness()
717 (int) (baseLevel + baseImage->MaxNumLevels - 1), in _mesa_test_texobj_completeness()
747 assert(baseImage->Width2 == baseImage->Height); in _mesa_test_texobj_completeness()
753 t->Image[face][baseLevel]->Width2 != baseImage->Width2) { in _mesa_test_texobj_completeness()
[all …]
Dmipmap.c57 const struct gl_texture_image *baseImage; in _mesa_compute_num_levels() local
60 baseImage = _mesa_get_tex_image(ctx, texObj, target, texObj->Attrib.BaseLevel); in _mesa_compute_num_levels()
62 numLevels = texObj->Attrib.BaseLevel + baseImage->MaxNumLevels; in _mesa_compute_num_levels()
1914 const struct gl_texture_image *baseImage = in _mesa_prepare_mipmap_levels() local
1917 if (baseImage == NULL) in _mesa_prepare_mipmap_levels()
1921 GLint width = baseImage->Width; in _mesa_prepare_mipmap_levels()
1922 GLint height = baseImage->Height; in _mesa_prepare_mipmap_levels()
1923 GLint depth = baseImage->Depth; in _mesa_prepare_mipmap_levels()
1924 const GLenum intFormat = baseImage->InternalFormat; in _mesa_prepare_mipmap_levels()
1925 const mesa_format texFormat = baseImage->TexFormat; in _mesa_prepare_mipmap_levels()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp141 const ImageD3D *baseImage = getBaseLevelImage(); in getBaseLevelWidth() local
142 return (baseImage ? baseImage->getWidth() : 0); in getBaseLevelWidth()
147 const ImageD3D *baseImage = getBaseLevelImage(); in getBaseLevelHeight() local
148 return (baseImage ? baseImage->getHeight() : 0); in getBaseLevelHeight()
153 const ImageD3D *baseImage = getBaseLevelImage(); in getBaseLevelDepth() local
154 return (baseImage ? baseImage->getDepth() : 0); in getBaseLevelDepth()
162 const ImageD3D *baseImage = getBaseLevelImage(); in getBaseLevelInternalFormat() local
163 return (baseImage ? baseImage->getInternalFormat() : GL_NONE); in getBaseLevelInternalFormat()
541 ImageD3D *baseImage = getBaseLevelImage(); in isBaseImageZeroSize() local
543 if (!baseImage || baseImage->getWidth() <= 0 || baseImage->getHeight() <= 0) in isBaseImageZeroSize()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp142 const ImageD3D *baseImage = getBaseLevelImage(); in getBaseLevelWidth() local
143 return (baseImage ? baseImage->getWidth() : 0); in getBaseLevelWidth()
148 const ImageD3D *baseImage = getBaseLevelImage(); in getBaseLevelHeight() local
149 return (baseImage ? baseImage->getHeight() : 0); in getBaseLevelHeight()
154 const ImageD3D *baseImage = getBaseLevelImage(); in getBaseLevelDepth() local
155 return (baseImage ? baseImage->getDepth() : 0); in getBaseLevelDepth()
163 const ImageD3D *baseImage = getBaseLevelImage(); in getBaseLevelInternalFormat() local
164 return (baseImage ? baseImage->getInternalFormat() : GL_NONE); in getBaseLevelInternalFormat()
559 ImageD3D *baseImage = getBaseLevelImage(); in isBaseImageZeroSize() local
561 if (!baseImage || baseImage->getWidth() <= 0 || baseImage->getHeight() <= 0) in isBaseImageZeroSize()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiMemoryRequirementInvarianceTests.cpp713 Move<VkImage> baseImage = createImage (vk, device, &imageCreateInfo); in iterate() local
716 VkMemoryRequirements baseImageRequirements = getImageMemoryRequirements (vk, device, *baseImage); in iterate()
762 *baseImage // VkImage image in iterate()