Home
last modified time | relevance | path

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

1234

/external/angle/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()
DD3DImageFormatConversionTest.cpp135 runTest<R5G5B5A1>(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); 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()
DTextureUploadFormatTest.cpp38 case GL_UNSIGNED_SHORT_5_5_5_1: in bytesPerPixel()
394 fnTest({GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1}, {8, 8, 8, 255}); in TEST_P()
/external/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()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_pixel_read.c57 case GL_UNSIGNED_SHORT_5_5_5_1: in gl_format_and_type_to_mesa_format()
72 case GL_UNSIGNED_SHORT_5_5_5_1: in gl_format_and_type_to_mesa_format()
Dradeon_texture.c299 case GL_UNSIGNED_SHORT_5_5_5_1: in radeonChooseTextureFormat()
314 case GL_UNSIGNED_SHORT_5_5_5_1: in radeonChooseTextureFormat()
/external/mesa3d/src/mesa/main/
Dtexcompress_cpal.c54 { GL_PALETTE4_RGB5_A1_OES, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, 16, 2 },
59 { 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()
1840 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2026 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2142 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2212 || type == GL_UNSIGNED_SHORT_5_5_5_1 in _mesa_es_error_check_format_and_type()
2709 case GL_UNSIGNED_SHORT_5_5_5_1: in gles_effective_internal_format_for_format_and_type()
2902 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_gles_error_check_format_and_type()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_pixel_read.c57 case GL_UNSIGNED_SHORT_5_5_5_1: in gl_format_and_type_to_mesa_format()
72 case GL_UNSIGNED_SHORT_5_5_5_1: in gl_format_and_type_to_mesa_format()
Dradeon_texture.c299 case GL_UNSIGNED_SHORT_5_5_5_1: in radeonChooseTextureFormat()
314 case GL_UNSIGNED_SHORT_5_5_5_1: in radeonChooseTextureFormat()
/external/angle/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()
1463 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidES3FormatCombination()
Dformat_map_desktop.cpp67 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidDesktopType()
/external/deqp/modules/gles2/performance/
Des2pTextureFormatTests.cpp62 { "rgba5551", GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1 }, in init()
/external/swiftshader/src/OpenGL/libGLES_CM/
Dutilities.cpp143 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidateTextureFormatType()
196 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidateTextureFormatType()
257 case GL_UNSIGNED_SHORT_5_5_5_1: VALIDATE_INTERNALFORMAT(GL_RGB5_A1_OES) in ValidateTextureFormatType()
DFramebuffer.cpp434 case GL_RGB5_A1_OES: return GL_UNSIGNED_SHORT_5_5_5_1; in getImplementationColorReadType()
/external/angle/src/tests/gl_tests/gles1/
DFramebufferObjectTest.cpp95 {GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1}, in TEST_P()
/external/deqp/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),
/external/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()
/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp1722 DE_ASSERT(type == GL_UNSIGNED_BYTE || type == GL_UNSIGNED_SHORT_5_5_5_1 || in getRGB5A1PixelData()
1754 case GL_UNSIGNED_SHORT_5_5_5_1: in getRGB5A1PixelData()
3522 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_1[0], texel5551_1[1], texel5551_1[2], in configureConversionDatabase()
3526 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_2[0], texel5551_2[1], texel5551_2[2], in configureConversionDatabase()
3530 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_3[0], texel5551_3[1], texel5551_3[2], in configureConversionDatabase()
3534 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_4[0], texel5551_4[1], texel5551_4[2], in configureConversionDatabase()
3580 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_1[0], texel5551_1[1], texel5551_1[2], in configureConversionDatabase()
3584 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_2[0], texel5551_2[1], texel5551_2[2], in configureConversionDatabase()
3588 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_3[0], texel5551_3[1], texel5551_3[2], in configureConversionDatabase()
3592 getRGB5A1PixelData(1, GL_UNSIGNED_SHORT_5_5_5_1, texel5551_4[0], texel5551_4[1], texel5551_4[2], in configureConversionDatabase()
[all …]
/external/deqp/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 …]
/external/angle/src/libANGLE/renderer/
Dload_functions_table_autogen.cpp2681 case GL_UNSIGNED_SHORT_5_5_5_1: in RGB5_A1_to_A1R5G5B5_UNORM()
2697 case GL_UNSIGNED_SHORT_5_5_5_1: in RGB5_A1_to_B5G5R5A1_UNORM()
2713 case GL_UNSIGNED_SHORT_5_5_5_1: in RGB5_A1_to_R5G5B5A1_UNORM()
2729 case GL_UNSIGNED_SHORT_5_5_5_1: in RGB5_A1_to_R8G8B8A8_UNORM()
2883 case GL_UNSIGNED_SHORT_5_5_5_1: in RGBA_to_default()
/external/deqp/modules/gles3/functional/
Des3fNegativeTextureApiTests.cpp1148 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB5_A1, 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, 0); in init()
1409 …glTexImage2D (GL_TEXTURE_2D, 0, GL_RGB5_A1, 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, (const … in init()
1448 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 4, 4, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, 0); in init()
1450 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 4, 4, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, 0); in init()
2079 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGB5_A1, 1, 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, 0); in init()
2202 …glTexImage3D (GL_TEXTURE_3D, 0, GL_RGB5_A1, 4, 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, (con… in init()
2242 glTexSubImage3D(GL_TEXTURE_3D, 0, 0, 0, 0, 4, 4, 4, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, 0); in init()
2244 glTexSubImage3D(GL_TEXTURE_3D, 0, 0, 0, 0, 4, 4, 4, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, 0); in init()

1234