Home
last modified time | relevance | path

Searched refs:GL_LUMINANCE_ALPHA (Results 1 – 25 of 83) sorted by relevance

1234

/external/mesa3d/src/mesa/main/
Dglformats.c161 case GL_LUMINANCE_ALPHA: in get_map_idx()
388 case GL_LUMINANCE_ALPHA: in _mesa_components_in_format()
590 case GL_LUMINANCE_ALPHA: in _mesa_is_enum_format_unsized()
650 case GL_LUMINANCE_ALPHA: in _mesa_is_enum_format_unorm()
1000 case GL_LUMINANCE_ALPHA: in _mesa_is_color_format()
1480 return GL_LUMINANCE_ALPHA; in _mesa_unpack_format_to_base_format()
1491 case GL_LUMINANCE_ALPHA: in _mesa_unpack_format_to_base_format()
1524 case GL_LUMINANCE_ALPHA: in _mesa_base_format_to_integer_format()
1584 base_format == GL_LUMINANCE_ALPHA) { in _mesa_base_format_has_channel()
1591 base_format == GL_LUMINANCE_ALPHA) { in _mesa_base_format_has_channel()
[all …]
Dformats.c252 return GL_LUMINANCE_ALPHA; in get_base_format_for_array_format()
257 return GL_LUMINANCE_ALPHA; in get_base_format_for_array_format()
1551 return format == GL_LUMINANCE_ALPHA && type == GL_UNSIGNED_BYTE && littleEndian; in _mesa_format_matches_format_and_type()
1557 … return format == GL_LUMINANCE_ALPHA && type == GL_UNSIGNED_SHORT && littleEndian && !swapBytes; in _mesa_format_matches_format_and_type()
1691 return format == GL_LUMINANCE_ALPHA && type == GL_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1693 return format == GL_LUMINANCE_ALPHA && type == GL_HALF_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
1871 return format == GL_LUMINANCE_ALPHA && type == GL_BYTE && in _mesa_format_matches_format_and_type()
1874 return format == GL_LUMINANCE_ALPHA && type == GL_BYTE && in _mesa_format_matches_format_and_type()
1883 return format == GL_LUMINANCE_ALPHA && type == GL_SHORT && in _mesa_format_matches_format_and_type()
Dreadpix.c57 dstBaseFormat == GL_LUMINANCE_ALPHA); in _mesa_need_rgb_to_luminance_conversion()
68 srcBaseFormat == GL_LUMINANCE_ALPHA || in _mesa_need_luminance_to_rgb_conversion()
480 } else if (rb->_BaseFormat == GL_LUMINANCE_ALPHA) { in read_rgba_pixels()
591 if (format == GL_LUMINANCE_ALPHA) in read_rgba_pixels()
Dgenmipmap.c93 internalformat == GL_LUMINANCE_ALPHA || in _mesa_is_valid_generate_texture_mipmap_internalformat()
Dtexstate.c177 case GL_LUMINANCE_ALPHA: in calculate_derived_texenv()
220 case GL_LUMINANCE_ALPHA: in calculate_derived_texenv()
253 case GL_LUMINANCE_ALPHA: in calculate_derived_texenv()
/external/virglrenderer/src/
Dvrend_formats.c97 …{ VIRGL_FORMAT_L8A8_UNORM, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, NO_SWIZZLE …
100 …{ VIRGL_FORMAT_L16A16_UNORM, GL_LUMINANCE16_ALPHA16, GL_LUMINANCE_ALPHA, GL_UNSIGNED_SHORT, NO_SWI…
138 …{ VIRGL_FORMAT_L16A16_FLOAT, GL_LUMINANCE_ALPHA16F_ARB, GL_LUMINANCE_ALPHA, GL_HALF_FLOAT, NO_SWIZ…
142 …{ VIRGL_FORMAT_L32A32_FLOAT, GL_LUMINANCE_ALPHA32F_ARB, GL_LUMINANCE_ALPHA, GL_FLOAT, NO_SWIZZLE },
219 { VIRGL_FORMAT_L8A8_SNORM, GL_LUMINANCE8_ALPHA8_SNORM, GL_LUMINANCE_ALPHA, GL_BYTE, NO_SWIZZLE },
222 …{ VIRGL_FORMAT_L16A16_SNORM, GL_LUMINANCE16_ALPHA16_SNORM, GL_LUMINANCE_ALPHA, GL_SHORT, NO_SWIZZL…
252 …{ VIRGL_FORMAT_L8A8_SRGB, GL_SLUMINANCE8_ALPHA8_EXT, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, NO_SWIZ…
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp250 glFormat = GL_LUMINANCE_ALPHA; in PVRTGetOGLES3TextureFormat()
251 glInternalFormat=GL_LUMINANCE_ALPHA; in PVRTGetOGLES3TextureFormat()
300 glFormat = GL_LUMINANCE_ALPHA; in PVRTGetOGLES3TextureFormat()
301 glInternalFormat=GL_LUMINANCE_ALPHA; in PVRTGetOGLES3TextureFormat()
358 glFormat = GL_LUMINANCE_ALPHA; in PVRTGetOGLES3TextureFormat()
359 glInternalFormat=GL_LUMINANCE_ALPHA; in PVRTGetOGLES3TextureFormat()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTTextureAPI.cpp133 format = GL_LUMINANCE_ALPHA; in PVRTGetOGLES2TextureFormat()
134 internalformat=GL_LUMINANCE_ALPHA; in PVRTGetOGLES2TextureFormat()
169 format = GL_LUMINANCE_ALPHA; in PVRTGetOGLES2TextureFormat()
170 internalformat=GL_LUMINANCE_ALPHA; in PVRTGetOGLES2TextureFormat()
207 format = internalformat = GL_LUMINANCE_ALPHA; in PVRTGetOGLES2TextureFormat()
/external/mesa3d/prebuilt-intermediates/main/
Dformat_info.h164 .BaseFormat = GL_LUMINANCE_ALPHA,
178 .BaseFormat = GL_LUMINANCE_ALPHA,
332 .BaseFormat = GL_LUMINANCE_ALPHA,
346 .BaseFormat = GL_LUMINANCE_ALPHA,
388 .BaseFormat = GL_LUMINANCE_ALPHA,
990 .BaseFormat = GL_LUMINANCE_ALPHA,
1004 .BaseFormat = GL_LUMINANCE_ALPHA,
1130 .BaseFormat = GL_LUMINANCE_ALPHA,
1298 .BaseFormat = GL_LUMINANCE_ALPHA,
1312 .BaseFormat = GL_LUMINANCE_ALPHA,
[all …]
/external/autotest/client/deps/glbench/src/
Dyuvtest.cc183 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE_ALPHA, YUV2RGB_WIDTH / 2, in SetupTextures()
184 YUV2RGB_PIXEL_HEIGHT / 2, 0, GL_LUMINANCE_ALPHA, in SetupTextures()
Dyuv2rgb_4.glslf38 uniform sampler2D uvSampler; /* GL_LUMINANCE_ALPHA */
/external/deqp/external/openglcts/modules/common/
DglcInternalformatTests.cpp406 case GL_LUMINANCE_ALPHA: in getUnsizedFormatFromInternalFormat()
409 return GL_LUMINANCE_ALPHA; in getUnsizedFormatFromInternalFormat()
708 …formatMap[GL_LUMINANCE_ALPHA] = TextureFormat(GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, GL_LUMINANCE_A… in iterate()
1410 TF(GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, GL_LUMINANCE_ALPHA), in getESTestData()
1435 CF(GL_LUMINANCE_ALPHA), in getESTestData()
1490 TF(GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, GL_LUMINANCE8_ALPHA8_OES, OES_required_internalformat), in getESTestData()
1491 TF(GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, GL_LUMINANCE4_ALPHA4_OES, OES_required_internalformat), in getESTestData()
DglcPackedPixelsTests.cpp244 …{ GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, SAMPLER_UNORM…
334 …{ GL_LUMINANCE_ALPHA, 2, FORMAT_COLOR, GL_COLOR_ATTACHMENT0, { {-1,-1,-1, 1,-1, 0,-1,-1,-1} }…
460 { GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, 2, false },
1494 …if (((GL_LUMINANCE_ALPHA == format.format) && (GL_LUMINANCE_ALPHA == internalformat.sizedFormat)) … in isFormatValid()
1747 GLenum formats[] = { GL_RGBA, GL_RGB, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_ALPHA }; in isUnsizedFormat()
1793 (copyInternalFormat.format == GL_LUMINANCE_ALPHA && internalFormat.format != GL_LUMINANCE_ALPHA)) in isCopyValid()
1808 …nternalFormat.baseFormat == GL_ALPHA) || (copyInternalFormat.baseFormat == GL_LUMINANCE_ALPHA))) || in isCopyValid()
1811 (copyInternalFormat.baseFormat != GL_LUMINANCE_ALPHA))) || in isCopyValid()
1822 (internalFormat.baseFormat == GL_LUMINANCE_ALPHA && in isCopyValid()
1823 …(copyInternalFormat.baseFormat == GL_LUMINANCE_ALPHA || copyInternalFormat.baseFormat == GL_LUMINA… in isCopyValid()
[all …]
/external/deqp/modules/gles2/performance/
Des2pTextureFormatTests.cpp59 { "la88", GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE }, in init()
/external/deqp/framework/opengl/simplereference/
DsglrContext.cpp51 case GL_LUMINANCE_ALPHA: in texImage2D()
/external/mesa3d/src/glx/
Dcompsize.c78 case GL_LUMINANCE_ALPHA: in __glElementsPerGroup()
/external/swiftshader/src/OpenGL/libGLES_CM/
Dutilities.cpp157 case GL_LUMINANCE_ALPHA: in ValidateTextureFormatType()
212 case GL_LUMINANCE_ALPHA: in ValidateTextureFormatType()
276 case GL_LUMINANCE_ALPHA: in ValidateTextureFormatType()
/external/deqp/modules/egl/
DteglImageTests.cpp352 case GL_LUMINANCE_ALPHA: return "luminance_alpha"; in getStorageName()
562 …e::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, G… in init()
/external/deqp/modules/gles3/functional/
Des3fTextureSwizzleTests.cpp246 { "luminance_alpha", GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE }, in init()
/external/swiftshader/src/OpenGL/common/
DImage.cpp40 case GL_LUMINANCE_ALPHA: in IsUnsizedInternalFormat()
119 case GL_LUMINANCE8_ALPHA8_EXT: return GL_LUMINANCE_ALPHA; in GetBaseInternalFormat()
122 case GL_LUMINANCE_ALPHA32F_EXT: return GL_LUMINANCE_ALPHA; in GetBaseInternalFormat()
125 case GL_LUMINANCE_ALPHA16F_EXT: return GL_LUMINANCE_ALPHA; in GetBaseInternalFormat()
244 case GL_LUMINANCE_ALPHA: in GetSizedInternalFormat()
463 case GL_LUMINANCE_ALPHA: in ComputePixelSize()
1653 case GL_LUMINANCE_ALPHA: in loadImageData()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_driver.c129 GL_LUMINANCE_ALPHA) in nouveau_clear()
Dnv20_state_tex.c223 case GL_LUMINANCE_ALPHA: in nv20_emit_tex_obj()
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp579 case GL_LUMINANCE_ALPHA: in ValidateCopyFormats()
910 case GL_LUMINANCE_ALPHA: in ValidateTextureFormatType()
984 case GL_LUMINANCE_ALPHA: in ValidateTextureFormatType()
1164 case GL_LUMINANCE_ALPHA: in ValidateTextureFormatType()
1266 case GL_LUMINANCE_ALPHA: in ConvertReadFormatType()
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp69 case GL_LUMINANCE_ALPHA: return TextureFormat(TextureFormat::LA, TextureFormat::UNORM_INT8); in mapGLUnsizedInternalFormat()
1590 { "la88", GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE }, in init()
1598 { "la16f", GL_LUMINANCE_ALPHA, GL_HALF_FLOAT_OES }, in init()
1781 …new BasicCopyTexImage2DCase (m_context, "2d_luminance_alpha", "", GL_LUMINANCE_ALPHA, MIPMAPS, 12… in init()
1787 … BasicCopyTexImageCubeCase (m_context, "cube_luminance_alpha", "", GL_LUMINANCE_ALPHA, MIPMAPS, 64… in init()
1799 …w BasicCopyTexSubImage2DCase (m_context, "2d_luminance_alpha", "", GL_LUMINANCE_ALPHA, GL_UNSIGNED… in init()
1805 …sicCopyTexSubImageCubeCase (m_context, "cube_luminance_alpha", "", GL_LUMINANCE_ALPHA, GL_UNSIGNED… in init()
Des2fTextureCompletenessTests.cpp931 …_mismatch_luminance_luminance_alpha", "", IVec2(128, 128), GL_LUMINANCE, GL_LUMINANCE_ALPHA, 1)); in init()
932 … "format_mismatch_luminance_alpha_luminance", "", IVec2(128, 128), GL_LUMINANCE_ALPHA, GL_LUMINANC… in init()
958 …ismatch_luminance_luminance_alpha_level_0", "", IVec2(64, 64), GL_LUMINANCE, GL_LUMINANCE_ALPHA)); in init()
959 …at_mismatch_luminance_alpha_luminance_level_0", "", IVec2(64, 64), GL_LUMINANCE_ALPHA, GL_LUMINANC… in init()

1234