Home
last modified time | relevance | path

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

123

/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.c300 case GL_UNSIGNED_SHORT_5_5_5_1: in radeonChooseTextureFormat()
315 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()
956 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_is_type_unsigned()
1859 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2044 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2164 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2234 || type == GL_UNSIGNED_SHORT_5_5_5_1 in _mesa_es_error_check_format_and_type()
2704 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_es3_effective_internal_format_for_format_and_type()
2870 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_es3_error_check_format_and_type()
[all …]
Dformats.c884 *datatype = GL_UNSIGNED_SHORT_5_5_5_1; in _mesa_uncompressed_format_to_type_and_comps()
1532 return format == GL_RGBA && type == GL_UNSIGNED_SHORT_5_5_5_1 && in _mesa_format_matches_format_and_type()
1536 return format == GL_RGB && type == GL_UNSIGNED_SHORT_5_5_5_1 && in _mesa_format_matches_format_and_type()
1544 return format == GL_BGRA && type == GL_UNSIGNED_SHORT_5_5_5_1 && in _mesa_format_matches_format_and_type()
1936 return format == GL_RGBA_INTEGER && type == GL_UNSIGNED_SHORT_5_5_5_1 && in _mesa_format_matches_format_and_type()
1944 return format == GL_BGRA_INTEGER && type == GL_UNSIGNED_SHORT_5_5_5_1 && in _mesa_format_matches_format_and_type()
Dtexformat.c77 } else if (type == GL_UNSIGNED_SHORT_5_5_5_1) { in _mesa_choose_tex_format()
/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.c300 case GL_UNSIGNED_SHORT_5_5_5_1: in radeonChooseTextureFormat()
315 case GL_UNSIGNED_SHORT_5_5_5_1: in radeonChooseTextureFormat()
/external/deqp/modules/gles2/performance/
Des2pTextureFormatTests.cpp62 { "rgba5551", GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1 }, in init()
Des2pTextureUploadTests.cpp519 { "rgba_ushort5551", 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/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),
Des2fTextureUnitTests.cpp89 GL_UNSIGNED_SHORT_5_5_5_1,
662 …e if (params.dataType == GL_UNSIGNED_SHORT_4_4_4_4 || params.dataType == GL_UNSIGNED_SHORT_5_5_5_1) in init()
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp883 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidateTextureFormatType()
964 case GL_UNSIGNED_SHORT_5_5_5_1: in ValidateTextureFormatType()
1054 case GL_UNSIGNED_SHORT_5_5_5_1: VALIDATE_INTERNALFORMAT(GL_RGB5_A1) in ValidateTextureFormatType()
1227 case GL_UNSIGNED_SHORT_5_5_5_1: in GetTypeSize()
1281 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 …]
DglcInternalformatTests.cpp470 colorConversionMap[GL_UNSIGNED_SHORT_5_5_5_1] = &convertUShort_5_5_5_1; in generateTextureData()
1454 TF(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, GL_RGBA), in getESTestData()
1455 TF(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, GL_RGB5_A1), in getESTestData()
1486 TF(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, GL_RGBA, OES_required_internalformat), in getESTestData()
1487 TF(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, GL_RGB5_A1, OES_required_internalformat), in getESTestData()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTTextureAPI.cpp240 type = GL_UNSIGNED_SHORT_5_5_5_1; in PVRTGetOGLES2TextureFormat()
1206 case GL_UNSIGNED_SHORT_5_5_5_1: in PVRTTextureFormatGetBPP()
/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()
2201 …glTexImage3D (GL_TEXTURE_3D, 0, GL_RGB5_A1, 4, 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, (con… in init()
2241 glTexSubImage3D(GL_TEXTURE_3D, 0, 0, 0, 0, 4, 4, 4, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, 0); in init()
2243 glTexSubImage3D(GL_TEXTURE_3D, 0, 0, 0, 0, 4, 4, 4, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, 0); in init()
Des3fFboCompletenessTests.cpp62 GLS_UNSIZED_FORMATKEY(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1),
/external/deqp/modules/egl/
DteglImageFormatTests.cpp1110 …ateTexture(prefix + "rgb5_a1", EGL_GL_TEXTURE_2D_KHR, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in addCreateTexture2DActions()
1354 case GL_UNSIGNED_SHORT_5_5_5_1: in isCompatibleFormats()
1511 …_a1", MovePtr<Action>(new GLES2ImageApi::ModifyTexSubImage(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1))); in addModifyActions()
/external/deqp/framework/opengl/
DgluTextureUtil.cpp105 case TextureFormat::UNORM_SHORT_5551: type = GL_UNSIGNED_SHORT_5_5_5_1; break; in getTransferFormat()
411 case GL_UNSIGNED_SHORT_5_5_5_1: return TextureFormat::UNORM_SHORT_5551; in mapGLChannelType()

123