Home
last modified time | relevance | path

Searched refs:GL_ALPHA (Results 1 – 25 of 63) sorted by relevance

123

/external/deqp/modules/gles3/functional/
Des3fTextureSwizzleTests.cpp55 case GL_ALPHA: return c.getAlpha(); in swizzle()
243 { "alpha", GL_ALPHA, GL_ALPHA, GL_UNSIGNED_BYTE }, in init()
273 { "alpha", GL_ALPHA }, in init()
290 { "all_alpha", GL_ALPHA, GL_ALPHA, GL_ALPHA, GL_ALPHA }, in init()
293 { "bgra", GL_BLUE, GL_GREEN, GL_RED, GL_ALPHA }, in init()
294 { "abgr", GL_ALPHA, GL_BLUE, GL_GREEN, GL_RED }, in init()
298 static const deUint32 defaultSwizzles[] = { GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA }; in init()
Des3fNegativeBufferApiTests.cpp207 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); in init()
211 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]); in init()
215 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_5_5_5_1, &ushortData[0]); in init()
/external/mesa3d/src/mesa/main/
Dformats.c301 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 …]
Dglformats.c179 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()
Datifragshader.c193 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()
Dtexstate.c172 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()
Dtexstore.c103 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 …]
Dfbobject.c432 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()
Dteximage.c85 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()
Dtexcompress.c113 return GL_ALPHA; in _mesa_gl_compressed_format_base_format()
Dpack.c382 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 …]
Dtexstorage.c251 case GL_ALPHA: in tex_storage_error_check()
/external/deqp/framework/opengl/
DgluStateReset.cpp148 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES()
181 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES()
208 gl.texParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES()
236 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES()
258 gl.texParameteri(GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES()
269 gl.texParameteri(GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES()
285 gl.texParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateES()
738 gl.texParameteri(GL_TEXTURE_1D, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateGLCore()
762 gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateGLCore()
791 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_SWIZZLE_A, GL_ALPHA); in resetStateGLCore()
[all …]
/external/deqp/modules/gles2/functional/
Des2fNegativeBufferApiTests.cpp195 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()
Des2fTextureSpecificationTests.cpp67 case GL_ALPHA: return TextureFormat(TextureFormat::A, TextureFormat::UNORM_INT8); in mapGLUnsizedInternalFormat()
1542 { "a8", GL_ALPHA, GL_UNSIGNED_BYTE }, in init()
1728 …copyTexImageGroup->addChild(new BasicCopyTexImage2DCase (m_context, "2d_alpha", "", GL_ALPHA, … in init()
1734 …>addChild(new BasicCopyTexImageCubeCase (m_context, "cube_alpha", "", GL_ALPHA, MIPMAPS, 64, 6… in init()
1746 …>addChild(new BasicCopyTexSubImage2DCase (m_context, "2d_alpha", "", GL_ALPHA, GL_UNSIGNED_BY… in init()
1752 …dChild(new BasicCopyTexSubImageCubeCase (m_context, "cube_alpha", "", GL_ALPHA, GL_UNSIGNED_BY… in init()
/external/deqp/modules/gles2/performance/
Des2pTextureFormatTests.cpp57 { "a8", GL_ALPHA, GL_UNSIGNED_BYTE }, in init()
Des2pTextureCountTests.cpp59 { "a8", GL_ALPHA, GL_UNSIGNED_BYTE }, in init()
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DTextureUtil.java19 return GL10.GL_ALPHA; in convertTextureFormat()
152 format = GLES20.GL_ALPHA; in uploadTexture()
/external/mesa3d/src/glx/
Dcompsize.c88 case GL_ALPHA: in __glElementsPerGroup()
/external/deqp/framework/opengl/simplereference/
DsglrContext.cpp49 case GL_ALPHA: in texImage2D()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_texstate.c73 if (DepthMode == GL_ALPHA) in translate_texture_format()
88 if (DepthMode == GL_ALPHA) in translate_texture_format()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DTextureUtil.java196 format = GL_ALPHA; in uploadTexture()
201 format = GL_ALPHA; in uploadTexture()
/external/mesa3d/src/mesa/state_tracker/
Dst_format.c809 { 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()
Dst_atom_texture.c95 case GL_ALPHA: in apply_depthmode()
/external/deqp/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp95 …if (format == GL_LUMINANCE || format == GL_LUMINANCE_ALPHA || format == GL_ALPHA || format == GL_B… in isDepthFormat()
123 …if (format == GL_LUMINANCE || format == GL_LUMINANCE_ALPHA || format == GL_ALPHA || format == GL_B… in isStencilFormat()
151 …if (format == GL_LUMINANCE || format == GL_LUMINANCE_ALPHA || format == GL_ALPHA || format == GL_B… in getFormatChannelClass()
315 …if (texFormat == GL_LUMINANCE || texFormat == GL_LUMINANCE_ALPHA || texFormat == GL_ALPHA || texFo… in genDummyTexture()
468 …const bool isLuminanceOrAlpha = (format == GL_LUMINANCE || format == GL_ALPHA || format == GL_LUM… in isCoreFilterableFormat()
2304 { "alpha", GL_ALPHA, tcu::Sampler::MODE_LAST }, in init()
2713 { "alpha", GL_ALPHA, tcu::Sampler::MODE_LAST }, in init()

123