Home
last modified time | relevance | path

Searched refs:GL_UNSIGNED_SHORT_4_4_4_4 (Results 1 - 25 of 105) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DUnpackAlignmentTest.cpp53 case GL_UNSIGNED_SHORT_4_4_4_4: in getPixelSize()
150 testAlignment(1, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
190 testAlignment(2, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
230 testAlignment(4, 7 * 2 + 2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
270 testAlignment(8, 7 * 2 + 2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
H A DTextureUploadFormatTest.cpp37 case GL_UNSIGNED_SHORT_4_4_4_4: in bytesPerPixel()
380 fnTest({GL_RGBA4, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4}, {16, 16, 16, 16}); in TEST_P()
381 fnTest({GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4}, {16, 16, 16, 16}); in TEST_P()
H A DSixteenBppTextureTest.cpp241 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, nullptr); in TEST_P()
247 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 2, 2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, pixels); in TEST_P()
382 colorReadType == GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
H A DVulkanFramebufferTest.cpp103 GL_UNSIGNED_SHORT_4_4_4_4, pixels.data()); in TEST_P()
H A DD3DImageFormatConversionTest.cpp129 runTest<R4G4B4A4>(GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
H A DCopyTexture3DTest.cpp198 case GL_UNSIGNED_SHORT_4_4_4_4: in testCopy()
557 testCopy(testTarget, kColorNoAlpha, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, false, false, false, in testUnsizedFormats()
559 testCopy(testTarget, kColorPreAlpha, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, false, true, false, in testUnsizedFormats()
561 testCopy(testTarget, kColorUnAlpha, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, false, false, true, in testUnsizedFormats()
695 testCopy(testTarget, kColorNoAlpha, GL_RGBA4, GL_UNSIGNED_SHORT_4_4_4_4, false, false, in testUnsignedByteFormats()
697 testCopy(testTarget, kColorPreAlpha, GL_RGBA4, GL_UNSIGNED_SHORT_4_4_4_4, false, true, in testUnsignedByteFormats()
699 testCopy(testTarget, GLColor(100, 150, 200, 210), GL_RGBA4, GL_UNSIGNED_SHORT_4_4_4_4, in testUnsignedByteFormats()
H A DFramebufferTest.cpp1245 texImageFollowedByFBORead(GL_RGBA4, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
1309 copyTexImageFollowedBySampling(GL_RGBA4, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
1415 blitCopyFollowedByFBORead(GL_RGBA4, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
1458 cubeTexImageFollowedByFBORead(GL_RGBA4, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
1477 GL_UNSIGNED_SHORT_4_4_4_4, pixels.data()); in TEST_P()
1528 GL_UNSIGNED_SHORT_4_4_4_4, pixels.data()); in TEST_P()
1583 GL_UNSIGNED_SHORT_4_4_4_4, pixels.data()); in TEST_P()
1644 GL_UNSIGNED_SHORT_4_4_4_4, pixels.data()); in TEST_P()
1659 GL_UNSIGNED_SHORT_4_4_4_4, pixels.data()); in TEST_P()
/third_party/mesa3d/src/glx/
H A Dcompsize.c49 case GL_UNSIGNED_SHORT_4_4_4_4: in __glElementsPerGroup()
119 case GL_UNSIGNED_SHORT_4_4_4_4: in __glBytesPerElement()
/third_party/mesa3d/src/mesa/main/
H A Dtexcompress_cpal.c54 { GL_PALETTE4_RGBA4_OES, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 16, 2 },
59 { GL_PALETTE8_RGBA4_OES, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 256, 2 },
H A Dglformats.c243 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_type_is_packed()
338 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_sizeof_packed_type()
461 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_bytes_per_pixel()
957 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_is_type_unsigned()
1829 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
2028 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
2051 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
2144 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
2215 || type == GL_UNSIGNED_SHORT_4_4_4_4 in _mesa_es_error_check_format_and_type()
2716 case GL_UNSIGNED_SHORT_4_4_4_4 in gles_effective_internal_format_for_format_and_type()
[all...]
H A Dformats.c928 *datatype = GL_UNSIGNED_SHORT_4_4_4_4; in _mesa_uncompressed_format_to_type_and_comps()
985 *datatype = GL_UNSIGNED_SHORT_4_4_4_4; in _mesa_uncompressed_format_to_type_and_comps()
991 *datatype = GL_UNSIGNED_SHORT_4_4_4_4; in _mesa_uncompressed_format_to_type_and_comps()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fTextureSpecificationTests.cpp1593 { "rgba4444", GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4 }, in init()
1658 alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_rgba4444_51_1", "", GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 0, 51, 30, 1)); in init()
1659 alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_rgba4444_51_2", "", GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 0, 51, 30, 2)); in init()
1660 alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_rgba4444_51_4", "", GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 0, 51, 30, 4)); in init()
1661 alignGroup->addChild(new TexImage2DAlignCase (m_context, "2d_rgba4444_51_8", "", GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 0, 51, 30, 8)); in init()
1676 alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_rgba4444_51_1", "", GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 0, 51, 51, 1)); in init()
1677 alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_rgba4444_51_2", "", GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 0, 51, 51, 2)); in init()
1678 alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_rgba4444_51_4", "", GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 0, 51, 51, 4)); in init()
1679 alignGroup->addChild(new TexImageCubeAlignCase (m_context, "cube_rgba4444_51_8", "", GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 0, 51, 51, 8)); in init()
1739 alignGroup->addChild(new TexSubImage2DAlignCase (m_context, "2d_rgba4444_51_1", "", GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 6 in init()
[all...]
H A Des2fNegativeBufferApiTests.cpp165 glReadPixels(0, 0, 1, 1, GL_LUMINANCE_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ubyteData[0]); in init()
197 glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]); in init()
199 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]); in init()
H A Des2fFboCompletenessTests.cpp55 GLS_UNSIZED_FORMATKEY(GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4),
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dformat_map_desktop.cpp65 case GL_UNSIGNED_SHORT_4_4_4_4: in ValidDesktopType()
H A Dformat_map_autogen.cpp470 case GL_UNSIGNED_SHORT_4_4_4_4: in GetSizedFormatInternal()
638 case GL_UNSIGNED_SHORT_4_4_4_4: in ValidES3Type()
1452 case GL_UNSIGNED_SHORT_4_4_4_4: in ValidES3FormatCombination()
/third_party/vk-gl-cts/modules/gles2/performance/
H A Des2pTextureFormatTests.cpp61 { "rgba4444", GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4 }, in init()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
H A DFramebufferObjectTest.cpp94 {GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4}, in TEST_P()
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
H A Des3cCopyTexImageConversionsTests.cpp2334 * 1) GL_UNSIGNED_BYTE or GL_UNSIGNED_SHORT_4_4_4_4 for source pixels.
2349 DE_ASSERT(type == GL_UNSIGNED_BYTE || type == GL_UNSIGNED_SHORT_4_4_4_4); in getRGBA4PixelData()
2372 case GL_UNSIGNED_SHORT_4_4_4_4: in getRGBA4PixelData()
3259 getRGBA4PixelData(1, GL_UNSIGNED_SHORT_4_4_4_4, texel4444_1[0], texel4444_1[1], texel4444_1[2], in configureConversionDatabase()
3263 getRGBA4PixelData(1, GL_UNSIGNED_SHORT_4_4_4_4, texel4444_2[0], texel4444_2[1], texel4444_2[2], in configureConversionDatabase()
3267 getRGBA4PixelData(1, GL_UNSIGNED_SHORT_4_4_4_4, texel4444_3[0], texel4444_3[1], texel4444_3[2], in configureConversionDatabase()
3271 getRGBA4PixelData(1, GL_UNSIGNED_SHORT_4_4_4_4, texel4444_4[0], texel4444_4[1], texel4444_4[2], in configureConversionDatabase()
3297 addEntryToConversionDatabase(getRGBA4PixelData(1, GL_UNSIGNED_SHORT_4_4_4_4, texel4444_1[0], texel4444_1[1], in configureConversionDatabase()
3301 getRGBA4PixelData(1, GL_UNSIGNED_SHORT_4_4_4_4, texel4444_2[0], texel4444_2[1], in configureConversionDatabase()
3305 getRGBA4PixelData(1, GL_UNSIGNED_SHORT_4_4_4_4, texel4444_ in configureConversionDatabase()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A Dutilities.cpp813 case GL_UNSIGNED_SHORT_4_4_4_4: in ValidateTextureFormatType()
894 case GL_UNSIGNED_SHORT_4_4_4_4: in ValidateTextureFormatType()
984 case GL_UNSIGNED_SHORT_4_4_4_4: VALIDATE_INTERNALFORMAT(GL_RGBA4) in ValidateTextureFormatType()
1157 case GL_UNSIGNED_SHORT_4_4_4_4: in GetTypeSize()
1211 case GL_UNSIGNED_SHORT_4_4_4_4: return sw::FORMAT_R4G4B4A4; in ConvertReadFormatType()
H A DFramebuffer.cpp592 case GL_RGBA4: return GL_UNSIGNED_SHORT_4_4_4_4; in getImplementationColorReadType()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcPackedPixelsTests.cpp177 { GL_RGBA4, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, SAMPLER_UNORM, { { 4, 4, 4, 4, 0, 0, 0, 0, 0 } }, FLAG_PACKED|FLAG_REQ_RBO },
254 { GL_RGBA4, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, SAMPLER_UNORM, { { 4, 4, 4, 4, 0, 0, 0, 0, 0 } }, FLAG_PACKED|FLAG_REQ_RBO },
351 { GL_UNSIGNED_SHORT_4_4_4_4, sizeof(GLushort), STORAGE_UNSIGNED, true, false, { { 4, 4, 4, 4, 0, 0, 0, 0, 0 } }, false },
378 { GL_UNSIGNED_SHORT_4_4_4_4, sizeof(GLushort), STORAGE_UNSIGNED, true, false, { { 4, 4, 4, 4, 0, 0, 0, 0, 0 } }, false },
393 { GL_RGBA4, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 2, true },
456 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 2, true },
474 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 4, true },
476 { GL_RGBA_INTEGER, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT_4_4_4_4, 4, true },
479 { GL_BGRA, GL_BGRA, GL_UNSIGNED_SHORT_4_4_4_4, 4, true },
481 { GL_BGRA_INTEGER, GL_BGRA_INTEGER, GL_UNSIGNED_SHORT_4_4_4_4,
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fNegativeTextureApiTests.cpp1150 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, 0); in init()
1455 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 4, 4, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, 0); in init()
1611 glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA4, 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 0); in init()
1614 glTexSubImage2D (GL_TEXTURE_2D, 0, 0, 0, 4, 4, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, (const GLvoid*)3); in init()
2087 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, 0); in init()
2255 glTexSubImage3D(GL_TEXTURE_3D, 0, 0, 0, 0, 4, 4, 4, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, 0); in init()
2416 glTexImage3D (GL_TEXTURE_3D, 0, GL_RGBA4, 4, 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, 0); in init()
2419 glTexSubImage3D (GL_TEXTURE_3D, 0, 0, 0, 0, 4, 4, 4, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, (const GLvoid*)3); in init()
H A Des3fFboCompletenessTests.cpp62 GLS_UNSIZED_FORMATKEY(GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4),
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Dload_functions_table_autogen.cpp2895 case GL_UNSIGNED_SHORT_4_4_4_4: in RGBA_to_default()
3035 case GL_UNSIGNED_SHORT_4_4_4_4: in RGBA4_to_B4G4R4A4_UNORM()
3049 case GL_UNSIGNED_SHORT_4_4_4_4: in RGBA4_to_R4G4B4A4_UNORM()
3063 case GL_UNSIGNED_SHORT_4_4_4_4: in RGBA4_to_R8G8B8A8_UNORM()

Completed in 39 milliseconds

12345