Home
last modified time | relevance | path

Searched refs:GL_RG (Results 1 – 25 of 97) sorted by relevance

1234

/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp250 …{ GL_RG, GL_RG, GL_RG, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 0, 0, 0, 0, 0, 0, NO_…
257 …{ GL_RG8, GL_RG, GL_RG, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 0, 0, 0, 0, 0, 0, NO…
258 …{ GL_RG8_SNORM, GL_RG, GL_RG, GL_BYTE, SAMPLER_NORM, { { 8, 8, 0, 0, 0, 0, 0, 0, NO_F…
259 …{ GL_RG16, GL_RG, GL_RG, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16, 0, 0, 0, 0, 0, 0, …
260 …{ GL_RG16_SNORM, GL_RG, GL_RG, GL_SHORT, SAMPLER_NORM, { {16,16, 0, 0, 0, 0, 0, 0, NO_…
290 …{ GL_RG16F, GL_RG, GL_RG, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16, 0, 0, 0, 0, 0, 0, NO_…
294 …{ GL_RG32F, GL_RG, GL_RG, GL_FLOAT, SAMPLER_FLOAT, { {32,32, 0, 0, 0, 0, 0, 0, NO_FLAG…
307 …{ GL_RG8I, GL_RG, GL_RG_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 8, 0, 0, 0, 0, 0, 0, NO_FLAG } …
308 …{ GL_RG8UI, GL_RG, GL_RG_INTEGER, GL_UNSIGNED_BYTE, SAMPLER_UINT, { { 8, 8, 0, 0, 0, 0, 0, 0,…
309 …{ GL_RG16I, GL_RG, GL_RG_INTEGER, GL_SHORT, SAMPLER_INT, { {16,16, 0, 0, 0, 0, 0, 0, NO_FLAG …
[all …]
DglcPackedPixelsTests.cpp158 …{ GL_RG, GL_RG, GL_RG, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 0, 0, 0, 0,…
163 …{ GL_RG8, GL_RG, GL_RG, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 0, 0, 0, 0…
164 …{ GL_RG8_SNORM, GL_RG, GL_RG, GL_BYTE, SAMPLER_NORM, { { 8, 8, 0, 0, 0, 0, …
165 …{ GL_RG16, GL_RG, GL_RG, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16, 0, 0, 0, …
166 …{ GL_RG16_SNORM, GL_RG, GL_RG, GL_SHORT, SAMPLER_NORM, { {16,16, 0, 0, 0, 0,…
189 …{ GL_RG16F, GL_RG, GL_RG, GL_HALF_FLOAT, SAMPLER_FLOAT, { {16,16, 0, 0, 0, 0,…
193 …{ GL_RG32F, GL_RG, GL_RG, GL_FLOAT, SAMPLER_FLOAT, { {32,32, 0, 0, 0, 0, 0,…
204 …{ GL_RG8I, GL_RG, GL_RG_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 8, 0, 0, 0, 0, …
205 …{ GL_RG8UI, GL_RG, GL_RG_INTEGER, GL_UNSIGNED_BYTE, SAMPLER_UINT, { { 8, 8, 0,…
206 …{ GL_RG16I, GL_RG, GL_RG_INTEGER, GL_SHORT, SAMPLER_INT, { {16,16, 0, 0, 0, 0…
[all …]
DglcInternalformatTests.cpp805 formatMap[GL_RG] = TextureFormat(GL_RG, GL_UNSIGNED_BYTE, GL_RG); in iterate()
819 formatMap[GL_RG] = TextureFormat(GL_RG, GL_UNSIGNED_BYTE, GL_RG8); in iterate()
1630 TF(GL_RG, GL_UNSIGNED_BYTE, GL_RG8), in getESTestData()
1631 TF(GL_RG, GL_HALF_FLOAT, GL_RG16F), in getESTestData()
1632 TF(GL_RG, GL_FLOAT, GL_RG32F), in getESTestData()
1633 TF(GL_RG, GL_FLOAT, GL_RG16F), in getESTestData()
1733 TF(GL_RG, GL_BYTE, GL_RG8_SNORM), in getGLTestData()
1734 TF(GL_RG, GL_SHORT, GL_RG16_SNORM), in getGLTestData()
1763 TF(GL_RG, GL_HALF_FLOAT, GL_RG16F, ARB_texture_float), in getGLTestData()
1767 TF(GL_RG, GL_FLOAT, GL_RG32F, ARB_texture_float), in getGLTestData()
/external/angle/src/libANGLE/
Des3_copy_conversion_table_autogen.cpp48 case GL_RG: in ValidES3CopyConversion()
73 case GL_RG: in ValidES3CopyConversion()
95 case GL_RG: in ValidES3CopyConversion()
99 case GL_RG: in ValidES3CopyConversion()
Dformat_map_autogen.cpp399 case GL_RG: in GetSizedFormatInternal()
603 case GL_RG: in ValidES3Format()
1118 case GL_RG: in ValidES3FormatCombination()
1138 case GL_RG: in ValidES3FormatCombination()
1150 case GL_RG: in ValidES3FormatCombination()
1162 case GL_RG: in ValidES3FormatCombination()
1185 case GL_RG: in ValidES3FormatCombination()
Dformat_map_desktop.cpp29 case GL_RG: in ValidDesktopFormat()
Dformatutils.cpp967 …AddRGBAFormat(&map, GL_RG8, true, 8, 8, 0, 0, 0, GL_RG, GL_UNSIGNED_BY… in BuildInternalFormatInfoMap()
968 …AddRGBAFormat(&map, GL_RG8_SNORM, true, 8, 8, 0, 0, 0, GL_RG, GL_BYTE, … in BuildInternalFormatInfoMap()
1028 …AddRGBAFormat(&map, GL_RG16F, true, 16, 16, 0, 0, 0, GL_RG, GL_HALF_FLOAT, GL_FLOA… in BuildInternalFormatInfoMap()
1032 …AddRGBAFormat(&map, GL_RG32F, true, 32, 32, 0, 0, 0, GL_RG, GL_FLOAT, GL_FLOA… in BuildInternalFormatInfoMap()
1193 …AddRGBAFormat(&map, GL_RG16_EXT, true, 16, 16, 0, 0, 0, GL_RG, GL_UNSIGNED_SHORT, GL_U… in BuildInternalFormatInfoMap()
1194 …AddRGBAFormat(&map, GL_RG16_SNORM_EXT, true, 16, 16, 0, 0, 0, GL_RG, GL_SHORT, GL_S… in BuildInternalFormatInfoMap()
1206 …AddRGBAFormat(&map, GL_SRG8_EXT, true, 8, 8, 0, 0, 0, GL_RG, GL_UNSIGNED_BYTE, GL_U… in BuildInternalFormatInfoMap()
1213 …AddRGBAFormat(&map, GL_RG, false, 8, 8, 0, 0, 0, GL_RG, GL_UNSIGNED_BY… in BuildInternalFormatInfoMap()
1214 …AddRGBAFormat(&map, GL_RG, false, 8, 8, 0, 0, 0, GL_RG, GL_BYTE, … in BuildInternalFormatInfoMap()
1215 …AddRGBAFormat(&map, GL_RG, false, 16, 16, 0, 0, 0, GL_RG, GL_UNSIGNED_SH… in BuildInternalFormatInfoMap()
[all …]
/external/angle/src/libANGLE/renderer/gl/cgl/
DIOSurfaceSurfaceCGL.cpp54 …{GL_RG, GL_UNSIGNED_BYTE, 2, GL_RG, GL_RG, GL_UNSIGNED_BYTE …
55 …{GL_RG, GL_UNSIGNED_SHORT, 4, GL_RG, GL_RG, GL_UNSIGNED_SHORT …
/external/mesa3d/src/mesa/main/
Dglformats.c185 case GL_RG: in get_map_idx()
390 case GL_RG: in _mesa_components_in_format()
585 case GL_RG: in _mesa_is_enum_format_unsized()
667 case GL_RG: in _mesa_is_enum_format_unorm()
1016 case GL_RG: in _mesa_is_color_format()
1476 return GL_RG; in _mesa_unpack_format_to_base_format()
1492 case GL_RG: in _mesa_unpack_format_to_base_format()
1518 case GL_RG: in _mesa_base_format_to_integer_format()
1555 base_format == GL_RG || in _mesa_base_format_has_channel()
1567 if (base_format == GL_RG || in _mesa_base_format_has_channel()
[all …]
Dtexcompress_rgtc.c200 if (baseInternalFormat == GL_RG) in _mesa_texstore_rg_rgtc2()
265 if (baseInternalFormat == GL_RG) in _mesa_texstore_signed_rg_rgtc2()
/external/angle/src/tests/gl_tests/
DTextureUploadFormatTest.cpp83 case GL_RG: in bytesPerPixel()
236 case GL_RG: in TEST_P()
340 fnTest({GL_RG8, GL_RG, GL_UNSIGNED_BYTE}, {1, 1, 0, 0}); in TEST_P()
361 fnTest({GL_RG8_SNORM, GL_RG, GL_BYTE}, {2, 2, 0, 0}); in TEST_P()
571 fnTest({GL_RG16F, GL_RG, GL_HALF_FLOAT}, {1, 1, 0, 0}); in TEST_P()
594 fnTest({GL_RG32F, GL_RG, GL_FLOAT}, {1, 1, 0, 0}); in TEST_P()
595 fnTest({GL_RG16F, GL_RG, GL_FLOAT}, {1, 1, 0, 0}); in TEST_P()
DSwizzleTest.cpp274 init2DTexture(GL_RG8, GL_RG, GL_UNSIGNED_BYTE, data); in TEST_P()
319 init2DTexture(GL_RG32F, GL_RG, GL_FLOAT, data); in TEST_P()
DPackUnpackTest.cpp127 glReadPixels(8, 8, 1, 1, GL_RG, GL_FLOAT, p); in compareBeforeAfter()
/external/virglrenderer/src/
Dvrend_formats.c103 { VIRGL_FORMAT_R8G8_UNORM, GL_RG8, GL_RG, GL_UNSIGNED_BYTE, NO_SWIZZLE },
105 { VIRGL_FORMAT_R16G16_UNORM, GL_RG16, GL_RG, GL_UNSIGNED_SHORT, NO_SWIZZLE },
162 { VIRGL_FORMAT_R16G16_FLOAT, GL_RG16F, GL_RG, GL_HALF_FLOAT, NO_SWIZZLE },
164 { VIRGL_FORMAT_R32G32_FLOAT, GL_RG32F, GL_RG, GL_FLOAT, NO_SWIZZLE },
202 { VIRGL_FORMAT_R8G8_SNORM, GL_RG8_SNORM, GL_RG, GL_BYTE, NO_SWIZZLE },
208 { VIRGL_FORMAT_R16G16_SNORM, GL_RG16_SNORM, GL_RG, GL_SHORT, NO_SWIZZLE },
246 {VIRGL_FORMAT_ETC2_RG11_UNORM, GL_COMPRESSED_RG11_EAC, GL_RG, GL_UNSIGNED_BYTE, NO_SWIZZLE},
247 {VIRGL_FORMAT_ETC2_RG11_SNORM, GL_COMPRESSED_SIGNED_RG11_EAC, GL_RG, GL_BYTE, NO_SWIZZLE},
284 { VIRGL_FORMAT_RGTC2_UNORM, GL_COMPRESSED_RG_RGTC2, GL_RG, GL_UNSIGNED_BYTE, NO_SWIZZLE },
285 { VIRGL_FORMAT_RGTC2_SNORM, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_RG, GL_BYTE, NO_SWIZZLE },
/external/swiftshader/src/OpenGL/common/
DImage.cpp42 case GL_RG: in IsUnsizedInternalFormat()
68 case GL_RG8: return GL_RG; in GetBaseInternalFormat()
69 case GL_RG8_SNORM: return GL_RG; in GetBaseInternalFormat()
82 case GL_RG16F: return GL_RG; in GetBaseInternalFormat()
86 case GL_RG32F: return GL_RG; in GetBaseInternalFormat()
97 case GL_RG8I: return GL_RG; in GetBaseInternalFormat()
98 case GL_RG8UI: return GL_RG; in GetBaseInternalFormat()
99 case GL_RG16I: return GL_RG; in GetBaseInternalFormat()
100 case GL_RG16UI: return GL_RG; in GetBaseInternalFormat()
101 case GL_RG32I: return GL_RG; in GetBaseInternalFormat()
[all …]
/external/angle/src/tests/egl_tests/
DEGLIOSurfaceClientBufferTest.cpp518 doClearTest(ioSurface, 1, 1, 0, GL_RG, GL_UNSIGNED_BYTE, color); in TEST_P()
529 doSampleTest(ioSurface, 1, 1, 0, GL_RG, GL_UNSIGNED_BYTE, &color, sizeof(color), R | G); in TEST_P()
657 doClearTest(ioSurface, planes[1].width, planes[1].height, 1, GL_RG, GL_UNSIGNED_BYTE, in TEST_P()
681 doSampleTest(ioSurface, planes[1].width, planes[1].height, 1, GL_RG, GL_UNSIGNED_BYTE, in TEST_P()
705 doClearTest(ioSurface, planes[1].width, planes[1].height, 1, GL_RG, GL_UNSIGNED_SHORT, in TEST_P()
729 doSampleTest(ioSurface, planes[1].width, planes[1].height, 1, GL_RG, GL_UNSIGNED_SHORT, in TEST_P()
/external/deqp/modules/egl/
DteglImageTests.cpp350 case GL_RG: return "rg"; in getStorageName()
426 if ((m_internalFormat == GL_RED || m_internalFormat == GL_RG) && !isGLRedSupported()) in iterate()
565 …addChild(new Image::CreateImageGLES2(m_eglTestCtx, EGL_GL_TEXTURE_2D_KHR, GL_RG, GL_RG, GL_UNSIGNE… in init()
/external/swiftshader/src/OpenGL/libEGL/
DDisplay.cpp384 case GL_RG: in createPBufferSurface()
474 case GL_RG: in createPBufferSurface()
491 case GL_RG: in createPBufferSurface()
507 case GL_RG: in createPBufferSurface()
/external/mesa3d/src/glx/
Dcompsize.c71 case GL_RG: in __glElementsPerGroup()
/external/angle/extensions/
DEGL_ANGLE_iosurface_client_buffer.txt114 GL_UNSIGNED_BYTE GL_RG
115 GL_UNSIGNED_SHORT GL_RG
/external/swiftshader/src/OpenGL/libGLESv2/
DFramebuffer.cpp537 case GL_RG8: return GL_RG; in getImplementationColorReadFormat()
564 case GL_RG16F: return GL_RG; in getImplementationColorReadFormat()
569 case GL_RG32F: return GL_RG; in getImplementationColorReadFormat()
Dutilities.cpp561 baseColorbufferFormat != GL_RG && in ValidateCopyFormats()
569 case GL_RG: in ValidateCopyFormats()
570 if(baseColorbufferFormat != GL_RG && in ValidateCopyFormats()
1032 case GL_RG: in ValidateTextureFormatType()
1240 case GL_RG: in ConvertReadFormatType()
1450 case GL_RG: in IsDepthRenderable()
1516 case GL_RG: in IsStencilRenderable()
/external/angle/src/libANGLE/renderer/metal/
DIOSurfaceSurfaceMtl.mm49 {GL_RG, GL_UNSIGNED_BYTE, 2, angle::FormatID::R8G8_UNORM},
50 {GL_RG, GL_UNSIGNED_SHORT, 4, angle::FormatID::R16G16_UNORM},
/external/angle/src/libANGLE/renderer/vulkan/mac/
DIOSurfaceSurfaceVkMac.mm42 {GL_RG, GL_UNSIGNED_BYTE, 2, GL_RG8 },
43 {GL_RG, GL_UNSIGNED_SHORT, 4, GL_RG16_EXT },
/external/mesa3d/src/mesa/main/tests/
Dmesa_formats.cpp119 case GL_RG: in TEST()

1234