Home
last modified time | relevance | path

Searched refs:texture_format (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dgen_copy_conversion_table.py61 def parse_texture_format_case(texture_format, framebuffer_formats): argument
66 texture_format=texture_format, framebuffer_format_cases=framebuffer_format_cases)
93 for texture_format, framebuffer_format in data:
94 if texture_format not in format_map:
95 format_map[texture_format] = []
96 format_map[texture_format] += [framebuffer_format]
100 for texture_format, framebuffer_formats in sorted(format_map.items()):
101 texture_format_cases += parse_texture_format_case(texture_format, framebuffer_formats)
DGLES1Shaders.inc27 // int texture_format[kMaxTexUnits];
1080 i, texture_format[i], texture_env_mode[i], combine_rgb[i], combine_alpha[i],
/third_party/mesa3d/src/freedreno/fdl/
Dfd6_view.c212 enum a6xx_format texture_format = in fdl6_view_init() local
225 texture_format = FMT6_Z24_UINT_S8_UINT; in fdl6_view_init()
229 if (texture_format == FMT6_Z24_UNORM_S8_UINT_AS_R8G8B8A8 && !ubwc_enabled) in fdl6_view_init()
230 texture_format = FMT6_8_8_8_8_UNORM; in fdl6_view_init()
232 enum a6xx_format storage_format = texture_format; in fdl6_view_init()
247 A6XX_TEX_CONST_0_FMT(texture_format) | in fdl6_view_init()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp874 glw::GLint mipmap_level, glw::GLenum texture_format, glw::GLenum texture_type, in prepareDataForTexture() argument
889 texture_height, 1 /* depth */, texture_format, texture_type, &texture_data[0]); in prepareDataForTexture()
908 glw::GLenum texture_format, glw::GLenum texture_type, glw::GLsizei texture_width, in prepareDataForColorFloatTexture() argument
915 …prepareDataForTexture<glw::GLfloat, 4>(gl, cube_face, element_index, mipmap_level, texture_format,… in prepareDataForColorFloatTexture()
936 glw::GLenum texture_format, glw::GLenum texture_type, glw::GLsizei texture_width, in prepareDataForColorIntTexture() argument
943 …prepareDataForTexture<T, 4>(gl, cube_face, element_index, mipmap_level, texture_format, texture_ty… in prepareDataForColorIntTexture()
961 glw::GLenum texture_format, glw::GLenum texture_type, glw::GLsizei texture_width, in prepareDataForDepthFloatTexture() argument
968 …prepareDataForTexture<glw::GLfloat, 1>(gl, cube_face, element_index, mipmap_level, texture_format,… in prepareDataForDepthFloatTexture()
986 glw::GLenum texture_format, glw::GLenum texture_type, glw::GLsizei texture_width, in prepareDataForStencilUIntTexture() argument
993 …prepareDataForTexture<glw::GLubyte, 1>(gl, cube_face, element_index, mipmap_level, texture_format,… in prepareDataForStencilUIntTexture()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cTextureSwizzleTests.cpp2718 const _texture_format& texture_format = texture_formats[format_idx]; in fillSourceTexture() local
2729 switch (texture_format.m_internal_format) in fillSourceTexture()
2744 texture_format.m_format, texture_format.m_type, data); in fillSourceTexture()
3447 const _texture_format& texture_format = texture_formats[format_idx]; in prepareSourceTexture() local
3451 const glw::GLenum format = texture_format.m_format; in prepareSourceTexture()
3453 const glw::GLenum internal_format = texture_format.m_internal_format; in prepareSourceTexture()
3456 const glw::GLenum type = texture_format.m_type; in prepareSourceTexture()
3553 if (texture_format.m_ds_mode == GL_STENCIL_INDEX) in prepareSourceTexture()
3555 gl.texParameteri(target, GL_DEPTH_STENCIL_TEXTURE_MODE, texture_format.m_ds_mode); in prepareSourceTexture()
Dgl4cTextureViewTests.cpp2110 glw::GLenum texture_internalformat, glw::GLenum texture_format, in initTextureStorage() argument
2153 texture_format, texture_type, DE_NULL); /* pixels */ in initTextureStorage()
2166 texture_format, texture_type, DE_NULL); /* pixels */ in initTextureStorage()
2183 texture_format, texture_type, DE_NULL); /* pixels */ in initTextureStorage()
2228 texture_format, texture_type, DE_NULL); /* pixels */ in initTextureStorage()
2241 texture_format, texture_type, DE_NULL); /* pixels */ in initTextureStorage()
7507 _format texture_format = TextureViewUtilities::getFormatOfInternalformat(texture_internalformat); in verifyResultData() local
7580 (texture_format == FORMAT_SNORM) ? in verifyResultData()
7582 (texture_format == FORMAT_FLOAT) ? GL_FLOAT : GL_UNSIGNED_BYTE, in verifyResultData()
Dgl4cTextureViewTests.hpp161 glw::GLenum texture_internalformat, glw::GLenum texture_format,
/third_party/vk-gl-cts/external/openglcts/modules/glesext/
DesextcTestCaseBase.hpp208 glw::GLenum texture_format, glw::GLuint width,
DesextcTestCaseBase.cpp953 glw::GLuint color_texture_id, glw::GLenum texture_format, in setupFramebufferWithTextureAsAttachment() argument
960 gl.texStorage2D(GL_TEXTURE_2D, 1 /* levels */, texture_format, texture_width, texture_height); in setupFramebufferWithTextureAsAttachment()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c3744 const enum pipe_format texture_format = samp0->texture_state.format; in generate_variant() local
3760 ((texture_format && in generate_variant()
3761 util_is_format_compatible(util_format_description(texture_format), in generate_variant()
3764 (texture_format == PIPE_FORMAT_B8G8R8A8_UNORM || in generate_variant()
3765 texture_format == PIPE_FORMAT_B8G8R8X8_UNORM) && in generate_variant()