Home
last modified time | relevance | path

Searched refs:GL_RG (Results 1 - 25 of 92) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A 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()
H A 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()
H A Dformat_map_desktop.cpp29 case GL_RG: in ValidDesktopFormat()
H A Dformatutils.cpp1032 AddRGBAFormat(&map, GL_RG8, true, 8, 8, 0, 0, 0, GL_RG, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, SizedRGSupport, AlwaysSupported, SizedRGSupport, RequireESOrExt<3, 0, &Extensions::textureRgEXT>, RequireESOrExt<3, 0, &Extensions::textureRgEXT>); in BuildInternalFormatInfoMap()
1033 AddRGBAFormat(&map, GL_RG8_SNORM, true, 8, 8, 0, 0, 0, GL_RG, GL_BYTE, GL_SIGNED_NORMALIZED, false, RequireES<3, 0>, AlwaysSupported, NeverSupported, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
1099 AddRGBAFormat(&map, GL_RG16F, true, 16, 16, 0, 0, 0, GL_RG, GL_HALF_FLOAT, GL_FLOAT, false, SizedHalfFloatRGSupport, SizedHalfFloatFilterSupport, SizedHalfFloatRGTextureAttachmentSupport, SizedHalfFloatRGRenderbufferSupport, SizedHalfFloatRGRenderbufferSupport); in BuildInternalFormatInfoMap()
1103 AddRGBAFormat(&map, GL_RG32F, true, 32, 32, 0, 0, 0, GL_RG, GL_FLOAT, GL_FLOAT, false, SizedFloatRGSupport, RequireExt<&Extensions::textureFloatLinearOES>, RequireExt<&Extensions::colorBufferFloatEXT>, RequireExt<&Extensions::colorBufferFloatEXT>, Float32BlendableSupport); in BuildInternalFormatInfoMap()
1264 AddRGBAFormat(&map, GL_RG16_EXT, true, 16, 16, 0, 0, 0, GL_RG, GL_UNSIGNED_SHORT, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::textureNorm16EXT>, AlwaysSupported, RequireExt<&Extensions::textureNorm16EXT>, RequireExt<&Extensions::textureNorm16EXT>, RequireExt<&Extensions::textureNorm16EXT>); in BuildInternalFormatInfoMap()
1265 AddRGBAFormat(&map, GL_RG16_SNORM_EXT, true, 16, 16, 0, 0, 0, GL_RG, GL_SHORT, GL_SIGNED_NORMALIZED, false, RequireExt<&Extensions::textureNorm16EXT>, AlwaysSupported, NeverSupported, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
1277 AddRGBAFormat(&map, GL_SRG8_EXT, true, 8, 8, 0, 0, 0, GL_RG, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, true, RequireExt<&Extensions::textureSRGBRG8EXT>, AlwaysSupported, NeverSupported, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
1284 AddRGBAXFormat(&map, GL_RG, false, FB< 8, 8, 0, 0, 0, 0>(), GL_RG, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::textureRgEXT>, AlwaysSupported, RequireExt<&Extensions::textureRgEXT>, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
1285 AddRGBAXFormat(&map, GL_RG, fals in BuildInternalFormatInfoMap()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcTextureRepeatModeTests.cpp250 { GL_RG, GL_RG, GL_RG, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 0, 0, 0, 0, 0, 0, NO_FLAG } }, 0 },
257 { GL_RG8, GL_RG, GL_RG, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 0, 0, 0, 0, 0, 0, NO_FLAG } }, FLAG_REQ_RBO },
258 { GL_RG8_SNORM, GL_RG, GL_RG, GL_BYTE, SAMPLER_NORM, { { 8, 8, 0, 0, 0, 0, 0, 0, NO_FLAG } }, 0 },
259 { GL_RG16, GL_RG, GL_RG, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16, 0, 0, 0, 0, 0, 0, NO_FLAG } }, FLAG_REQ_RBO_GL42 },
260 { GL_RG16_SNORM, GL_RG, GL_R
[all...]
H A DglcPackedPixelsTests.cpp158 { GL_RG, GL_RG, GL_RG, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 0, 0, 0, 0, 0, 0, 0 } }, 0 },
163 { GL_RG8, GL_RG, GL_RG, GL_UNSIGNED_BYTE, SAMPLER_UNORM, { { 8, 8, 0, 0, 0, 0, 0, 0, 0 } }, FLAG_REQ_RBO },
164 { GL_RG8_SNORM, GL_RG, GL_RG, GL_BYTE, SAMPLER_NORM, { { 8, 8, 0, 0, 0, 0, 0, 0, 0 } }, 0 },
165 { GL_RG16, GL_RG, GL_RG, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16, 0, 0, 0, 0, 0, 0, 0 } }, FLAG_REQ_RBO_GL42 },
166 { GL_RG16_SNORM, GL_RG, GL_R
[all...]
H A DglcInternalformatTests.cpp810 formatMap[GL_RG] = TextureFormat(GL_RG, GL_UNSIGNED_BYTE, GL_RG); in iterate()
824 formatMap[GL_RG] = TextureFormat(GL_RG, GL_UNSIGNED_BYTE, GL_RG8); in iterate()
1640 TF(GL_RG, GL_UNSIGNED_BYTE, GL_RG8), in getESTestData()
1641 TF(GL_RG, GL_HALF_FLOAT, GL_RG16F), in getESTestData()
1642 TF(GL_RG, GL_FLOAT, GL_RG32F), in getESTestData()
1643 TF(GL_RG, GL_FLOAT, GL_RG16F), in getESTestData()
1743 TF(GL_RG, GL_BYT in getGLTestData()
[all...]
/third_party/mesa3d/src/mesa/main/
H A 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()
1480 return GL_RG; in _mesa_unpack_format_to_base_format()
1496 case GL_RG: in _mesa_unpack_format_to_base_format()
1522 case GL_RG: in _mesa_base_format_to_integer_format()
1559 base_format == GL_RG || in _mesa_base_format_has_channel()
1571 if (base_format == GL_RG || in _mesa_base_format_has_channel()
[all...]
H A Dtexcompress_rgtc.c200 if (baseInternalFormat == GL_RG) in _mesa_texstore_rg_rgtc2()
265 if (baseInternalFormat == GL_RG) in _mesa_texstore_signed_rg_rgtc2()
H A Dtexstate.c193 case GL_RG: in calculate_derived_texenv()
234 case GL_RG: in calculate_derived_texenv()
260 case GL_RG: in calculate_derived_texenv()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
H A 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 },
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DGLFormat.cpp56 AddFormat(wgpu::TextureFormat::RG8Unorm, GL_RG8, GL_RG, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable()
57 AddFormat(wgpu::TextureFormat::RG8Snorm, GL_RG8_SNORM, GL_RG, GL_BYTE, Type::Float); in BuildGLFormatTable()
67 AddFormat(wgpu::TextureFormat::RG16Float, GL_RG16F, GL_RG, GL_HALF_FLOAT, Type::Float); in BuildGLFormatTable()
83 AddFormat(wgpu::TextureFormat::RG32Float, GL_RG32F, GL_RG, GL_FLOAT, Type::Float); in BuildGLFormatTable()
108 AddFormat(wgpu::TextureFormat::BC5RGSnorm, GL_COMPRESSED_SIGNED_RG_RGTC2, GL_RG, GL_BYTE, Type::Float); in BuildGLFormatTable()
109 AddFormat(wgpu::TextureFormat::BC5RGUnorm, GL_COMPRESSED_RG_RGTC2, GL_RG, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DTextureUploadFormatTest.cpp83 case GL_RG: in bytesPerPixel()
233 case GL_RG: in TEST_P()
337 fnTest({GL_RG8, GL_RG, GL_UNSIGNED_BYTE}, {1, 1, 0, 0}); in TEST_P()
358 fnTest({GL_RG8_SNORM, GL_RG, GL_BYTE}, {2, 2, 0, 0}); in TEST_P()
568 fnTest({GL_RG16F, GL_RG, GL_HALF_FLOAT}, {1, 1, 0, 0}); in TEST_P()
591 fnTest({GL_RG32F, GL_RG, GL_FLOAT}, {1, 1, 0, 0}); in TEST_P()
592 fnTest({GL_RG16F, GL_RG, GL_FLOAT}, {1, 1, 0, 0}); in TEST_P()
H A DPackUnpackTest.cpp127 glReadPixels(8, 8, 1, 1, GL_RG, GL_FLOAT, p); in compareBeforeAfter()
H A 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()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
H A 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...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
H A 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()
/third_party/vk-gl-cts/modules/egl/
H A 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_UNSIGNED_BYTE, false)); in init()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A 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()
H A 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()
/third_party/mesa3d/src/glx/
H A Dcompsize.c71 case GL_RG: in __glElementsPerGroup()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
H A DEGLIOSurfaceClientBufferTest.cpp506 doClearTest(ioSurface, 1, 1, 0, GL_RG, GL_UNSIGNED_BYTE, color); in TEST_P()
517 doSampleTest(ioSurface, 1, 1, 0, GL_RG, GL_UNSIGNED_BYTE, &color, sizeof(color), R | G); in TEST_P()
627 doClearTest(ioSurface, planes[1].width, planes[1].height, 1, GL_RG, GL_UNSIGNED_BYTE, in TEST_P()
648 doSampleTest(ioSurface, planes[1].width, planes[1].height, 1, GL_RG, GL_UNSIGNED_BYTE, in TEST_P()
669 doClearTest(ioSurface, planes[1].width, planes[1].height, 1, GL_RG, GL_UNSIGNED_SHORT, in TEST_P()
690 doSampleTest(ioSurface, planes[1].width, planes[1].height, 1, GL_RG, GL_UNSIGNED_SHORT, in TEST_P()
/third_party/astc-encoder/Source/
H A Dastcenccli_image_load_store.cpp713 #define GL_RG 0x8227 macro
988 case GL_RG: in load_ktx_uncompressed_image()
1031 case GL_RG: in load_ktx_uncompressed_image()
1064 case GL_RG: in load_ktx_uncompressed_image()
1097 case GL_RG: in load_ktx_uncompressed_image()
1130 case GL_RG: in load_ktx_uncompressed_image()
1458 GL_RED, GL_RG, GL_RGB, GL_RGBA in store_ktx_uncompressed_image()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cDirectStateAccessBuffersTests.cpp962 is_ok &= TestClearNamedBufferData<glw::GLubyte, false>(GL_RG8, 2, GL_RG, GL_UNSIGNED_BYTE, reference); in iterate()
967 is_ok &= TestClearNamedBufferData<glw::GLubyte, true>(GL_RG8, 2, GL_RG, GL_UNSIGNED_BYTE, reference); in iterate()
1000 is_ok &= TestClearNamedBufferData<glw::GLushort, false>(GL_RG16, 2, GL_RG, GL_UNSIGNED_SHORT, reference); in iterate()
1006 is_ok &= TestClearNamedBufferData<glw::GLushort, true>(GL_RG16, 2, GL_RG, GL_UNSIGNED_SHORT, reference); in iterate()
1074 is_ok &= TestClearNamedBufferData<glw::GLhalf, false>(GL_RG16F, 2, GL_RG, GL_HALF_FLOAT, reference); in iterate()
1079 is_ok &= TestClearNamedBufferData<glw::GLhalf, true>(GL_RG16F, 2, GL_RG, GL_HALF_FLOAT, reference); in iterate()
1088 is_ok &= TestClearNamedBufferData<glw::GLfloat, false>(GL_RG32F, 2, GL_RG, GL_FLOAT, reference); in iterate()
1094 is_ok &= TestClearNamedBufferData<glw::GLfloat, true>(GL_RG32F, 2, GL_RG, GL_FLOAT, reference); in iterate()
2744 static const glw::GLenum valid_formats[] = { GL_RED, GL_RG, in TestErrorsOfClearNamedBufferData()
2766 "(one of GL_RED, GL_RG, GL_RG in TestErrorsOfClearNamedBufferData()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
H A DEGLImageWrappingTests.cpp364 ScopedEGLImage eglImage = CreateEGLImage(1, 1, GL_RG8, GL_RG, GL_UNSIGNED_BYTE, nullptr, 0); in TEST_P()
367 DoClearTest(eglImage.getImage(), eglImage.getTexture(), wgpu::TextureFormat::RG8Unorm, GL_RG, in TEST_P()

Completed in 32 milliseconds

1234