Home
last modified time | relevance | path

Searched refs:GL_RGB5_A1 (Results 1 – 25 of 116) sorted by relevance

12345

/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp396 case GL_RGB5_A1: in IsSizedInternalFormat()
982 …case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8, GL_RGB5_A1, GL_RGBA4, GL_SR… in ValidateTextureFormatType()
985 case GL_UNSIGNED_SHORT_5_5_5_1: VALIDATE_INTERNALFORMAT(GL_RGB5_A1) in ValidateTextureFormatType()
986 case GL_UNSIGNED_INT_2_10_10_10_REV: VALIDATE_INTERNALFORMAT(GL_RGB10_A2, GL_RGB5_A1) in ValidateTextureFormatType()
1338 case GL_RGB5_A1: in IsColorRenderable()
1445 case GL_RGB5_A1: in IsDepthRenderable()
1511 case GL_RGB5_A1: in IsStencilRenderable()
1579 case GL_RGB5_A1: return 1; in GetAlphaSize()
1628 case GL_RGB5_A1: return 5; in GetRedSize()
1677 case GL_RGB5_A1: return 5; in GetGreenSize()
[all …]
DFramebuffer.cpp532 case GL_RGB5_A1: return GL_RGBA; in getImplementationColorReadFormat()
593 case GL_RGB5_A1: return GL_UNSIGNED_SHORT_5_5_5_1; in getImplementationColorReadType()
/external/angle/src/libANGLE/
Dformat_map_autogen.cpp473 return GL_RGB5_A1; in GetSizedFormatInternal()
1417 case GL_RGB5_A1: in ValidES3FormatCombination()
1432 case GL_RGB5_A1: in ValidES3FormatCombination()
1467 case GL_RGB5_A1: in ValidES3FormatCombination()
DvalidationES2.cpp119 case GL_RGB5_A1: in IsValidCopyTextureDestinationInternalFormatEnum()
399 colorbufferFormat != GL_RGB5_A1 && colorbufferFormat != GL_RGBA8_OES && in ValidateES2CopyTexImageParameters()
410 colorbufferFormat != GL_RGBA4 && colorbufferFormat != GL_RGB5_A1 && in ValidateES2CopyTexImageParameters()
422 colorbufferFormat != GL_RGBA4 && colorbufferFormat != GL_RGB5_A1 && in ValidateES2CopyTexImageParameters()
436 colorbufferFormat != GL_RGB5_A1 && colorbufferFormat != GL_RGBA8_OES && in ValidateES2CopyTexImageParameters()
448 colorbufferFormat != GL_RGBA4 && colorbufferFormat != GL_RGB5_A1 && in ValidateES2CopyTexImageParameters()
461 if (colorbufferFormat != GL_RGBA4 && colorbufferFormat != GL_RGB5_A1 && in ValidateES2CopyTexImageParameters()
507 colorbufferFormat != GL_RGB5_A1 && colorbufferFormat != GL_BGRA8_EXT && in ValidateES2CopyTexImageParameters()
519 colorbufferFormat != GL_RGBA4 && colorbufferFormat != GL_RGB5_A1 && in ValidateES2CopyTexImageParameters()
531 colorbufferFormat != GL_RGB5_A1 && colorbufferFormat != GL_BGRA8_EXT && in ValidateES2CopyTexImageParameters()
[all …]
/external/angle/src/common/
Dandroid_util.cpp238 return GL_RGB5_A1; in getPixelFormatInfo()
364 case GL_RGB5_A1: in GLInternalFormatToNativePixelFormat()
/external/angle/src/tests/gl_tests/
DCopyTexture3DTest.cpp115 case GL_RGB5_A1: in testCopy()
209 case GL_RGB5_A1: in testCopy()
716 testCopy(testTarget, GLColor(250, 200, 150, 200), GL_RGB5_A1, GL_UNSIGNED_BYTE, false, in testUnsignedByteFormats()
718 testCopy(testTarget, kColorPreAlpha, GL_RGB5_A1, GL_UNSIGNED_BYTE, false, true, false, in testUnsignedByteFormats()
720 testCopy(testTarget, kColorUnAlpha, GL_RGB5_A1, GL_UNSIGNED_BYTE, false, false, true, in testUnsignedByteFormats()
729 testCopy(testTarget, kColorNoAlpha, GL_RGB5_A1, GL_UNSIGNED_INT_2_10_10_10_REV, false, in testUnsignedByteFormats()
731 testCopy(testTarget, kColorPreAlpha, GL_RGB5_A1, GL_UNSIGNED_INT_2_10_10_10_REV, false, in testUnsignedByteFormats()
733 testCopy(testTarget, kColorUnAlpha, GL_RGB5_A1, GL_UNSIGNED_INT_2_10_10_10_REV, false, in testUnsignedByteFormats()
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()
[all …]
DBlendPackedTest.cpp86 runTest<GL_RGB5_A1, 4>(); in TEST_P()
DSixteenBppTextureTest.cpp301 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB5_A1, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
337 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB5_A1, 2, 2, 0, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, in TEST_P()
DTextureUploadFormatTest.cpp334 fnTest({GL_RGB5_A1, GL_RGBA, GL_UNSIGNED_BYTE}, {8, 8, 8, 255}); in TEST_P()
405 fnTest({GL_RGB5_A1, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV}, {8, 8, 8, 255}); in TEST_P()
/external/deqp/modules/gles2/functional/
Des2fRboStateQueryTests.cpp163 GL_RGBA4, GL_RGB5_A1, GL_RGB565 in test()
203 { GL_RGB5_A1, 5, 5, 5, 1 }, in test()
Des2fFboCompletenessTests.cpp45 GL_RGBA4, GL_RGB5_A1, GL_RGB565,
125 GL_RGB5_A1,
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedColorMasks.cpp98 GL_RGB5_A1, GL_RGBA8, GL_R8I, GL_R8UI, GL_R16I, in iterate()
347 case GL_RGB5_A1: in NumComponents()
371 case GL_RGB5_A1: in ReadableType()
/external/deqp/modules/gles3/performance/
Des3pTextureFormatTests.cpp69 { "rgb5_a1", GL_RGB5_A1, }, in init()
/external/deqp/modules/gles3/functional/
Des3fRboStateQueryTests.cpp182 GL_R8, GL_RG8, GL_RGB8, GL_RGB565, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, in test()
229 { GL_RGB5_A1, 5, 5, 5, 1 }, in test()
Des3fFboTestCase.cpp167 case GL_RGB5_A1: in isRequiredFormat()
290 case GL_RGB5_A1: in getMinimumSampleCount()
Des3fInternalFormatQueryTests.cpp185 { "rgb5_a1", GL_RGB5_A1, false }, in init()
/external/deqp/modules/gles31/functional/
Des31fFboTestCase.cpp173 case GL_RGB5_A1: in isRequiredFormat()
310 case GL_RGB5_A1: in getMinimumSampleCount()
/external/deqp/external/openglcts/modules/common/
DglcInternalformatTests.cpp409 case GL_RGB5_A1: in getUnsizedFormatFromInternalFormat()
1561 TF(GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, GL_RGB5_A1, EXT_texture_type_2_10_10_10_REV), in getESTestData()
1597 TF(GL_RGBA, GL_UNSIGNED_BYTE, GL_RGB5_A1), in getESTestData()
1602 TF(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, GL_RGB5_A1), in getESTestData()
1661 CF(GL_RGBA4), CF(GL_RGB5_A1), CF(GL_RGB565), CF(GL_RGBA8), in getESTestData()
1666 RF(GL_RGB5_A1, RENDERBUFFER_COLOR), in getESTestData()
1679 TF(GL_RGBA, GL_UNSIGNED_BYTE, GL_RGB5_A1, OES_required_internalformat), in getESTestData()
1684 TF(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, GL_RGB5_A1, OES_required_internalformat), in getESTestData()
1700 CF(GL_RGB5_A1, OES_required_internalformat), in getESTestData()
1719 RF(GL_RGB5_A1, RENDERBUFFER_COLOR, OES_required_internalformat), in getESTestData()
[all …]
/external/mesa3d/src/mesa/main/
Dglformats.c689 case GL_RGB5_A1: in _mesa_is_enum_format_unorm()
1036 case GL_RGB5_A1: in _mesa_is_color_format()
2312 case GL_RGB5_A1: in _mesa_base_tex_format()
2711 return GL_RGB5_A1; in gles_effective_internal_format_for_format_and_type()
2859 case GL_RGB5_A1: in _mesa_gles_error_check_format_and_type()
2905 case GL_RGB5_A1: in _mesa_gles_error_check_format_and_type()
2916 case GL_RGB5_A1: in _mesa_gles_error_check_format_and_type()
3858 case GL_RGB5_A1: in _mesa_is_es3_color_renderable()
3924 case GL_RGB5_A1: in _mesa_is_es3_texture_filterable()
/external/deqp/modules/egl/
DteglImageFormatTests.cpp712 case GL_RGB5_A1: in invokeGLES2()
1138 addCreateRenderbuffer("renderbuffer_rgb5_a1", GL_RGB5_A1); in addCreateRenderbufferActions()
1147 addCreateAndroidNative("android_native_rgb5_a1", GL_RGB5_A1); in addCreateAndroidNativeActions()
1196 case GL_RGB5_A1: in isDepthFormat()
1228 case GL_RGB5_A1: in isStencilFormat()
1378 || createFormat == GL_RGB5_A1 in isCompatibleFormats()
1388 return createFormat == GL_RGB5_A1 in isCompatibleFormats()
1393 || createFormat == GL_RGB5_A1; in isCompatibleFormats()
DteglImageTests.cpp363 case GL_RGB5_A1: return "rgb5_a1"; in getStorageName()
588 GL_RGB5_A1, in init()
601 GL_RGB5_A1, in init()
/external/swiftshader/src/OpenGL/common/
DImage.cpp74 case GL_RGB5_A1: return GL_RGBA; in GetBaseInternalFormat()
159 case GL_UNSIGNED_SHORT_5_5_5_1: return GL_RGB5_A1; in GetSizedInternalFormat()
314 case GL_RGB5_A1: return sw::FORMAT_A8B8G8R8; in SelectInternalFormat()
1330 case GL_RGB5_A1: in loadImageData()
1344 ASSERT_OR_RETURN(internalformat == GL_RGB5_A1 && getExternalFormat() == sw::FORMAT_A8B8G8R8); in loadImageData()
1352 case GL_RGB5_A1: in loadImageData()
/external/deqp/framework/opengl/
DgluTextureUtil.cpp150 case FMT_CASE(RGBA, UNORM_SHORT_5551): return GL_RGB5_A1; in getInternalFormat()
479 case GL_RGB5_A1: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_5551); in mapGLInternalFormat()
569 case GL_RGB5_A1: in isGLInternalColorFormatFilterable()
1128 case GL_RGB5_A1: in getRenderableBitsES3()
DgluFboRenderContext.cpp87 GL_RGB5_A1, in chooseColorFormat()
/external/mesa3d/src/mesa/state_tracker/
Dst_format.c226 { GL_RGB5_A1, 0 },
1151 internalFormat = GL_RGB5_A1; in st_choose_format()

12345