/third_party/mesa3d/src/mesa/main/ |
H A D | glformats.c | 153 case GL_LUMINANCE: in get_map_idx() 383 case GL_LUMINANCE: in _mesa_components_in_format() 591 case GL_LUMINANCE: in _mesa_is_enum_format_unsized() 645 case GL_LUMINANCE: in _mesa_is_enum_format_unorm() 996 case GL_LUMINANCE: in _mesa_is_color_format() 1490 return GL_LUMINANCE; in _mesa_unpack_format_to_base_format() 1502 case GL_LUMINANCE: in _mesa_unpack_format_to_base_format() 1534 case GL_LUMINANCE: in _mesa_base_format_to_integer_format() 1602 if (base_format == GL_LUMINANCE || in _mesa_base_format_has_channel() 1662 return GL_LUMINANCE; in _mesa_generic_compressed_format_to_uncompressed_format() [all...] |
H A D | genmipmap.c | 97 internalformat == GL_LUMINANCE || internalformat == GL_ALPHA || in _mesa_is_valid_generate_texture_mipmap_internalformat()
|
H A D | texstate.c | 191 case GL_LUMINANCE: in calculate_derived_texenv() 228 case GL_LUMINANCE: in calculate_derived_texenv() 258 case GL_LUMINANCE: in calculate_derived_texenv()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | UnpackAlignmentTest.cpp | 71 case GL_LUMINANCE: in getPixelSize() 170 testAlignment(1, 7, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P() 210 testAlignment(2, 7 + 1, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P() 250 testAlignment(4, 7 + 1, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P() 290 testAlignment(8, 7 + 1, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P()
|
H A D | TextureUploadFormatTest.cpp | 90 case GL_LUMINANCE: in bytesPerPixel() 270 case GL_LUMINANCE: in TEST_P() 344 fnTest({GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE}, {1, 1, 1, 0}); in TEST_P() 575 fnTest({GL_LUMINANCE, GL_LUMINANCE, GL_HALF_FLOAT_OES}, {1, 1, 1, 0}); in TEST_P()
|
H A D | CopyTextureTest.cpp | 139 case GL_LUMINANCE: in CopyTextureVariationsTestPrint() 267 case GL_LUMINANCE: in calculateCopyTextureResults() 381 case GL_LUMINANCE: in getSourceColors() 432 if (sourceFormat == GL_LUMINANCE || sourceFormat == GL_LUMINANCE_ALPHA || in testCopyTexture() 433 sourceFormat == GL_ALPHA || destFormat == GL_LUMINANCE || in testCopyTexture() 499 if (sourceFormat == GL_LUMINANCE || sourceFormat == GL_LUMINANCE_ALPHA || in testCopySubTexture() 500 sourceFormat == GL_ALPHA || destFormat == GL_LUMINANCE || in testCopySubTexture() 536 if (sourceFormat != GL_LUMINANCE && sourceFormat != GL_LUMINANCE_ALPHA && in testCopySubTexture() 638 sourceFormats.push_back(GL_LUMINANCE); in TEST_P() 904 GL_ALPHA, GL_RGB, GL_RGBA, GL_LUMINANCE, GL_LUMINANCE_ALPH [all...] |
H A D | SwizzleTest.cpp | 365 init2DTexture(GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE, data); in TEST_P() 394 init2DTexture(GL_LUMINANCE, GL_LUMINANCE, GL_FLOAT, data); in TEST_P()
|
H A D | TextureTest.cpp | 39 case GL_LUMINANCE: in SliceFormatColor() 63 case GL_LUMINANCE: in SliceFormatColor16UI() 88 case GL_LUMINANCE: in SliceFormatColor32F() 2462 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 16, 16, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, in TEST_P() 2486 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 8, 8, GL_LUMINANCE, GL_UNSIGNED_BYTE, nullptr); in TEST_P() 3534 glTexImage3DOES(GL_TEXTURE_3D, 0, GL_LUMINANCE, 2, 2, 2, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, in TEST_P() 3596 glTexImage3DOES(GL_TEXTURE_3D, 0, GL_LUMINANCE, 4, 4, 4, 0, GL_LUMINANCE, GL_UNSIGNED_BYT in TEST_P() [all...] |
H A D | CopyTexImageTest.cpp | 235 runCopyTexImageTest(GL_LUMINANCE, expected); in TEST_P() 247 runCopyTexImageTest(GL_LUMINANCE, expected); in TEST_P() 295 runCopyTexSubImageTest(GL_LUMINANCE, expected); in TEST_P() 319 runCopyTexSubImageTest(GL_LUMINANCE, expected); in TEST_P()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fTextureSpecificationTests.cpp | 68 case GL_LUMINANCE: return TextureFormat(TextureFormat::L, TextureFormat::UNORM_INT8); in mapGLUnsizedInternalFormat() 1589 { "l8", GL_LUMINANCE, GL_UNSIGNED_BYTE }, in init() 1599 { "l16f", GL_LUMINANCE, GL_HALF_FLOAT_OES }, in init() 1653 alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_4_8", "", GL_LUMINANCE, GL_UNSIGNED_BYTE, MIPMAPS, 4, 8, 8)); in init() 1654 alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_63_1", "", GL_LUMINANCE, GL_UNSIGNED_BYTE, 0, 63, 30, 1)); in init() 1655 alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_63_2", "", GL_LUMINANCE, GL_UNSIGNED_BYTE, 0, 63, 30, 2)); in init() 1656 alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_63_4", "", GL_LUMINANCE, GL_UNSIGNED_BYTE, 0, 63, 30, 4)); in init() 1657 alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_l8_63_8", "", GL_LUMINANCE, GL_UNSIGNED_BYTE, 0, 63, 30, 8)); in init() 1671 alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_l8_4_8", "", GL_LUMINANCE, GL_UNSIGNED_BYTE, MIPMAPS, 4, 4, 8)); in init() 1672 alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_l8_63_1", "", GL_LUMINANCE, GL_UNSIGNED_BYT in init() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | format_map_autogen.cpp | 325 case GL_LUMINANCE: in GetSizedFormatInternal() 599 case GL_LUMINANCE: in ValidES3Format() 841 case GL_LUMINANCE: in ValidES3FormatCombination() 848 case GL_LUMINANCE: in ValidES3FormatCombination() 860 case GL_LUMINANCE: in ValidES3FormatCombination() 872 case GL_LUMINANCE: in ValidES3FormatCombination() 884 case GL_LUMINANCE: in ValidES3FormatCombination()
|
H A D | es3_copy_conversion_table_autogen.cpp | 43 case GL_LUMINANCE: in ValidES3CopyConversion()
|
/third_party/glfw/examples/ |
H A D | sharing.c | 127 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 16, 16, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, pixels); in main()
|
H A D | particles.c | 1017 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, P_TEX_WIDTH, P_TEX_HEIGHT, in main() 1018 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, particle_texture); in main() 1028 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, F_TEX_WIDTH, F_TEX_HEIGHT, in main() 1029 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, floor_texture); in main()
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pTextureFormatTests.cpp | 58 { "l8", GL_LUMINANCE, GL_UNSIGNED_BYTE }, in init()
|
/third_party/mesa3d/src/glx/ |
H A D | compsize.c | 94 case GL_LUMINANCE: in __glElementsPerGroup()
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A D | sglrContext.cpp | 50 case GL_LUMINANCE: in texImage2D()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglImageTests.cpp | 351 case GL_LUMINANCE: return "luminance"; in getStorageName() 567 addChild(new Image::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE)); in init()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcInternalformatTests.cpp | 430 case GL_LUMINANCE: in getUnsizedFormatFromInternalFormat() 432 return GL_LUMINANCE; in getUnsizedFormatFromInternalFormat() 816 formatMap[GL_LUMINANCE] = TextureFormat(GL_LUMINANCE, GL_UNSIGNED_BYTE, GL_LUMINANCE); in iterate() 1567 TF(GL_LUMINANCE, GL_UNSIGNED_BYTE, GL_LUMINANCE), in getESTestData() 1590 CF(GL_LUMINANCE), in getESTestData() 1699 TF(GL_LUMINANCE, GL_UNSIGNED_BYTE, GL_LUMINANCE8_OES, OES_required_internalformat), in getESTestData()
|
H A D | glcPackedPixelsTests.cpp | 242 { GL_LUMINANCE, GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 0, 0, 0, 0, 0, 8, 0, 0, 0 } }, 0 }, 332 { GL_LUMINANCE, 1, FORMAT_COLOR, GL_COLOR_ATTACHMENT0, { {-1,-1,-1,-1,-1, 0,-1,-1,-1} } }, 461 { GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE, 1, false }, 1496 ((GL_LUMINANCE == format.format) && (GL_LUMINANCE == internalformat.sizedFormat)) || 1755 GLenum formats[] = { GL_RGBA, GL_RGB, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_ALPHA }; 1800 (copyInternalFormat.format == GL_LUMINANCE [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/ |
H A D | Image.cpp | 39 case GL_LUMINANCE: in IsUnsizedInternalFormat() 118 case GL_LUMINANCE8_EXT: return GL_LUMINANCE; in GetBaseInternalFormat() 121 case GL_LUMINANCE32F_EXT: return GL_LUMINANCE; in GetBaseInternalFormat() 124 case GL_LUMINANCE16F_EXT: return GL_LUMINANCE; in GetBaseInternalFormat() 253 case GL_LUMINANCE: in GetSizedInternalFormat() 418 case GL_LUMINANCE: in ComputePixelSize() 1610 case GL_LUMINANCE: in loadImageData()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fTextureSwizzleTests.cpp | 245 { "luminance", GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE }, in init()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_format.c | 277 { 1, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, 0 }, 1542 * GL_LUMINANCE buffer, we'll return colorOut[0] = colorOut[1] = 1569 case GL_LUMINANCE: in st_translate_color() 1602 case GL_LUMINANCE: in st_translate_color()
|
/third_party/astc-encoder/Source/ |
H A D | astcenccli_image_load_store.cpp | 718 #define GL_LUMINANCE 0x1909 macro 1003 case GL_LUMINANCE: in load_ktx_uncompressed_image() 1046 case GL_LUMINANCE: in load_ktx_uncompressed_image() 1079 case GL_LUMINANCE: in load_ktx_uncompressed_image() 1112 case GL_LUMINANCE: in load_ktx_uncompressed_image() 1145 case GL_LUMINANCE: in load_ktx_uncompressed_image()
|
/third_party/mesa3d/src/mesa/main/tests/ |
H A D | mesa_formats.cpp | 131 case GL_LUMINANCE: in TEST_F()
|