/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | gen_texture_format_table.py | 72 def get_swizzle_format_id(internal_format, angle_format): argument 74 if (internal_format == 'GL_NONE') or (angle_format_id == 'NONE'): 84 internal_format) 97 "glInternalFormat"] if "glInternalFormat" in angle_format else internal_format 111 internal_format) 115 + internal_format) 138 internal_format) 184 def json_to_table_data(internal_format, format_name, prefix, json): argument 190 "internalFormat": internal_format, 205 parsed["swizzleFormat"] = get_swizzle_format_id(internal_format, parsed) [all …]
|
/external/angle/src/libANGLE/renderer/ |
D | gen_load_functions_table.py | 102 def load_functions_name(internal_format, angle_format): argument 103 return internal_format[3:] + "_to_" + angle_format 106 def unknown_func_name(internal_format): argument 107 return load_functions_name(internal_format, "default") 129 def get_unknown_load_func(angle_to_type_map, internal_format): argument 132 unknown_func_name(internal_format), angle_to_type_map[angle_format_unknown]) 138 for internal_format, angle_to_type_map in sorted(json_data.items()): 142 table_data += s + 'case ' + internal_format + ':\n' 159 func_name = load_functions_name(internal_format, angle_format) 178 table_data += s + ' return ' + unknown_func_name(internal_format) + ';\n' [all …]
|
D | angle_format.py | 127 def gl_format_channels(internal_format): argument 128 if internal_format == 'GL_BGR5_A1_ANGLEX': 130 if internal_format == 'GL_R11F_G11F_B10F': 132 if internal_format == 'GL_RGB5_A1': 134 if internal_format.find('GL_RGB10_A2') == 0: 136 if internal_format == 'GL_RGB10_UNORM_ANGLEX': 139 if internal_format.find('INT_10_10_10_2_OES') == 0: 143 match = re.search(channels_pattern, internal_format) 149 if (internal_format.find('ALPHA') >= 0): 153 if (internal_format.find('ALPHA') >= 0): [all …]
|
D | gen_load_texture_border_functions_table.py | 68 def load_functions_name(internal_format, angle_format): argument 69 return internal_format[3:] + "_to_" + angle_format 86 for internal_format, angle_format_func in sorted(json_data["map"].items()): 90 table_data += s + 'case ' + internal_format + ':\n' 103 func_name = load_functions_name(internal_format, angle_format) 143 internal_format=internal_format_param,
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/ |
D | gl_texture.cc | 132 GLenum internal_format = ToTextureInternalFormat(data_type); in CreateReadOnlyRgba2dImageTexture() local 137 RETURN_IF_ERROR(SetTextureWrapAndFilter(kTarget, internal_format)); in CreateReadOnlyRgba2dImageTexture() 139 /* num_levels = */ 1, internal_format, in CreateReadOnlyRgba2dImageTexture() 143 *gl_texture = GlTexture(kTarget, id.Release(), internal_format, byte_size, 0, in CreateReadOnlyRgba2dImageTexture() 159 GLenum internal_format = ToTextureInternalFormat(data_type); in CreateReadOnlyRgba3dImageTexture() local 164 RETURN_IF_ERROR(SetTextureWrapAndFilter(kTarget, internal_format)); in CreateReadOnlyRgba3dImageTexture() 166 /* num_levels = */ 1, internal_format, in CreateReadOnlyRgba3dImageTexture() 171 *gl_texture = GlTexture(kTarget, id.Release(), internal_format, byte_size, 0, in CreateReadOnlyRgba3dImageTexture() 222 const GLenum internal_format = ToTextureInternalFormat(data_type); in CreateReadWriteRgbaImageTexture() local 225 RETURN_IF_ERROR(SetTextureWrapAndFilter(kTarget, internal_format)); in CreateReadWriteRgbaImageTexture() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
D | dri_util.c | 895 GLenum internal_format; member 900 .internal_format = GL_RGB565, 905 .internal_format = GL_RGB5_A1, 910 .internal_format = GL_RGB8, 915 .internal_format = GL_RGBA16F, 920 .internal_format = GL_RGBA16F, 925 .internal_format = GL_RGB10_A2, 930 .internal_format = GL_RGB10_A2, 935 .internal_format = GL_RGB10_A2, 940 .internal_format = GL_RGB10_A2, [all …]
|
/external/angle/src/libANGLE/ |
D | gen_format_map.py | 120 for type, internal_format in sorted(type_map.items()): 121 type_cases += parse_type_case(type, internal_format) 160 for internal_format, format, type in combo_data: 166 combos[format][type] = [internal_format] 168 combos[format][type] += [internal_format] 186 for internal_format in combos: 187 internal_format_cases += " case " + internal_format + ":\n"
|
/external/mesa3d/src/glx/ |
D | indirect_texture_compression.c | 77 GLenum internal_format, in CompressedTexImage1D2D() argument 103 __GLX_PUT_LONG(12, internal_format); in CompressedTexImage1D2D() 120 __GLX_PUT_LONG(16, internal_format); in CompressedTexImage1D2D() 195 GLenum internal_format, GLsizei width, in __indirect_glCompressedTexImage1D() argument 199 CompressedTexImage1D2D(target, level, internal_format, width, 0, in __indirect_glCompressedTexImage1D() 207 GLenum internal_format, in __indirect_glCompressedTexImage2D() argument 212 CompressedTexImage1D2D(target, level, internal_format, width, height, in __indirect_glCompressedTexImage2D() 220 GLenum internal_format, in __indirect_glCompressedTexImage3D() argument 237 __GLX_PUT_LONG(12, internal_format); in __indirect_glCompressedTexImage3D() 253 __GLX_PUT_LONG(16, internal_format); in __indirect_glCompressedTexImage3D()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cStencilTexturingTests.cpp | 54 …createAndFill2DTexture(deqp::Context& context, GLuint width, GLuint height, GLenum internal_format, 267 …createAndFill2DTexture(deqp::Context& context, GLuint width, GLuint height, GLenum internal_format, in createAndFill2DTexture() argument 281 …gl.texImage2D(GL_TEXTURE_2D, 0 /* level */, internal_format, width, height, 0 /* border */, format… in createAndFill2DTexture() 663 GLenum internal_format = GL_R8UI; in dispatch() local 669 internal_format = GL_R32F; in dispatch() 681 GL_WRITE_ONLY, internal_format); in dispatch() 817 GLenum internal_format = 0; in prepareDestinationTexture() local 828 internal_format = GL_R8UI; in prepareDestinationTexture() 835 internal_format = GL_R32F; in prepareDestinationTexture() 849 …Utils::createAndFill2DTexture(m_context, m_width, m_height, internal_format, format, type, &textur… in prepareDestinationTexture() [all …]
|
D | gl4cCopyImageTests.cpp | 93 static void maskPixelForFormat(glw::GLenum internal_format, glw::GLubyte* pixel); 95 static glw::GLdouble getEpsilon(glw::GLenum internal_format); 96 static glw::GLuint getPixelSizeForFormat(glw::GLenum internal_format); 97 static glw::GLenum getFormat(glw::GLenum internal_format); 98 static glw::GLuint getNumberOfChannels(glw::GLenum internal_format); 100 static std::string getPixelString(glw::GLenum internal_format, const glw::GLubyte* pixel); 102 static glw::GLenum getType(glw::GLenum internal_format); 106 …uint prepareCompressedTex(deqp::Context& context, glw::GLenum target, glw::GLenum internal_format); 110 static glw::GLuint prepareRenderBuffer(deqp::Context& context, glw::GLenum internal_format); 112 …::GLuint prepareTex16x16x6(deqp::Context& context, glw::GLenum target, glw::GLenum internal_format, [all …]
|
D | gl4cStencilTexturingTests.hpp | 70 glw::GLuint prepareSourceTexture(glw::GLenum internal_format, bool is_stencil, 73 …void prepareSourceTextureData(glw::GLenum internal_format, std::vector<glw::GLubyte>& texture_data… 78 bool test(glw::GLenum internal_format, bool is_stencil);
|
D | gl4cMultiBindTests.cpp | 333 void InitBuffer(deqp::Context& context, glw::GLenum internal_format, glw::GLuint buffer_id); 335 …orage(deqp::Context& context, glw::GLenum target, glw::GLsizei levels, glw::GLenum internal_format, 345 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth, 356 … Image(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLenum internal_format, 360 …age(const glw::Functions& gl, glw::GLenum target, glw::GLsizei levels, glw::GLenum internal_format, 985 void Texture::InitBuffer(deqp::Context& context, glw::GLenum internal_format, glw::GLuint buffer_id) in InitBuffer() argument 995 gl.texBuffer(GL_TEXTURE_BUFFER, internal_format, buffer_id); in InitBuffer() 1009 …orage(deqp::Context& context, glw::GLenum target, glw::GLsizei levels, glw::GLenum internal_format, in InitStorage() argument 1018 Storage(gl, target, levels, internal_format, width, height, depth, allow_error); in InitStorage() 1061 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth, in CompressedImage() argument [all …]
|
D | gl4cBufferStorageTests.cpp | 313 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth, 324 … Image(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLenum internal_format, 328 …age(const glw::Functions& gl, glw::GLenum target, glw::GLsizei levels, glw::GLenum internal_format, 1338 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth, in CompressedImage() argument 1344 gl.compressedTexImage1D(target, level, internal_format, width, 0 /* border */, image_size, data); in CompressedImage() 1350 …gl.compressedTexImage2D(target, level, internal_format, width, height, 0 /* border */, image_size,… in CompressedImage() 1354 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, internal_format, width, height, 0 /… in CompressedImage() 1356 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, internal_format, width, height, 0 /… in CompressedImage() 1358 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, internal_format, width, height, 0 /… in CompressedImage() 1360 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, internal_format, width, height, 0 /… in CompressedImage() [all …]
|
D | gl4cTextureGatherTests.cpp | 436 GLenum internal_format = GL_RGB32F; in CreateTexture2DRgb() local 447 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, 0); in CreateTexture2DRgb() 469 GLenum internal_format = GL_RG32F; in CreateTexture2DRg() local 480 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, 0); in CreateTexture2DRg() 502 GLenum internal_format = GL_R32F; in CreateTexture2DR() local 513 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, 0); in CreateTexture2DR() 534 GLenum internal_format = InternalFormat(); in CreateTexture2DInt() local 545 glTexImage2D(target, i, internal_format, size, size, 0, GL_RGBA_INTEGER, GL_INT, 0); in CreateTexture2DInt() 550 glTexImage2D(target, 0, internal_format, size, size, 0, GL_RGBA_INTEGER, GL_INT, 0); in CreateTexture2DInt() 572 GLenum internal_format = InternalFormat(); in CreateTexture2DArrayInt() local [all …]
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cTextureGatherTests.cpp | 352 bool IsFloatingPointTexture(GLenum internal_format) in IsFloatingPointTexture() argument 354 switch (internal_format) in IsFloatingPointTexture() 369 GLenum internal_format = GL_RGB32F; in CreateTexture2DRgb() local 381 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, &pixels[0]); in CreateTexture2DRgb() 397 if (IsFloatingPointTexture(internal_format)) in CreateTexture2DRgb() 406 GLenum internal_format = GL_RG32F; 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() 435 if (IsFloatingPointTexture(internal_format)) in CreateTexture2DRg() 444 GLenum internal_format = GL_R32F; in CreateTexture2DR() local [all …]
|
/external/mesa3d/src/gallium/frontends/dri/ |
D | dri_drawable.c | 266 enum pipe_format internal_format = pt->format; in dri_set_tex_buffer2() local 270 switch (internal_format) { in dri_set_tex_buffer2() 272 internal_format = PIPE_FORMAT_R16G16B16X16_FLOAT; in dri_set_tex_buffer2() 275 internal_format = PIPE_FORMAT_B10G10R10X2_UNORM; in dri_set_tex_buffer2() 278 internal_format = PIPE_FORMAT_R10G10B10X2_UNORM; in dri_set_tex_buffer2() 281 internal_format = PIPE_FORMAT_BGRX8888_UNORM; in dri_set_tex_buffer2() 284 internal_format = PIPE_FORMAT_XRGB8888_UNORM; in dri_set_tex_buffer2() 295 0, internal_format, pt, false); in dri_set_tex_buffer2()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_tex_image.c | 406 GLenum internal_format, in intel_set_texture_image_mt() argument 418 0, internal_format, format); in intel_set_texture_image_mt() 445 GLenum internal_format = 0; in intelSetTexBuffer2() local 484 internal_format = GL_RGB; in intelSetTexBuffer2() 486 internal_format = GL_RGBA; in intelSetTexBuffer2() 488 internal_format = GL_RGB; in intelSetTexBuffer2() 495 intel_set_texture_image_mt(brw, texImage, internal_format, in intelSetTexBuffer2() 639 GLenum internal_format = in intel_image_target_texture() local 640 image->internal_format != 0 ? in intel_image_target_texture() 641 image->internal_format : _mesa_get_format_base_format(mt->format); in intel_image_target_texture() [all …]
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | gen_vk_format_table.py | 156 def gen_format_case(angle, internal_format, vk_json_data): argument 160 format_id=angle, internal_format=internal_format, image_template="", buffer_template="") 189 internal_format, format))
|
/external/deqp/external/openglcts/modules/common/ |
D | glcRobustBufferAccessBehaviorTests.cpp | 644 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth, in CompressedImage() argument 650 gl.compressedTexImage1D(target, level, internal_format, width, 0 /* border */, image_size, data); in CompressedImage() 656 …gl.compressedTexImage2D(target, level, internal_format, width, height, 0 /* border */, image_size,… in CompressedImage() 660 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, internal_format, width, height, 0 /… in CompressedImage() 662 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, internal_format, width, height, 0 /… in CompressedImage() 664 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, internal_format, width, height, 0 /… in CompressedImage() 666 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, internal_format, width, height, 0 /… in CompressedImage() 668 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, level, internal_format, width, height, 0 /… in CompressedImage() 670 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, level, internal_format, width, height, 0 /… in CompressedImage() 676 …gl.compressedTexImage3D(target, level, internal_format, width, height, depth, 0 /* border */, imag… in CompressedImage() [all …]
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayColorDepthAttachments.cpp | 693 glw::GLenum internal_format = GL_NONE; in prepareImmutableTextureObject() local 698 internal_format = m_color_internal_format; in prepareImmutableTextureObject() 702 internal_format = m_depth_internal_format; in prepareImmutableTextureObject() 711 internal_format, texture_size, texture_size, n_cubemaps * 6 /* layer-faces per cube-map */); in prepareImmutableTextureObject() 734 glw::GLenum internal_format = GL_NONE; in prepareMutableTextureObject() local 740 internal_format = m_color_internal_format; in prepareMutableTextureObject() 746 internal_format = m_depth_internal_format; in prepareMutableTextureObject() 756 …gl.texImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, 0 /* mipmap_level */, internal_format, texture_size, text… in prepareMutableTextureObject()
|
/external/angle/src/common/gl/cgl/ |
D | FunctionsCGL.cpp | 51 GLenum internal_format, 58 (ctx, target, internal_format, width, height, format, type, ioSurface, plane))
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_screen.c | 223 image->internal_format = GL_RGB; in radeon_create_image_from_name() 228 image->internal_format = GL_RGB; in radeon_create_image_from_name() 233 image->internal_format = GL_RGBA; in radeon_create_image_from_name() 283 image->internal_format = rb->InternalFormat; in radeon_create_image_from_renderbuffer() 323 image->internal_format = GL_RGB; in radeon_create_image() 328 image->internal_format = GL_RGB; in radeon_create_image() 333 image->internal_format = GL_RGBA; in radeon_create_image()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_screen.c | 223 image->internal_format = GL_RGB; in radeon_create_image_from_name() 228 image->internal_format = GL_RGB; in radeon_create_image_from_name() 233 image->internal_format = GL_RGBA; in radeon_create_image_from_name() 283 image->internal_format = rb->InternalFormat; in radeon_create_image_from_renderbuffer() 323 image->internal_format = GL_RGB; in radeon_create_image() 328 image->internal_format = GL_RGB; in radeon_create_image() 333 image->internal_format = GL_RGBA; in radeon_create_image()
|
/external/mesa3d/src/mesa/main/ |
D | textureview.c | 120 GLenum internal_format; member 258 if (compatible_internal_formats[i].internal_format == internalformat) in _mesa_texture_view_lookup_view_class() 265 if (s3tc_compatible_internal_formats[i].internal_format in _mesa_texture_view_lookup_view_class() 273 if (gles_etc2_compatible_internal_formats[i].internal_format in _mesa_texture_view_lookup_view_class() 280 if (gles_astc_compatible_internal_formats[i].internal_format in _mesa_texture_view_lookup_view_class() 288 if (gles_astc_3d_compatible_internal_formats[i].internal_format in _mesa_texture_view_lookup_view_class()
|
D | program_binary.c | 56 uint32_t internal_format; member 90 hdr->internal_format = 0; in write_program_binary() 107 if (hdr->internal_format != 0) in simple_header_checks()
|