Home
last modified time | relevance | path

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

12345

/external/angle/src/tests/gl_tests/
DUnpackAlignmentTest.cpp68 case GL_LUMINANCE_ALPHA: in getPixelSize()
165 testAlignment(1, 7 * 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
205 testAlignment(2, 7 * 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
245 testAlignment(4, 7 * 2 + 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
285 testAlignment(8, 7 * 2 + 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
DCopyTextureTest.cpp142 case GL_LUMINANCE_ALPHA: in CopyTextureVariationsTestPrint()
261 case GL_LUMINANCE_ALPHA: in calculateCopyTextureResults()
374 case GL_LUMINANCE_ALPHA: in getSourceColors()
499 if (sourceFormat != GL_LUMINANCE && sourceFormat != GL_LUMINANCE_ALPHA && in testCopySubTexture()
599 sourceFormats.push_back(GL_LUMINANCE_ALPHA); in TEST_P()
864 GL_ALPHA, GL_RGB, GL_RGBA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_BGRA_EXT};
1390 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE_ALPHA, 1, 1, 0, GL_LUMINANCE_ALPHA, in TEST_P()
1393 glCopyTextureCHROMIUM(mTextures[1], 0, GL_TEXTURE_2D, mTextures[0], 0, GL_LUMINANCE_ALPHA, in TEST_P()
1421 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE_ALPHA, 1, 1, 0, GL_LUMINANCE_ALPHA, in TEST_P()
1424 glCopyTextureCHROMIUM(mTextures[1], 0, GL_TEXTURE_2D, mTextures[0], 0, GL_LUMINANCE_ALPHA, in TEST_P()
[all …]
DTextureUploadFormatTest.cpp85 case GL_LUMINANCE_ALPHA: in bytesPerPixel()
251 case GL_LUMINANCE_ALPHA: in TEST_P()
327 fnTest({GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE}, {1, 1, 1, 1}); in TEST_P()
558 fnTest({GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_HALF_FLOAT_OES}, {1, 1, 1, 1}); in TEST_P()
DSwizzleTest.cpp349 init2DTexture(GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, data); in TEST_P()
381 init2DTexture(GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_FLOAT, data); in TEST_P()
DTextureTest.cpp43 case GL_LUMINANCE_ALPHA: in SliceFormatColor()
67 case GL_LUMINANCE_ALPHA: in SliceFormatColor16UI()
92 case GL_LUMINANCE_ALPHA: in SliceFormatColor32F()
3033 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE_ALPHA, 1, 1, 0, GL_LUMINANCE_ALPHA, in TEST_P()
4697 case GL_LUMINANCE_ALPHA: in testFloatTextureLinear()
4861 testFloatTextureSample(GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_FLOAT); in TEST_P()
4867 testFloatTextureSample(GL_LUMINANCE_ALPHA32F_EXT, GL_LUMINANCE_ALPHA, GL_FLOAT); in TEST_P()
4878 testFloatTextureSample(GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_FLOAT); in TEST_P()
4888 testFloatTextureSample(GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_HALF_FLOAT_OES); in TEST_P()
4894 testFloatTextureSample(GL_LUMINANCE_ALPHA16F_EXT, GL_LUMINANCE_ALPHA, GL_HALF_FLOAT); in TEST_P()
[all …]
DCopyTexture3DTest.cpp105 case GL_LUMINANCE_ALPHA: in testCopy()
523 testCopy(GL_TEXTURE_3D, GLColor(250, 200, 150, 100), GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, in TEST_P()
525 testCopy(GL_TEXTURE_3D, GLColor(250, 200, 150, 100), GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, in TEST_P()
527 testCopy(GL_TEXTURE_3D, GLColor(100, 150, 200, 200), GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, in TEST_P()
1251 testCopy(GL_TEXTURE_2D_ARRAY, GLColor(250, 200, 150, 100), GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, in TEST_P()
1253 testCopy(GL_TEXTURE_2D_ARRAY, GLColor(250, 200, 150, 100), GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, in TEST_P()
1255 testCopy(GL_TEXTURE_2D_ARRAY, GLColor(100, 150, 200, 200), GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, in TEST_P()
/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()
592 case GL_LUMINANCE_ALPHA: in _mesa_is_enum_format_unsized()
652 case GL_LUMINANCE_ALPHA: in _mesa_is_enum_format_unorm()
1002 case GL_LUMINANCE_ALPHA: in _mesa_is_color_format()
1488 return GL_LUMINANCE_ALPHA; in _mesa_unpack_format_to_base_format()
1499 case GL_LUMINANCE_ALPHA: in _mesa_unpack_format_to_base_format()
1532 case GL_LUMINANCE_ALPHA: in _mesa_base_format_to_integer_format()
1592 base_format == GL_LUMINANCE_ALPHA) { in _mesa_base_format_has_channel()
1599 base_format == GL_LUMINANCE_ALPHA) { in _mesa_base_format_has_channel()
[all …]
Dgenmipmap.c93 internalformat == GL_LUMINANCE_ALPHA || in _mesa_is_valid_generate_texture_mipmap_internalformat()
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()
482 } else if (rb->_BaseFormat == GL_LUMINANCE_ALPHA) { in read_rgba_pixels()
593 if (format == GL_LUMINANCE_ALPHA) in read_rgba_pixels()
/external/angle/src/libANGLE/
Dformat_map_autogen.cpp339 case GL_LUMINANCE_ALPHA: in GetSizedFormatInternal()
598 case GL_LUMINANCE_ALPHA: in ValidES3Format()
953 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
961 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
972 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
984 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
997 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
Des3_copy_conversion_table_autogen.cpp57 case GL_LUMINANCE_ALPHA: in ValidES3CopyConversion()
/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/deqp/modules/gles2/performance/
Des2pTextureFormatTests.cpp59 { "la88", GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE }, in init()
/external/deqp/external/openglcts/modules/common/
DglcInternalformatTests.cpp406 case GL_LUMINANCE_ALPHA: in getUnsizedFormatFromInternalFormat()
409 return GL_LUMINANCE_ALPHA; in getUnsizedFormatFromInternalFormat()
712 …formatMap[GL_LUMINANCE_ALPHA] = TextureFormat(GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, GL_LUMINANCE_A… in iterate()
1417 TF(GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, GL_LUMINANCE_ALPHA), in getESTestData()
1442 CF(GL_LUMINANCE_ALPHA), in getESTestData()
1499 TF(GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, GL_LUMINANCE8_ALPHA8_OES, OES_required_internalformat), in getESTestData()
1500 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/mesa3d/src/glx/
Dcompsize.c78 case GL_LUMINANCE_ALPHA: in __glElementsPerGroup()
/external/deqp/framework/opengl/simplereference/
DsglrContext.cpp51 case GL_LUMINANCE_ALPHA: in texImage2D()
/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()
1660 case GL_LUMINANCE_ALPHA: in loadImageData()
/external/mesa3d/src/mesa/state_tracker/
Dst_format.c283 { 2, GL_LUMINANCE_ALPHA, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, 0 },
1513 case GL_LUMINANCE_ALPHA: in st_translate_color()
1555 case GL_LUMINANCE_ALPHA: in st_translate_color()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_driver.c129 GL_LUMINANCE_ALPHA) in nouveau_clear()

12345