Home
last modified time | relevance | path

Searched refs:GL_RGB565 (Results 1 – 25 of 122) sorted by relevance

12345

/external/angle/src/common/
Dandroid_util.cpp234 return GL_RGB565; in NativePixelFormatToGLInternalFormat()
277 case GL_RGB565: in GLInternalFormatToNativePixelFormat()
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp426 case GL_RGB565: in IsSizedInternalFormat()
1038 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RGB8, GL_RGB565, GL_SRGB8) in ValidateTextureFormatType()
1040 case GL_UNSIGNED_SHORT_5_6_5: VALIDATE_INTERNALFORMAT(GL_RGB565) in ValidateTextureFormatType()
1368 case GL_RGB565: in IsColorRenderable()
1475 case GL_RGB565: in IsDepthRenderable()
1541 case GL_RGB565: in IsStencilRenderable()
1609 case GL_RGB565: return 0; in GetAlphaSize()
1658 case GL_RGB565: return 5; in GetRedSize()
1707 case GL_RGB565: return 6; in GetGreenSize()
1756 case GL_RGB565: return 5; in GetBlueSize()
[all …]
/external/angle/src/tests/gl_tests/
DCopyTexture3DTest.cpp113 case GL_RGB565: in testCopy()
663 testCopy(GL_TEXTURE_3D, GLColor(250, 200, 150, 200), GL_RGB565, GL_UNSIGNED_BYTE, false, false, in TEST_P()
665 testCopy(GL_TEXTURE_3D, GLColor(250, 200, 150, 200), GL_RGB565, GL_UNSIGNED_BYTE, false, true, in TEST_P()
667 testCopy(GL_TEXTURE_3D, GLColor(100, 150, 250, 200), GL_RGB565, GL_UNSIGNED_BYTE, false, false, in TEST_P()
670 testCopy(GL_TEXTURE_3D, GLColor(250, 200, 150, 200), GL_RGB565, GL_UNSIGNED_SHORT_5_6_5, false, in TEST_P()
672 testCopy(GL_TEXTURE_3D, GLColor(250, 200, 150, 200), GL_RGB565, GL_UNSIGNED_SHORT_5_6_5, false, in TEST_P()
674 testCopy(GL_TEXTURE_3D, GLColor(100, 150, 250, 200), GL_RGB565, GL_UNSIGNED_SHORT_5_6_5, false, in TEST_P()
1380 testCopy(GL_TEXTURE_2D_ARRAY, GLColor(250, 200, 150, 200), GL_RGB565, GL_UNSIGNED_BYTE, false, in TEST_P()
1382 testCopy(GL_TEXTURE_2D_ARRAY, GLColor(250, 200, 150, 200), GL_RGB565, GL_UNSIGNED_BYTE, false, in TEST_P()
1384 testCopy(GL_TEXTURE_2D_ARRAY, GLColor(100, 150, 250, 200), GL_RGB565, GL_UNSIGNED_BYTE, false, in TEST_P()
[all …]
DSixteenBppTextureTest.cpp282 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB565, 2, 2, 0, GL_RGB, GL_UNSIGNED_BYTE, fourColors.data()); in TEST_P()
446 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB565, w, h, 0, GL_RGB, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
/external/deqp/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleDependenciesTests.cpp358 GL_RGB565, 2, /* width */ in iterate()
368 GL_RGB565, 2, /* width */ in iterate()
378 GL_RGB565, 2, /* width */ in iterate()
987 …const glw::GLenum internalformats[] = { GL_R8, GL_RGB565, GL_RGB10_A2UI, GL_SRGB8_ALPHA8, GL_R8I … in iterate()
1272 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, GL_RGBA32I in iterate()
1422 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, GL_RGBA32I in iterate()
1577 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, GL_RGBA32I in iterate()
1733 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, GL_RGBA32I in iterate()
1870 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, GL_STENCIL_INDEX8 in iterate()
2059 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, GL_RGBA32I in iterate()
[all …]
/external/angle/src/libANGLE/
Dformat_map_autogen.cpp443 return GL_RGB565; in GetSizedFormatInternal()
878 case GL_RGB565: in ValidES3FormatCombination()
918 case GL_RGB565: in ValidES3FormatCombination()
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedColorMasks.cpp97 static const glw::GLenum WriteMasksFormats[] = { GL_R8, GL_RG8, GL_RGB8, GL_RGB565, GL_RGBA4, in iterate()
344 case GL_RGB565: in NumComponents()
369 case GL_RGB565: in ReadableType()
DesextcDrawBuffersIndexedBlending.cpp96 GL_R8, GL_RG8, GL_RGB8, GL_RGB565, GL_RGBA4, GL_RGBA8, in iterate()
352 case GL_RGB565: in NumComponents()
/external/deqp/modules/gles3/performance/
Des3pTextureCountTests.cpp58 { "rgb565", GL_RGB565 }, in init()
Des3pTextureFormatTests.cpp72 { "rgb565", GL_RGB565, }, in init()
Des3pTextureFilteringTests.cpp56 { "rgb565", GL_RGB565 }, in init()
/external/deqp/modules/gles2/functional/
Des2fRboStateQueryTests.cpp163 GL_RGBA4, GL_RGB5_A1, GL_RGB565 in test()
204 { GL_RGB565, 5, 6, 5, 0 }, in test()
Des2fFboCompletenessTests.cpp45 GL_RGBA4, GL_RGB5_A1, GL_RGB565,
128 GL_RGB565,
/external/angle/src/libANGLE/renderer/vulkan/android/
DDisplayVkAndroid.cpp54 constexpr GLenum kColorFormats[] = {GL_RGBA8, GL_RGB8, GL_RGB565}; in generateConfigs()
/external/deqp/modules/gles31/functional/
Des31fFboTestCase.cpp174 case GL_RGB565: in isRequiredFormat()
303 case GL_RGB565: in getMinimumSampleCount()
/external/deqp/modules/gles3/functional/
Des3fFboTestCase.cpp169 case GL_RGB565: in isRequiredFormat()
292 case GL_RGB565: in getMinimumSampleCount()
Des3fRboStateQueryTests.cpp182 GL_R8, GL_RG8, GL_RGB8, GL_RGB565, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, in test()
227 { GL_RGB565, 5, 6, 5, 0 }, in test()
Des3fFboCompletenessTests.cpp49 GL_R8, GL_RG8, GL_RGB8, GL_RGB565, GL_RGBA4, GL_RGB5_A1, GL_RGBA8,
397 GL_RGBA8, GL_RGB565, GL_DEPTH_COMPONENT24, in build()
Des3fInternalFormatQueryTests.cpp183 { "rgb565", GL_RGB565, false }, in init()
/external/mesa3d/src/mesa/main/
Dglformats.c677 case GL_RGB565: in _mesa_is_enum_format_unorm()
1025 case GL_RGB565: in _mesa_is_color_format()
2337 case GL_RGB565: in _mesa_base_tex_format()
2716 return GL_RGB565; in gles_effective_internal_format_for_format_and_type()
3005 case GL_RGB565: in _mesa_gles_error_check_format_and_type()
3035 case GL_RGB565: in _mesa_gles_error_check_format_and_type()
3098 case GL_RGB565: in _mesa_gles_error_check_format_and_type()
3856 case GL_RGB565: in _mesa_is_es3_color_renderable()
3922 case GL_RGB565: in _mesa_is_es3_texture_filterable()
/external/deqp/modules/egl/
DteglImageTests.cpp358 case GL_RGB565: return "rgb565"; in getStorageName()
583 GL_RGB565, in init()
591 GL_RGB565, in init()
DteglAndroidUtil.cpp70 case GL_RGB565: return tcu::Android::internal::PIXEL_FORMAT_RGB_565; in getPixelFormat()
DteglImageFormatTests.cpp1128 addCreateRenderbuffer("renderbuffer_rgb565", GL_RGB565); in addCreateRenderbufferActions()
1135 addCreateAndroidNative("android_native_rgb565", GL_RGB565); in addCreateAndroidNativeActions()
1173 case GL_RGB565: in isDepthFormat()
1198 case GL_RGB565: in isStencilFormat()
1308 || createFormat == GL_RGB565 in isCompatibleFormats()
1316 || createFormat == GL_RGB565; in isCompatibleFormats()
/external/angle/src/libANGLE/renderer/vulkan/win32/
DDisplayVkWin32.cpp137 constexpr GLenum kColorFormats[] = {GL_RGB565, GL_BGRA8_EXT, GL_BGRX8_ANGLEX, GL_RGB10_A2_EXT, in generateConfigs()
/external/deqp/external/openglcts/modules/common/
DglcInternalformatTests.cpp401 case GL_RGB565: in getUnsizedFormatFromInternalFormat()
1459 TF(GL_RGB, GL_UNSIGNED_BYTE, GL_RGB565), in getESTestData()
1464 TF(GL_RGB, GL_UNSIGNED_SHORT_5_6_5, GL_RGB565), in getESTestData()
1475 CF(GL_RGB565), in getESTestData()
1493 TF(GL_RGB, GL_UNSIGNED_BYTE, GL_RGB565, OES_required_internalformat), in getESTestData()
1498 TF(GL_RGB, GL_UNSIGNED_SHORT_5_6_5, GL_RGB565, OES_required_internalformat), in getESTestData()
1513 CF(GL_RGB565, OES_required_internalformat), in getESTestData()

12345