/external/deqp/modules/gles3/functional/ |
D | es3fTextureSwizzleTests.cpp | 53 case GL_RED: return c.getRed(); in swizzle() 247 { "red", GL_R8, GL_RED, GL_UNSIGNED_BYTE }, in init() 271 { "red", GL_RED }, in init() 288 { "all_red", GL_RED, GL_RED, GL_RED, GL_RED }, in init() 294 { "bgra", GL_BLUE, GL_GREEN, GL_RED, GL_ALPHA }, in init() 295 { "abgr", GL_ALPHA, GL_BLUE, GL_GREEN, GL_RED }, in init() 296 { "one_one_red_green", GL_ONE, GL_ONE, GL_RED, GL_GREEN } in init() 299 static const deUint32 defaultSwizzles[] = { GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA }; in init()
|
/external/mesa3d/src/mesa/main/ |
D | formats.c | 373 GL_RED, 400 GL_RED, 744 GL_RED, 753 GL_RED, 1000 GL_RED, 1036 GL_RED, 1072 GL_RED, 1108 GL_RED, 1144 GL_RED, 1180 GL_RED, [all …]
|
D | glformats.c | 173 case GL_RED: in _mesa_components_in_format() 457 case GL_RED: in _mesa_is_color_format() 858 case GL_RED: in _mesa_base_format_to_integer_format() 898 if (base_format == GL_RED || in _mesa_base_format_has_channel() 982 return GL_RED; in _mesa_generic_compressed_format_to_uncompressed_format() 1119 case GL_RED: in _mesa_error_check_format_and_type()
|
D | fbobject.c | 436 case GL_RED: in _mesa_validate_framebuffer() 495 case GL_RED: in _mesa_is_legal_color_format() 1158 case GL_RED: in _mesa_base_fbo_format() 1161 ? GL_RED : 0; in _mesa_base_fbo_format() 1164 ? GL_RED : 0; in _mesa_base_fbo_format() 1176 ? GL_RED : 0; in _mesa_base_fbo_format() 1180 ? GL_RED : 0; in _mesa_base_fbo_format() 1234 ctx->Extensions.ARB_texture_float) ? GL_RED : 0; in _mesa_base_fbo_format() 1308 ctx->Extensions.EXT_texture_integer) ? GL_RED : 0; in _mesa_base_fbo_format() 2758 case GL_RED: in get_nongeneric_internalformat()
|
D | texstore.c | 105 case GL_RED: in can_swizzle() 243 case GL_RED: return IDX_RED; in get_map_idx() 340 logicalBaseFormat == GL_RED || in _mesa_make_temp_float_image() 350 textureBaseFormat == GL_RED || in _mesa_make_temp_float_image() 451 logicalBaseFormat == GL_RED || in make_temp_uint_image() 460 textureBaseFormat == GL_RED || in make_temp_uint_image() 578 logicalBaseFormat == GL_RED || in _mesa_make_temp_ubyte_image() 587 textureBaseFormat == GL_RED || in _mesa_make_temp_ubyte_image() 3036 baseInternalFormat == GL_RED || in _mesa_texstore_rgba_float32() 3106 baseInternalFormat == GL_RED || in _mesa_texstore_rgba_float16() [all …]
|
D | texstate.c | 182 case GL_RED: in calculate_derived_texenv() 224 case GL_RED: in calculate_derived_texenv() 251 case GL_RED: in calculate_derived_texenv()
|
D | debug.c | 577 else if (format == GL_RED && type == GL_UNSIGNED_BYTE) { in _mesa_dump_image() 591 else if (format == GL_RED && type == GL_FLOAT) { in _mesa_dump_image()
|
D | texcompress.c | 82 return GL_RED; in _mesa_gl_compressed_format_base_format()
|
D | pack.c | 370 case GL_RED: in get_component_indexes() 1333 case GL_RED: in _mesa_pack_rgba_span_float() 1490 case GL_RED: in _mesa_pack_rgba_span_float() 1647 case GL_RED: in _mesa_pack_rgba_span_float() 1804 case GL_RED: in _mesa_pack_rgba_span_float() 1961 case GL_RED: in _mesa_pack_rgba_span_float() 2118 case GL_RED: in _mesa_pack_rgba_span_float() 2275 case GL_RED: in _mesa_pack_rgba_span_float() 2361 case GL_RED: in _mesa_pack_rgba_span_float() 3000 case GL_RED: in get_component_mapping() [all …]
|
D | texstorage.c | 255 case GL_RED: in tex_storage_error_check()
|
D | teximage.c | 270 return GL_RED; in _mesa_base_tex_format() 410 return GL_RED; in _mesa_base_tex_format() 422 case GL_RED: in _mesa_base_tex_format() 424 return GL_RED; in _mesa_base_tex_format() 488 return GL_RED; in _mesa_base_tex_format()
|
/external/deqp/framework/opengl/ |
D | gluStateReset.cpp | 167 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES() 200 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES() 227 gl.texParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES() 255 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES() 277 gl.texParameteri(GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES() 288 gl.texParameteri(GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES() 304 gl.texParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES() 755 gl.texParameteri(GL_TEXTURE_1D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateGLCore() 779 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateGLCore() 808 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateGLCore() [all …]
|
D | gluTextureUtil.cpp | 76 case TextureFormat::R: format = isInt ? GL_RED_INTEGER : GL_RED; break; in getTransferFormat() 80 case TextureFormat::sR: format = GL_RED; break; in getTransferFormat() 447 case GL_RED: return TextureFormat(TextureFormat::R, mapGLChannelType(dataType, true)); in mapGLTransferFormat()
|
D | gluStrUtil.inl | 743 case GL_RED: return "GL_RED"; 819 case GL_RED: return "GL_RED"; 1669 case GL_RED: return "GL_RED";
|
/external/swiftshader/src/OpenGL/common/ |
D | Image.cpp | 658 case GL_RED: in SelectInternalFormat() 689 case GL_RED: in SelectInternalFormat() 708 case GL_RED: in SelectInternalFormat() 748 case GL_RED: in SelectInternalFormat() 919 case GL_RED: return sizeof(char); in ComputePixelSize() 944 case GL_RED: return sizeof(unsigned char); in ComputePixelSize() 1057 case GL_RED: return sizeof(float); in ComputePixelSize() 1078 case GL_RED: return sizeof(unsigned short); in ComputePixelSize() 1249 case GL_RED: in loadImageData() 1291 case GL_RED: in loadImageData() [all …]
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | utilities.cpp | 98 InsertFormatMapping(&map, GL_RED, GL_UNSIGNED_BYTE, GL_R8); in BuildFormatMap() 99 InsertFormatMapping(&map, GL_RED, GL_BYTE, GL_R8_SNORM); in BuildFormatMap() 100 InsertFormatMapping(&map, GL_RED, GL_FLOAT, GL_R32F); in BuildFormatMap() 101 InsertFormatMapping(&map, GL_RED, GL_HALF_FLOAT, GL_R16F); in BuildFormatMap() 102 InsertFormatMapping(&map, GL_RED, GL_HALF_FLOAT_OES, GL_R16F); in BuildFormatMap() 155 case GL_RED: in GetSizedInternalFormat() 764 case GL_RED: in ValidateTextureFormatType() 931 case GL_RED: in ValidateTextureFormatType() 1333 case GL_RED: return sw::SWIZZLE_RED; in ConvertSwizzleType()
|
D | Texture.cpp | 50 mSwizzleR = GL_RED; in Texture() 249 case GL_RED: in setSwizzleR() 266 case GL_RED: in setSwizzleG() 283 case GL_RED: in setSwizzleB() 300 case GL_RED: in setSwizzleA()
|
D | libGLESv3.cpp | 121 InsertFormatMapping(map, GL_R8, GL_RED, GL_UNSIGNED_BYTE); in BuildFormatMap3D() 122 InsertFormatMapping(map, GL_R8_SNORM, GL_RED, GL_BYTE); in BuildFormatMap3D() 123 InsertFormatMapping(map, GL_R16F, GL_RED, GL_HALF_FLOAT); in BuildFormatMap3D() 124 InsertFormatMapping(map, GL_R16F, GL_RED, GL_FLOAT); in BuildFormatMap3D() 125 InsertFormatMapping(map, GL_R32F, GL_RED, GL_FLOAT); in BuildFormatMap3D() 225 case GL_RED: in ValidateFormat3D() 458 case GL_RED: in ValidateTexParamParameters()
|
D | Framebuffer.cpp | 549 case sw::FORMAT_R32F: return GL_RED; in getImplementationColorReadFormat()
|
/external/deqp/modules/egl/ |
D | teglImageTests.cpp | 300 case GL_RED: return "red"; in getStorageName() 371 if ((m_internalFormat == GL_RED || m_internalFormat == GL_RG) && !isGLRedSupported()) in iterate() 509 …addChild(new Image::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_RED, GL_RED, GL_UNSIG… in init()
|
/external/mesa3d/src/glx/ |
D | compsize.c | 85 case GL_RED: in __glElementsPerGroup()
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/ |
D | PVRTTextureAPI.cpp | 243 glFormat = GL_RED; in PVRTGetOGLES3TextureFormat() 293 glFormat = GL_RED; in PVRTGetOGLES3TextureFormat() 352 glFormat = GL_RED; in PVRTGetOGLES3TextureFormat() 408 glFormat = GL_RED; in PVRTGetOGLES3TextureFormat()
|
/external/deqp/modules/glshared/ |
D | glsFboCompletenessTests.cpp | 140 GLS_UNSIZED_FORMATKEY(GL_RED, GL_UNSIGNED_BYTE), 146 GLS_UNSIZED_FORMATKEY(GL_RED, GL_FLOAT), 152 GLS_UNSIZED_FORMATKEY(GL_RED, GL_HALF_FLOAT_OES),
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_format.c | 1061 { GL_RED, GL_R8, 0 }, 1711 case GL_RED: in st_translate_color() 1753 case GL_RED: in st_translate_color()
|
D | st_atom_texture.c | 103 case GL_RED: in apply_depthmode()
|