/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cTextureGatherTests.cpp | 374 GLenum tex_type = GL_FLOAT; in CreateTexture2DRgb() local 381 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, &pixels[0]); in CreateTexture2DRgb() 387 glTexSubImage2D(target, base_level, 22, 25, 2, 2, format, tex_type, data); in CreateTexture2DRgb() 388 glTexSubImage2D(target, base_level, 16, 10, 1, 1, format, tex_type, data + 0); in CreateTexture2DRgb() 389 glTexSubImage2D(target, base_level, 11, 2, 1, 1, format, tex_type, data + 1); in CreateTexture2DRgb() 390 glTexSubImage2D(target, base_level, 24, 13, 1, 1, format, tex_type, data + 2); in CreateTexture2DRgb() 391 glTexSubImage2D(target, base_level, 9, 14, 1, 1, format, tex_type, data + 3); in CreateTexture2DRgb() 411 GLenum tex_type = GL_FLOAT; in CreateTexture2DRg() local 417 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, 0); in CreateTexture2DRg() 419 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, &pixels[0]); in CreateTexture2DRg() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cTextureGatherTests.cpp | 441 GLenum tex_type = GL_FLOAT; in CreateTexture2DRgb() local 447 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, 0); in CreateTexture2DRgb() 450 glTexSubImage2D(target, 0, 0, 0, csize, csize, format, tex_type, &pixels[0]); in CreateTexture2DRgb() 456 glTexSubImage2D(target, base_level, 22, 25, 2, 2, format, tex_type, data); in CreateTexture2DRgb() 457 glTexSubImage2D(target, base_level, 16, 10, 1, 1, format, tex_type, data + 0); in CreateTexture2DRgb() 458 glTexSubImage2D(target, base_level, 11, 2, 1, 1, format, tex_type, data + 1); in CreateTexture2DRgb() 459 glTexSubImage2D(target, base_level, 24, 13, 1, 1, format, tex_type, data + 2); in CreateTexture2DRgb() 460 glTexSubImage2D(target, base_level, 9, 14, 1, 1, format, tex_type, data + 3); in CreateTexture2DRgb() 474 GLenum tex_type = GL_FLOAT; in CreateTexture2DRg() local 480 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, 0); in CreateTexture2DRg() [all …]
|
D | gl4cEnhancedLayoutsTests.hpp | 872 …void Init(TYPES tex_type, glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum in… 885 static void Bind(const glw::Functions& gl, glw::GLuint id, TYPES tex_type); 889 static void Get(const glw::Functions& gl, TYPES tex_type, glw::GLenum format, glw::GLenum type, 892 …static void Storage(const glw::Functions& gl, TYPES tex_type, glw::GLuint width, glw::GLuint heigh… 897 static void Update(const glw::Functions& gl, TYPES tex_type, glw::GLuint width, glw::GLuint height, 901 static glw::GLenum GetTargetGLenum(TYPES tex_type);
|
D | gl4cEnhancedLayoutsTests.cpp | 3264 void Texture::Init(TYPES tex_type, GLuint width, GLuint height, GLuint depth, GLenum internal_forma… in Init() argument 3272 m_type = tex_type; in Init() 3276 Bind(gl, m_id, tex_type); in Init() 3277 Storage(gl, tex_type, width, height, depth, internal_format); in Init() 3278 Update(gl, tex_type, width, height, depth, format, type, data); in Init() 3345 void Texture::Bind(const Functions& gl, GLuint id, TYPES tex_type) in Bind() argument 3347 GLenum target = GetTargetGLenum(tex_type); in Bind() 3380 void Texture::Get(const Functions& gl, TYPES tex_type, GLenum format, GLenum type, GLvoid* out_data) in Get() argument 3382 GLenum target = GetTargetGLenum(tex_type); in Get() 3384 if (TEX_CUBE != tex_type) in Get() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
D | gstglrenderbuffer.c | 122 guint tex_type; in gst_gl_renderbuffer_init() local 124 tex_type = GL_UNSIGNED_BYTE; in gst_gl_renderbuffer_init() 126 tex_type = GL_UNSIGNED_SHORT_5_6_5; in gst_gl_renderbuffer_init() 129 tex_type) * width * height; in gst_gl_renderbuffer_init()
|
D | gstglmemory.c | 138 guint tex_type; in _calculate_unpack_length() local 146 &tex_type); in _calculate_unpack_length() 147 n_gl_bytes = gst_gl_format_type_n_bytes (tex_format, tex_type); in _calculate_unpack_length() 254 GLenum tex_type; in _gl_tex_create() local 258 &tex_type); in _gl_tex_create() 261 tex_type); in _gl_tex_create() 266 internal_format, tex_format, tex_type, gl_mem->tex_width, in _gl_tex_create() 270 gl_mem->tex_id, tex_format, tex_type, gl_mem->tex_width, in _gl_tex_create()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | gen_uniform_type_table.py | 128 for sampler_type, tex_type in texture_types.items(): 130 return "GL_TEXTURE_" + tex_type
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | gen_uniform_type_table.py | 121 for sampler_type, tex_type in texture_types.items(): 123 return "GL_TEXTURE_" + tex_type
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_formats.c | 85 assert(v3dv_X(device, tfu_supports_tex_format)(format->tex_type)); in v3dv_get_compatible_tfu_format() 112 if (v3dv_format->tex_type == TEXTURE_DATA_FORMAT_NO && in image_format_features() 124 if (v3dv_format->tex_type != TEXTURE_DATA_FORMAT_NO && in image_format_features() 192 if (v3dv_format->tex_type != TEXTURE_DATA_FORMAT_NO) { in buffer_format_features()
|
D | v3dvx_image.c | 103 tex.texture_type = image_view->format->tex_type; in pack_texture_shader_state_helper() 183 tex.texture_type = buffer_view->format->tex_type; in v3dX()
|
D | v3dv_meta_copy.c | 1070 if (!f->supported || f->tex_type == TEXTURE_DATA_FORMAT_NO) in copy_image_blit() 1365 tfu.icfg |= format->tex_type << V3D_TFU_ICFG_TTYPE_SHIFT; in copy_buffer_to_image_tfu() 3066 enum glsl_base_type tex_type, in build_nir_tex_op_read() argument 3072 glsl_sampler_type(dim, false, false, tex_type); in build_nir_tex_op_read() 3088 tex->dest_type = nir_get_nir_type_for_glsl_base_type(tex_type); in build_nir_tex_op_read() 3101 enum glsl_base_type tex_type, in build_nir_tex_op_ms_fetch_sample() argument 3116 tex->dest_type = nir_get_nir_type_for_glsl_base_type(tex_type); in build_nir_tex_op_ms_fetch_sample() 3129 enum glsl_base_type tex_type, in build_nir_tex_op_ms_resolve() argument 3134 glsl_sampler_type(GLSL_SAMPLER_DIM_MS, false, false, tex_type); in build_nir_tex_op_ms_resolve() 3140 const bool is_int = glsl_base_type_is_integer(tex_type); in build_nir_tex_op_ms_resolve() [all …]
|
D | v3dv_private.h | 494 uint8_t tex_type; member
|
D | v3dvx_meta_common.c | 865 tfu.icfg |= format->tex_type << V3D_TFU_ICFG_TTYPE_SHIFT; in v3dX()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_format_table.h | 37 uint8_t tex_type; member
|
D | v3d_formats.c | 93 return vf->tex_type; in v3d_get_tex_format()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_formats.c | 52 uint8_t tex_type; member 157 return vf->tex_type; in vc4_get_tex_format()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_texture.c | 127 tex_type(unsigned target) in tex_type() function 166 A3XX_TEX_CONST_0_TYPE(tex_type(prsc->target)) | in fd3_sampler_view_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_texture.c | 122 tex_type(unsigned target) in tex_type() function 173 so->texconst0 = A4XX_TEX_CONST_0_TYPE(tex_type(cso->target)) | in fd4_sampler_view_create()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi_private.h | 143 glsl_base_type tex_type:6; variable
|
D | st_manager.c | 700 enum st_texture_type tex_type, in st_context_teximage() argument 714 switch (tex_type) { in st_context_teximage()
|
D | st_glsl_to_tgsi.cpp | 574 inst->tex_type = GLSL_TYPE_FLOAT; in emit_asm() 4710 inst->tex_type = ir->type->base_type; in visit() 4881 v->sampler_types[idx] = inst->tex_type; in count_resources() 6278 st_translate_texture_type(inst->tex_type), in compile_tgsi_instruction() 6678 ASSERT_BITFIELD_SIZE(glsl_to_tgsi_instruction, tex_type, GLSL_TYPE_ERROR); in st_translate_program()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi.c | 495 enum tgsi_texture_type tex_type = in ntt_setup_uniforms() local 502 tex_type, in ntt_setup_uniforms() 2197 enum tgsi_return_type tex_type; in ntt_emit_texture() local 2200 tex_type = TGSI_RETURN_TYPE_FLOAT; in ntt_emit_texture() 2203 tex_type = TGSI_RETURN_TYPE_SINT; in ntt_emit_texture() 2206 tex_type = TGSI_RETURN_TYPE_UINT; in ntt_emit_texture() 2237 tex_type, in ntt_emit_texture()
|