Home
last modified time | relevance | path

Searched refs:GL_LUMINANCE (Results 1 - 25 of 107) sorted by relevance

12345

/third_party/mesa3d/src/mesa/main/
H A Dglformats.c153 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 Dgenmipmap.c97 internalformat == GL_LUMINANCE || internalformat == GL_ALPHA || in _mesa_is_valid_generate_texture_mipmap_internalformat()
H A Dtexstate.c191 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 DUnpackAlignmentTest.cpp71 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 DTextureUploadFormatTest.cpp90 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 DCopyTextureTest.cpp139 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 DSwizzleTest.cpp365 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 DTextureTest.cpp39 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 DCopyTexImageTest.cpp235 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 Des2fTextureSpecificationTests.cpp68 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 Dformat_map_autogen.cpp325 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 Des3_copy_conversion_table_autogen.cpp43 case GL_LUMINANCE: in ValidES3CopyConversion()
/third_party/glfw/examples/
H A Dsharing.c127 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 16, 16, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, pixels); in main()
H A Dparticles.c1017 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 Des2pTextureFormatTests.cpp58 { "l8", GL_LUMINANCE, GL_UNSIGNED_BYTE }, in init()
/third_party/mesa3d/src/glx/
H A Dcompsize.c94 case GL_LUMINANCE: in __glElementsPerGroup()
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrContext.cpp50 case GL_LUMINANCE: in texImage2D()
/third_party/vk-gl-cts/modules/egl/
H A DteglImageTests.cpp351 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 DglcInternalformatTests.cpp430 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 DglcPackedPixelsTests.cpp242 { 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 DImage.cpp39 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 Des3fTextureSwizzleTests.cpp245 { "luminance", GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE }, in init()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_format.c277 { 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 Dastcenccli_image_load_store.cpp718 #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 Dmesa_formats.cpp131 case GL_LUMINANCE: in TEST_F()

Completed in 36 milliseconds

12345