Home
last modified time | relevance | path

Searched refs:baseFormat (Results 1 - 20 of 20) sorted by relevance

/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_sampler_view.c365 compute_texture_format_swizzle(GLenum baseFormat, GLenum depthMode, in compute_texture_format_swizzle() argument
368 switch (baseFormat) { in compute_texture_format_swizzle()
425 assert(!"Unexpected baseFormat"); in compute_texture_format_swizzle()
436 GLenum baseFormat = _mesa_base_tex_image(texObj)->_BaseFormat; in get_texture_format_swizzle() local
444 (baseFormat == GL_DEPTH_COMPONENT || in get_texture_format_swizzle()
445 baseFormat == GL_DEPTH_STENCIL || in get_texture_format_swizzle()
446 baseFormat == GL_STENCIL_INDEX)) { in get_texture_format_swizzle()
454 tex_swizzle = compute_texture_format_swizzle(baseFormat, in get_texture_format_swizzle()
517 GLenum baseFormat = _mesa_base_tex_image(texObj)->_BaseFormat; in st_get_sampler_view_format() local
520 if (baseFormat in st_get_sampler_view_format()
[all...]
H A Dst_format.c1318 GLenum baseFormat = _mesa_base_tex_format(ctx, internalFormat); in st_ChooseTextureFormat() local
1329 if (iformat == baseFormat && iformat == basePackFormat) { in st_ChooseTextureFormat()
1548 GLenum baseFormat, GLboolean is_integer) in st_translate_color()
1553 switch (baseFormat) { in st_translate_color()
1586 switch (baseFormat) { in st_translate_color()
1547 st_translate_color(union pipe_color_union *color, GLenum baseFormat, GLboolean is_integer) st_translate_color() argument
H A Dst_format.h80 GLenum baseFormat, GLboolean is_integer);
H A Dst_cb_texture.c2557 GLenum baseFormat, in fallback_copy_texsubimage()
2592 if ((baseFormat == GL_DEPTH_COMPONENT || in fallback_copy_texsubimage()
2593 baseFormat == GL_DEPTH_STENCIL) && in fallback_copy_texsubimage()
2608 if (baseFormat == GL_DEPTH_COMPONENT || in fallback_copy_texsubimage()
2609 baseFormat == GL_DEPTH_STENCIL) { in fallback_copy_texsubimage()
2554 fallback_copy_texsubimage(struct gl_context *ctx, struct gl_renderbuffer *rb, struct gl_texture_image *stImage, GLenum baseFormat, GLint destX, GLint destY, GLint slice, GLint srcX, GLint srcY, GLsizei width, GLsizei height) fallback_copy_texsubimage() argument
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcPackedPixelsTests.cpp132 GLenum baseFormat; member
1655 if ((internalformat.baseFormat == GL_DEPTH_STENCIL || internalformat.baseFormat == GL_STENCIL_INDEX ||
1656 internalformat.baseFormat == GL_DEPTH_COMPONENT) !=
1665 if (format.format == GL_STENCIL_INDEX || internalformat.baseFormat == GL_STENCIL_INDEX)
1671 !(internalformat.baseFormat == GL_DEPTH_STENCIL || internalformat.baseFormat == GL_DEPTH_COMPONENT))
1679 ((internalformat.baseFormat != GL_STENCIL_INDEX && internalformat.baseFormat != GL_DEPTH_STENCIL) ||
1685 if (format.format == GL_DEPTH_STENCIL && internalformat.baseFormat !
[all...]
H A DglcTextureRepeatModeTests.cpp236 GLenum baseFormat; member
/third_party/mesa3d/src/mesa/main/
H A Dtexgetimage.c284 teximage_needs_rebase(mesa_format texFormat, GLenum baseFormat, in teximage_needs_rebase() argument
289 if (baseFormat == GL_LUMINANCE || in teximage_needs_rebase()
290 baseFormat == GL_INTENSITY) { in teximage_needs_rebase()
296 } else if (baseFormat == GL_LUMINANCE_ALPHA) { in teximage_needs_rebase()
303 (baseFormat != _mesa_get_format_base_format(texFormat))) { in teximage_needs_rebase()
305 _mesa_compute_rgba2base2rgba_component_mapping(baseFormat, in teximage_needs_rebase()
327 const GLenum baseFormat = _mesa_get_format_base_format(texFormat); in get_tex_rgba_compressed() local
366 needsRebase = teximage_needs_rebase(texFormat, baseFormat, true, in get_tex_rgba_compressed()
1143 GLenum baseFormat; in teximage_error_check() local
1151 baseFormat in teximage_error_check()
[all...]
H A Dfbobject.c760 _mesa_is_legal_color_format(const struct gl_context *ctx, GLenum baseFormat) in _mesa_is_legal_color_format() argument
762 switch (baseFormat) { in _mesa_is_legal_color_format()
805 const GLenum baseFormat = in is_format_color_renderable() local
809 valid = _mesa_is_legal_color_format(ctx, baseFormat); in is_format_color_renderable()
912 is_legal_depth_format(const struct gl_context *ctx, GLenum baseFormat) in is_legal_depth_format() argument
914 switch (baseFormat) { in is_legal_depth_format()
943 GLenum baseFormat; in test_attachment_completeness() local
1009 baseFormat = texImage->_BaseFormat; in test_attachment_completeness()
1012 if (!_mesa_is_legal_color_format(ctx, baseFormat)) { in test_attachment_completeness()
1035 if (baseFormat ! in test_attachment_completeness()
1058 const GLenum baseFormat = att->Renderbuffer->_BaseFormat; test_attachment_completeness() local
1304 GLenum baseFormat; _mesa_test_framebuffer_completeness() local
2696 const GLenum baseFormat = _mesa_base_fbo_format(ctx, internalFormat); _mesa_renderbuffer_storage() local
2764 GLenum baseFormat; renderbuffer_storage() local
2945 get_component_bits(GLenum pname, GLenum baseFormat, mesa_format format) get_component_bits() argument
4438 const GLenum baseFormat = _mesa_get_format_base_format(rb->Format); framebuffer_renderbuffer() local
[all...]
H A Dformat_utils.h60 _mesa_compute_rgba2base2rgba_component_mapping(GLenum baseFormat, uint8_t *map);
H A Dfbobject.h104 _mesa_is_legal_color_format(const struct gl_context *ctx, GLenum baseFormat);
H A Dformatquery.c1174 GLenum baseFormat = _mesa_base_fbo_format(ctx, internalformat); in _mesa_GetInternalformativ() local
1175 if (baseFormat != GL_DEPTH_STENCIL && in _mesa_GetInternalformativ()
1176 ((pname == GL_DEPTH_RENDERABLE && baseFormat != GL_DEPTH_COMPONENT) || in _mesa_GetInternalformativ()
1177 (pname == GL_STENCIL_RENDERABLE && baseFormat != GL_STENCIL_INDEX))) in _mesa_GetInternalformativ()
H A Dformat_utils.c143 * \param baseFormat the base internal format involved in the conversion.
154 _mesa_compute_rgba2base2rgba_component_mapping(GLenum baseFormat, uint8_t *map) in _mesa_compute_rgba2base2rgba_component_mapping() argument
159 switch (baseFormat) { in _mesa_compute_rgba2base2rgba_component_mapping()
175 _mesa_compute_component_mapping(GL_RGBA, baseFormat, rgba2base); in _mesa_compute_rgba2base2rgba_component_mapping()
176 _mesa_compute_component_mapping(baseFormat, GL_RGBA, base2rgba); in _mesa_compute_rgba2base2rgba_component_mapping()
H A Dframebuffer.c425 const GLenum baseFormat = _mesa_get_format_base_format(rb->Format); in _mesa_update_framebuffer_visual() local
434 if (_mesa_is_legal_color_format(ctx, baseFormat)) { in _mesa_update_framebuffer_visual()
H A Dteximage.c2292 GLint baseFormat; in copytexture_error_check() local
2385 baseFormat = _mesa_base_tex_format(ctx, internalFormat); in copytexture_error_check()
2386 if (baseFormat < 0) { in copytexture_error_check()
2413 if (_mesa_components_in_format(baseFormat) > in copytexture_error_check()
2417 if (baseFormat == GL_DEPTH_COMPONENT || in copytexture_error_check()
2418 baseFormat == GL_DEPTH_STENCIL || in copytexture_error_check()
2419 baseFormat == GL_STENCIL_INDEX || in copytexture_error_check()
2423 ((baseFormat == GL_LUMINANCE_ALPHA || in copytexture_error_check()
2424 baseFormat == GL_ALPHA) && in copytexture_error_check()
2479 if (!_mesa_source_buffer_exists(ctx, baseFormat)) { in copytexture_error_check()
6706 GLenum baseFormat = _mesa_base_fbo_format(ctx, internalformat); _mesa_is_renderable_texture_format() local
[all...]
H A Dtexparam.c1915 GLenum baseFormat = _mesa_get_format_base_format(texFormat); in get_tex_level_parameter_buffer() local
1960 if (_mesa_base_format_has_channel(baseFormat, pname)) in get_tex_level_parameter_buffer()
1967 if (_mesa_base_format_has_channel(baseFormat, pname)) { in get_tex_level_parameter_buffer()
2028 if (_mesa_base_format_has_channel(baseFormat, pname)) in get_tex_level_parameter_buffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageMismatchedFormatsTests.cpp173 FormatInfo baseFormat = getFormatInfo(format); in matching() local
176 return (baseFormat.VectorWidth == shaderFormat.VectorWidth && in matching()
177 baseFormat.BytesPerPixel == shaderFormat.BytesPerPixel && in matching()
178 baseFormat.ChannelClass == shaderFormat.ChannelClass); in matching()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageMismatchedFormatsTests.cpp173 FormatInfo baseFormat = getFormatInfo(format); in matching() local
176 return (baseFormat.VectorWidth == shaderFormat.VectorWidth && in matching()
177 baseFormat.BytesPerPixel == shaderFormat.BytesPerPixel && in matching()
178 baseFormat.ChannelClass == shaderFormat.ChannelClass); in matching()
/third_party/vk-gl-cts/framework/common/
H A DtcuTextureUtil.hpp161 TextureFormat getEffectiveDepthStencilTextureFormat (const TextureFormat& baseFormat, Sampler::DepthStencilMode mode);
H A DtcuTextureUtil.cpp1540 TextureFormat getEffectiveDepthStencilTextureFormat (const TextureFormat& baseFormat, Sampler::DepthStencilMode mode)
1542 return toSamplerAccess(ConstPixelBufferAccess(baseFormat, IVec3(0, 0, 0), DE_NULL), mode).getFormat();
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DTextureD3D.cpp2078 GLenum baseFormat = getBaseLevelInternalFormat();
2090 faceBaseImage.getInternalFormat() != baseFormat)
3538 GLenum baseFormat = getBaseLevelInternalFormat();
3547 ANGLE_TRY(redefineImage(context, level, baseFormat, levelLayerSize, false));

Completed in 41 milliseconds