Home
last modified time | relevance | path

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

123456

/third_party/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()
1492 return GL_LUMINANCE_ALPHA; in _mesa_unpack_format_to_base_format()
1503 case GL_LUMINANCE_ALPHA: in _mesa_unpack_format_to_base_format()
1536 case GL_LUMINANCE_ALPHA: in _mesa_base_format_to_integer_format()
1596 base_format == GL_LUMINANCE_ALPHA) { in _mesa_base_format_has_channel()
1603 base_format == GL_LUMINANCE_ALPHA) { in _mesa_base_format_has_channel()
[all …]
Dreadpix.c61 dstBaseFormat == GL_LUMINANCE_ALPHA); in _mesa_need_rgb_to_luminance_conversion()
72 srcBaseFormat == GL_LUMINANCE_ALPHA || in _mesa_need_luminance_to_rgb_conversion()
493 } else if (rb->_BaseFormat == GL_LUMINANCE_ALPHA) { in read_rgba_pixels()
604 if (format == GL_LUMINANCE_ALPHA) in read_rgba_pixels()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
Dformat_map_autogen.cpp217 case GL_LUMINANCE_ALPHA: in GetSizedFormatInternal()
464 case GL_LUMINANCE_ALPHA: in ValidES3Format()
808 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
815 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
827 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
839 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
851 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
Des3_copy_conversion_table_autogen.cpp57 case GL_LUMINANCE_ALPHA: in ValidES3CopyConversion()
/third_party/flutter/skia/third_party/externals/angle2/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()
494 if (sourceFormat != GL_LUMINANCE && sourceFormat != GL_LUMINANCE_ALPHA && in testCopySubTexture()
594 sourceFormats.push_back(GL_LUMINANCE_ALPHA); in TEST_P()
859 GL_ALPHA, GL_RGB, GL_RGBA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_BGRA_EXT};
1367 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE_ALPHA, 1, 1, 0, GL_LUMINANCE_ALPHA, in TEST_P()
1370 glCopyTextureCHROMIUM(mTextures[1], 0, GL_TEXTURE_2D, mTextures[0], 0, GL_LUMINANCE_ALPHA, in TEST_P()
1398 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE_ALPHA, 1, 1, 0, GL_LUMINANCE_ALPHA, in TEST_P()
1401 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()
548 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()
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()
/third_party/skia/third_party/externals/angle2/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()
273 case GL_LUMINANCE_ALPHA: in calculateCopyTextureResults()
387 case GL_LUMINANCE_ALPHA: in getSourceColors()
432 if (sourceFormat == GL_LUMINANCE || sourceFormat == GL_LUMINANCE_ALPHA || in testCopyTexture()
434 destFormat == GL_LUMINANCE_ALPHA || destFormat == GL_ALPHA) in testCopyTexture()
499 if (sourceFormat == GL_LUMINANCE || sourceFormat == GL_LUMINANCE_ALPHA || in testCopySubTexture()
501 destFormat == GL_LUMINANCE_ALPHA || destFormat == GL_ALPHA) in testCopySubTexture()
536 if (sourceFormat != GL_LUMINANCE && sourceFormat != GL_LUMINANCE_ALPHA && in testCopySubTexture()
639 sourceFormats.push_back(GL_LUMINANCE_ALPHA); in TEST_P()
904 GL_ALPHA, GL_RGB, GL_RGBA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_BGRA_EXT};
[all …]
DTextureUploadFormatTest.cpp85 case GL_LUMINANCE_ALPHA: in bytesPerPixel()
267 case GL_LUMINANCE_ALPHA: in TEST_P()
343 fnTest({GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE}, {1, 1, 1, 1}); in TEST_P()
574 fnTest({GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_HALF_FLOAT_OES}, {1, 1, 1, 1}); in TEST_P()
DSwizzleTest.cpp383 init2DTexture(GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, data); in TEST_P()
421 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()
5708 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE_ALPHA, 1, 1, 0, GL_LUMINANCE_ALPHA, in TEST_P()
5769 glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE_ALPHA, 0, 0, 4, 4, 0); in TEST_P()
7638 case GL_LUMINANCE_ALPHA: in testFloatTextureLinear()
7802 testFloatTextureSample(GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_FLOAT); in TEST_P()
7808 testFloatTextureSample(GL_LUMINANCE_ALPHA32F_EXT, GL_LUMINANCE_ALPHA, GL_FLOAT); in TEST_P()
7819 testFloatTextureSample(GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_FLOAT); in TEST_P()
7829 testFloatTextureSample(GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_HALF_FLOAT_OES); in TEST_P()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dformat_map_autogen.cpp341 case GL_LUMINANCE_ALPHA: in GetSizedFormatInternal()
600 case GL_LUMINANCE_ALPHA: in ValidES3Format()
897 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
904 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
916 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
928 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
940 case GL_LUMINANCE_ALPHA: in ValidES3FormatCombination()
Des3_copy_conversion_table_autogen.cpp57 case GL_LUMINANCE_ALPHA: in ValidES3CopyConversion()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pTextureFormatTests.cpp59 { "la88", GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE }, in init()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcInternalformatTests.cpp426 case GL_LUMINANCE_ALPHA: in getUnsizedFormatFromInternalFormat()
429 return GL_LUMINANCE_ALPHA; in getUnsizedFormatFromInternalFormat()
817 …formatMap[GL_LUMINANCE_ALPHA] = TextureFormat(GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, GL_LUMINANCE_A… in iterate()
1566 TF(GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, GL_LUMINANCE_ALPHA), in getESTestData()
1591 CF(GL_LUMINANCE_ALPHA), in getESTestData()
1697 TF(GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, GL_LUMINANCE8_ALPHA8_OES, OES_required_internalformat), in getESTestData()
1698 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 },
1495 …if (((GL_LUMINANCE_ALPHA == format.format) && (GL_LUMINANCE_ALPHA == internalformat.sizedFormat)) … in isFormatValid()
1748 GLenum formats[] = { GL_RGBA, GL_RGB, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_ALPHA }; in isUnsizedFormat()
1794 (copyInternalFormat.format == GL_LUMINANCE_ALPHA && internalFormat.format != GL_LUMINANCE_ALPHA)) in isCopyValid()
1809 …nternalFormat.baseFormat == GL_ALPHA) || (copyInternalFormat.baseFormat == GL_LUMINANCE_ALPHA))) || in isCopyValid()
1812 (copyInternalFormat.baseFormat != GL_LUMINANCE_ALPHA))) || in isCopyValid()
1824 (internalFormat.baseFormat == GL_LUMINANCE_ALPHA && in isCopyValid()
1825 …(copyInternalFormat.baseFormat == GL_LUMINANCE_ALPHA || copyInternalFormat.baseFormat == GL_LUMINA… in isCopyValid()
[all …]
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrContext.cpp51 case GL_LUMINANCE_ALPHA: in texImage2D()
/third_party/mesa3d/src/glx/
Dcompsize.c78 case GL_LUMINANCE_ALPHA: in __glElementsPerGroup()
/third_party/skia/third_party/externals/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()
435 case GL_LUMINANCE_ALPHA: in ComputePixelSize()
1591 case GL_LUMINANCE_ALPHA: in loadImageData()
/third_party/vk-gl-cts/modules/egl/
DteglImageTests.cpp352 case GL_LUMINANCE_ALPHA: return "luminance_alpha"; in getStorageName()
568 …e::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, G… in init()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureSwizzleTests.cpp246 { "luminance_alpha", GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE }, in init()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp550 case GL_LUMINANCE_ALPHA: in ValidateCopyFormats()
841 case GL_LUMINANCE_ALPHA: in ValidateTextureFormatType()
915 case GL_LUMINANCE_ALPHA: in ValidateTextureFormatType()
1095 case GL_LUMINANCE_ALPHA: in ValidateTextureFormatType()
1197 case GL_LUMINANCE_ALPHA: in ConvertReadFormatType()

123456