/external/deqp/modules/gles3/functional/ |
D | es3fTextureSwizzleTests.cpp | 56 case GL_ALPHA: return c.getAlpha(); in swizzle() 244 { "alpha", GL_ALPHA, GL_ALPHA, GL_UNSIGNED_BYTE }, in init() 274 { "alpha", GL_ALPHA }, in init() 291 { "all_alpha", GL_ALPHA, GL_ALPHA, GL_ALPHA, GL_ALPHA }, 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() 299 static const deUint32 defaultSwizzles[] = { GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA }; in init()
|
/external/mesa3d/src/mesa/main/ |
D | formats.c | 301 GL_ALPHA, /* BaseFormat */ 310 GL_ALPHA, /* BaseFormat */ 672 GL_ALPHA, 681 GL_ALPHA, 783 GL_ALPHA, 792 GL_ALPHA, 801 GL_ALPHA, 810 GL_ALPHA, 819 GL_ALPHA, 828 GL_ALPHA, [all …]
|
D | glformats.c | 179 case GL_ALPHA: in _mesa_components_in_format() 460 case GL_ALPHA: in _mesa_is_color_format() 874 case GL_ALPHA: in _mesa_base_format_to_integer_format() 929 base_format == GL_ALPHA || in _mesa_base_format_has_channel() 990 return GL_ALPHA; in _mesa_generic_compressed_format_to_uncompressed_format() 1122 case GL_ALPHA: in _mesa_error_check_format_and_type()
|
D | atifragshader.c | 193 if ((arg == GL_SECONDARY_INTERPOLATOR_ATI) && (((optype == 0) && (argRep == GL_ALPHA)) || in check_arith_arg() 194 ((optype == 1) && ((arg == GL_ALPHA) || (argRep == GL_NONE))))) { in check_arith_arg() 198 if ((arg == GL_SECONDARY_INTERPOLATOR_ATI) && (((optype == 0) && (argRep == GL_ALPHA)) || in check_arith_arg() 199 ((optype == 1) && ((arg == GL_ALPHA) || (argRep == GL_NONE))))) { in check_arith_arg() 655 … (((arg1 == GL_SECONDARY_INTERPOLATOR_ATI) && ((arg1Rep == GL_ALPHA) || (arg1Rep == GL_NONE))) || in _mesa_FragmentOpXATI() 656 … (((arg2 == GL_SECONDARY_INTERPOLATOR_ATI) && ((arg2Rep == GL_ALPHA) || (arg2Rep == GL_NONE)))))) { in _mesa_FragmentOpXATI()
|
D | texstate.c | 172 case GL_ALPHA: in calculate_derived_texenv() 203 mode_rgb = (texBaseFormat == GL_ALPHA) ? GL_REPLACE : mode; in calculate_derived_texenv() 218 case GL_ALPHA: in calculate_derived_texenv() 242 case GL_ALPHA: in calculate_derived_texenv() 267 mode_rgb = (texBaseFormat == GL_ALPHA) ? GL_REPLACE : GL_ADD; in calculate_derived_texenv()
|
D | texstore.c | 103 case GL_ALPHA: in can_swizzle() 238 case GL_ALPHA: return IDX_ALPHA; in get_map_idx() 343 logicalBaseFormat == GL_ALPHA || in _mesa_make_temp_float_image() 353 textureBaseFormat == GL_ALPHA || in _mesa_make_temp_float_image() 455 logicalBaseFormat == GL_ALPHA); in make_temp_uint_image() 464 textureBaseFormat == GL_ALPHA); in make_temp_uint_image() 581 logicalBaseFormat == GL_ALPHA || in _mesa_make_temp_ubyte_image() 590 textureBaseFormat == GL_ALPHA || in _mesa_make_temp_ubyte_image() 3032 baseInternalFormat == GL_ALPHA || in _mesa_texstore_rgba_float32() 3102 baseInternalFormat == GL_ALPHA || in _mesa_texstore_rgba_float16() [all …]
|
D | fbobject.c | 432 case GL_ALPHA: in _mesa_validate_framebuffer() 493 case GL_ALPHA: in _mesa_is_legal_color_format() 1073 case GL_ALPHA: in _mesa_base_fbo_format() 1079 ? GL_ALPHA : 0; in _mesa_base_fbo_format() 1210 ctx->Extensions.ARB_framebuffer_object ? GL_ALPHA : 0; in _mesa_base_fbo_format() 1255 ctx->Extensions.ARB_framebuffer_object ? GL_ALPHA : 0; in _mesa_base_fbo_format() 1359 ctx->Extensions.ARB_framebuffer_object ? GL_ALPHA : 0; in _mesa_base_fbo_format() 2751 case GL_ALPHA: in get_nongeneric_internalformat()
|
D | teximage.c | 85 case GL_ALPHA: in _mesa_base_tex_format() 90 return (ctx->API != API_OPENGL_CORE) ? GL_ALPHA : -1; in _mesa_base_tex_format() 173 return GL_ALPHA; in _mesa_base_tex_format() 234 return GL_ALPHA; in _mesa_base_tex_format() 286 return GL_ALPHA; in _mesa_base_tex_format() 372 return GL_ALPHA; in _mesa_base_tex_format() 1626 case GL_ALPHA: in _mesa_es_error_check_format_and_type() 2382 case GL_ALPHA: in copytexture_error_check() 2778 return GL_ALPHA; in override_internal_format()
|
D | pack.c | 382 case GL_ALPHA: in get_component_indexes() 1345 case GL_ALPHA: in _mesa_pack_rgba_span_float() 1502 case GL_ALPHA: in _mesa_pack_rgba_span_float() 1659 case GL_ALPHA: in _mesa_pack_rgba_span_float() 1816 case GL_ALPHA: in _mesa_pack_rgba_span_float() 1973 case GL_ALPHA: in _mesa_pack_rgba_span_float() 2130 case GL_ALPHA: in _mesa_pack_rgba_span_float() 2287 case GL_ALPHA: in _mesa_pack_rgba_span_float() 2373 case GL_ALPHA: in _mesa_pack_rgba_span_float() 3015 case GL_ALPHA: in get_component_mapping() [all …]
|
D | texcompress.c | 113 return GL_ALPHA; in _mesa_gl_compressed_format_base_format()
|
/external/deqp/framework/opengl/ |
D | gluStateReset.cpp | 170 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES() 203 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES() 230 gl.texParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES() 258 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES() 280 gl.texParameteri(GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES() 291 gl.texParameteri(GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES() 307 gl.texParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES() 758 gl.texParameteri(GL_TEXTURE_1D, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateGLCore() 782 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateGLCore() 811 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateGLCore() [all …]
|
/external/swiftshader/src/OpenGL/common/ |
D | Image.cpp | 492 case GL_ALPHA: in ConvertFormatType() 649 case GL_ALPHA: in SelectInternalFormat() 680 case GL_ALPHA: in SelectInternalFormat() 779 case GL_ALPHA: in SelectInternalFormat() 947 case GL_ALPHA: return sizeof(unsigned char); in ComputePixelSize() 1052 case GL_ALPHA: return sizeof(float); in ComputePixelSize() 1073 case GL_ALPHA: return sizeof(unsigned short); in ComputePixelSize() 1251 case GL_ALPHA: in loadImageData() 1293 case GL_ALPHA: in loadImageData() 1401 case GL_ALPHA: in loadImageData() [all …]
|
/external/swiftshader/src/OpenGL/libGL/ |
D | utilities.cpp | 247 case GL_ALPHA: return sizeof(unsigned char); in ComputePixelSize() 268 case GL_ALPHA: return sizeof(float); in ComputePixelSize() 280 case GL_ALPHA: return sizeof(unsigned short); in ComputePixelSize() 330 case GL_ALPHA: in CheckTextureFormatType() 343 case GL_ALPHA: in CheckTextureFormatType()
|
D | Image.cpp | 188 else if(format == GL_ALPHA) in selectInternalFormat() 245 case GL_ALPHA: in loadImageData() 297 case GL_ALPHA: in loadImageData() 319 case GL_ALPHA: in loadImageData()
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/ |
D | PVRTTextureAPI.cpp | 264 glFormat = GL_ALPHA; in PVRTGetOGLES3TextureFormat() 265 glInternalFormat=GL_ALPHA; in PVRTGetOGLES3TextureFormat() 314 glFormat = GL_ALPHA; in PVRTGetOGLES3TextureFormat() 315 glInternalFormat=GL_ALPHA; in PVRTGetOGLES3TextureFormat() 370 glFormat = GL_ALPHA; in PVRTGetOGLES3TextureFormat() 371 glInternalFormat=GL_ALPHA; in PVRTGetOGLES3TextureFormat()
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
D | PVRTTextureAPI.cpp | 147 format = GL_ALPHA; in PVRTGetOGLES2TextureFormat() 148 internalformat=GL_ALPHA; in PVRTGetOGLES2TextureFormat() 183 format = GL_ALPHA; in PVRTGetOGLES2TextureFormat() 184 internalformat=GL_ALPHA; in PVRTGetOGLES2TextureFormat() 217 format = internalformat = GL_ALPHA; in PVRTGetOGLES2TextureFormat()
|
/external/deqp/modules/gles2/functional/ |
D | es2fNegativeBufferApiTests.cpp | 195 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); in init() 199 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]); in init() 203 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_5_5_5_1, &ushortData[0]); in init()
|
/external/deqp/modules/gles2/performance/ |
D | es2pTextureFormatTests.cpp | 57 { "a8", GL_ALPHA, GL_UNSIGNED_BYTE }, in init()
|
D | es2pTextureCountTests.cpp | 59 { "a8", GL_ALPHA, GL_UNSIGNED_BYTE }, in init()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | utilities.cpp | 113 InsertFormatMapping(&map, GL_ALPHA, GL_UNSIGNED_BYTE, GL_ALPHA8_EXT); in BuildFormatMap() 116 InsertFormatMapping(&map, GL_ALPHA, GL_FLOAT, GL_ALPHA32F_EXT); in BuildFormatMap() 121 InsertFormatMapping(&map, GL_ALPHA, GL_HALF_FLOAT, GL_ALPHA16F_EXT); in BuildFormatMap() 122 InsertFormatMapping(&map, GL_ALPHA, GL_HALF_FLOAT_OES, GL_ALPHA16F_EXT); in BuildFormatMap() 152 case GL_ALPHA: in GetSizedInternalFormat() 755 case GL_ALPHA: in ValidateTextureFormatType() 972 case GL_ALPHA: in ValidateTextureFormatType() 1336 case GL_ALPHA: return sw::SWIZZLE_ALPHA; in ConvertSwizzleType()
|
/external/mesa3d/src/glx/ |
D | compsize.c | 88 case GL_ALPHA: in __glElementsPerGroup()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrContext.cpp | 49 case GL_ALPHA: in texImage2D()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_texstate.c | 73 if (DepthMode == GL_ALPHA) in translate_texture_format() 88 if (DepthMode == GL_ALPHA) in translate_texture_format()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | utilities.cpp | 81 case GL_ALPHA: in CheckTextureFormatType() 170 case GL_ALPHA: in IsAlpha()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_format.c | 809 { GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_COMPRESSED_ALPHA, 0 }, 1729 case GL_ALPHA: in st_translate_color() 1771 case GL_ALPHA: in st_translate_color()
|