Home
last modified time | relevance | path

Searched refs:GL_UNSIGNED_SHORT_5_5_5_1 (Results 1 – 25 of 129) sorted by relevance

123456

/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DUnpackAlignmentTest.cpp51 case GL_UNSIGNED_SHORT_5_5_5_1: in getPixelSize()
155 testAlignment(1, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
195 testAlignment(2, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
235 testAlignment(4, 7 * 2 + 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
275 testAlignment(8, 7 * 2 + 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
DCopyTexture3DTest.cpp509 testCopy(GL_TEXTURE_3D, GLColor(250, 200, 150, 100), GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, false, in TEST_P()
511 testCopy(GL_TEXTURE_3D, GLColor(250, 200, 150, 100), GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, false, in TEST_P()
513 testCopy(GL_TEXTURE_3D, GLColor(100, 150, 200, 200), GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, false, in TEST_P()
656 testCopy(GL_TEXTURE_3D, GLColor(250, 200, 150, 200), GL_RGB5_A1, GL_UNSIGNED_SHORT_5_5_5_1, in TEST_P()
658 testCopy(GL_TEXTURE_3D, GLColor(250, 200, 150, 200), GL_RGB5_A1, GL_UNSIGNED_SHORT_5_5_5_1, in TEST_P()
660 testCopy(GL_TEXTURE_3D, GLColor(100, 150, 250, 200), GL_RGB5_A1, GL_UNSIGNED_SHORT_5_5_5_1, in TEST_P()
1237 testCopy(GL_TEXTURE_2D_ARRAY, GLColor(250, 200, 150, 100), GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, in TEST_P()
1239 testCopy(GL_TEXTURE_2D_ARRAY, GLColor(250, 200, 150, 100), GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, in TEST_P()
1241 testCopy(GL_TEXTURE_2D_ARRAY, GLColor(100, 150, 200, 200), GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, in TEST_P()
1374 GL_UNSIGNED_SHORT_5_5_5_1, false, false, false, GLColor(247, 198, 148, 255)); in TEST_P()
[all …]
DTextureUploadFormatTest.cpp38 case GL_UNSIGNED_SHORT_5_5_5_1: in bytesPerPixel()
375 fnTest({GL_RGBA4, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1}, {8, 8, 8, 255}); in TEST_P()
376 fnTest({GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1}, {8, 8, 8, 255}); in TEST_P()
DSixteenBppTextureTest.cpp179 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, nullptr); in TEST_P()
184 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 2, 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, pixels); in TEST_P()
199 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, nullptr); in TEST_P()
DD3DImageFormatConversionTest.cpp135 runTest<R5G5B5A1>(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DUnpackAlignmentTest.cpp51 case GL_UNSIGNED_SHORT_5_5_5_1: in getPixelSize()
155 testAlignment(1, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
195 testAlignment(2, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
235 testAlignment(4, 7 * 2 + 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
275 testAlignment(8, 7 * 2 + 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
DSixteenBppTextureTest.cpp179 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, nullptr); in TEST_P()
184 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 2, 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, pixels); in TEST_P()
199 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, nullptr); in TEST_P()
DCopyTexture3DTest.cpp195 case GL_UNSIGNED_SHORT_5_5_5_1: in testCopy()
564 testCopy(testTarget, kColorNoAlpha, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, false, false, false, in testUnsizedFormats()
566 testCopy(testTarget, kColorPreAlpha, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, false, true, false, in testUnsizedFormats()
568 testCopy(testTarget, kColorUnAlpha, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, false, false, true, in testUnsizedFormats()
736 testCopy(testTarget, kColorNoAlpha, GL_RGB5_A1, GL_UNSIGNED_SHORT_5_5_5_1, false, false, in testUnsignedByteFormats()
738 testCopy(testTarget, kColorPreAlpha, GL_RGB5_A1, GL_UNSIGNED_SHORT_5_5_5_1, false, true, in testUnsignedByteFormats()
740 testCopy(testTarget, kColorUnAlpha, GL_RGB5_A1, GL_UNSIGNED_SHORT_5_5_5_1, false, false, in testUnsignedByteFormats()
DD3DImageFormatConversionTest.cpp135 runTest<R5G5B5A1>(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
DTextureUploadFormatTest.cpp38 case GL_UNSIGNED_SHORT_5_5_5_1: in bytesPerPixel()
391 fnTest({GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1}, {8, 8, 8, 255}); in TEST_P()
/third_party/mesa3d/src/glx/
Dcompsize.c51 case GL_UNSIGNED_SHORT_5_5_5_1: in __glElementsPerGroup()
121 case GL_UNSIGNED_SHORT_5_5_5_1: in __glBytesPerElement()
/third_party/mesa3d/src/mesa/main/
Dtexcompress_cpal.c55 { GL_PALETTE4_RGB5_A1_OES, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, 16, 2 },
60 { GL_PALETTE8_RGB5_A1_OES, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, 256, 2 }
Dglformats.c245 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_type_is_packed()
340 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_sizeof_packed_type()
468 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_bytes_per_pixel()
958 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_is_type_unsigned()
1844 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2030 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2146 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2216 || type == GL_UNSIGNED_SHORT_5_5_5_1 in _mesa_es_error_check_format_and_type()
2721 case GL_UNSIGNED_SHORT_5_5_5_1: in gles_effective_internal_format_for_format_and_type()
3097 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_gles_error_check_format_and_type()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
Dformat_map_autogen.cpp346 case GL_UNSIGNED_SHORT_5_5_5_1: in GetSizedFormatInternal()
503 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidES3Type()
1031 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidES3FormatCombination()
Dformat_map_desktop.cpp67 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidDesktopType()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dformat_map_autogen.cpp472 case GL_UNSIGNED_SHORT_5_5_5_1: in GetSizedFormatInternal()
640 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidES3Type()
1464 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidES3FormatCombination()
Dformat_map_desktop.cpp67 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidDesktopType()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pTextureFormatTests.cpp62 { "rgba5551", GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1 }, in init()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DFramebufferObjectTest.cpp95 {GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1}, in TEST_P()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fNegativeBufferApiTests.cpp201 glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, &ushortData[0]); in init()
203 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_5_5_5_1, &ushortData[0]); in init()
Des2fFboCompletenessTests.cpp56 GLS_UNSIZED_FORMATKEY(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1),
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp814 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidateTextureFormatType()
895 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidateTextureFormatType()
985 case GL_UNSIGNED_SHORT_5_5_5_1: VALIDATE_INTERNALFORMAT(GL_RGB5_A1) in ValidateTextureFormatType()
1158 case GL_UNSIGNED_SHORT_5_5_5_1: in GetTypeSize()
1212 case GL_UNSIGNED_SHORT_5_5_5_1: return sw::FORMAT_R5G5B5A1; in ConvertReadFormatType()
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp1728 DE_ASSERT(type == GL_UNSIGNED_BYTE || type == GL_UNSIGNED_SHORT_5_5_5_1 || in getRGB5A1PixelData()
1760 case GL_UNSIGNED_SHORT_5_5_5_1: in getRGB5A1PixelData()
3527 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_1[0], texel5551_1[1], texel5551_1[2], in configureConversionDatabase()
3531 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_2[0], texel5551_2[1], texel5551_2[2], in configureConversionDatabase()
3535 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_3[0], texel5551_3[1], texel5551_3[2], in configureConversionDatabase()
3539 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_4[0], texel5551_4[1], texel5551_4[2], in configureConversionDatabase()
3585 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_1[0], texel5551_1[1], texel5551_1[2], in configureConversionDatabase()
3589 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_2[0], texel5551_2[1], texel5551_2[2], in configureConversionDatabase()
3593 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_3[0], texel5551_3[1], texel5551_3[2], in configureConversionDatabase()
3597 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_4[0], texel5551_4[1], texel5551_4[2], in configureConversionDatabase()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp178 …{ GL_RGB5_A1, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, SAMPLER_UNORM, { { 5, …
255 …{ GL_RGB5_A1, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, SAMPLER_UNORM, { { 5, 5, 5,…
352 …{ GL_UNSIGNED_SHORT_5_5_5_1, sizeof(GLushort), STORAGE_UNSIGNED, true, false, { { 5, 5, 5, …
379 …{ GL_UNSIGNED_SHORT_5_5_5_1, sizeof(GLushort), STORAGE_UNSIGNED, true, false, { { 5, 5, 5, …
394 { GL_RGB5_A1, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, 2, true },
457 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, 2, true },
482 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, 4, true },
483 { GL_BGRA, GL_BGRA, GL_UNSIGNED_SHORT_5_5_5_1, 4, true },
484 { GL_RGBA_INTEGER, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT_5_5_5_1, 4, true },
485 { GL_BGRA_INTEGER, GL_BGRA_INTEGER, GL_UNSIGNED_SHORT_5_5_5_1, 4, true },
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dload_functions_table_autogen.cpp2695 case GL_UNSIGNED_SHORT_5_5_5_1: in RGB5_A1_to_A1R5G5B5_UNORM()
2711 case GL_UNSIGNED_SHORT_5_5_5_1: in RGB5_A1_to_B5G5R5A1_UNORM()
2727 case GL_UNSIGNED_SHORT_5_5_5_1: in RGB5_A1_to_R5G5B5A1_UNORM()
2743 case GL_UNSIGNED_SHORT_5_5_5_1: in RGB5_A1_to_R8G8B8A8_UNORM()
2897 case GL_UNSIGNED_SHORT_5_5_5_1: in RGBA_to_default()

123456