Home
last modified time | relevance | path

Searched refs:GL_RED_INTEGER (Results 1 – 25 of 84) sorted by relevance

1234

/external/angle/src/tests/gl_tests/
DComputeShaderTest.cpp45 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, kWidth, kHeight, GL_RED_INTEGER, format, in runSharedMemoryTest()
52 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, kWidth, kHeight, GL_RED_INTEGER, format, initData); in runSharedMemoryTest()
76 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, format, outputValues); in runSharedMemoryTest()
492 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
497 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
562 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
567 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
652 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
672 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
742 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
[all …]
DTextureUploadFormatTest.cpp89 case GL_RED_INTEGER: in bytesPerPixel()
266 case GL_RED_INTEGER: in TEST_P()
486 fnTest({GL_R8I, GL_RED_INTEGER, GL_BYTE}, {1, 1, 1, 1}); in TEST_P()
497 fnTest({GL_R16I, GL_RED_INTEGER, GL_SHORT}, {1, 1, 1, 1}); in TEST_P()
508 fnTest({GL_R32I, GL_RED_INTEGER, GL_INT}, {1, 1, 1, 1}); in TEST_P()
522 fnTest({GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE}, {1, 1, 1, 1}); in TEST_P()
533 fnTest({GL_R16UI, GL_RED_INTEGER, GL_UNSIGNED_SHORT}, {1, 1, 1, 1}); in TEST_P()
544 fnTest({GL_R32UI, GL_RED_INTEGER, GL_UNSIGNED_INT}, {1, 1, 1, 1}); in TEST_P()
DParallelShaderCompileTest.cpp302 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RED_INTEGER, GL_UNSIGNED_INT, in runAndVerify()
308 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RED_INTEGER, GL_UNSIGNED_INT, in runAndVerify()
314 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RED_INTEGER, GL_UNSIGNED_INT, in runAndVerify()
339 glReadPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_UNSIGNED_INT, &outputValue); in runAndVerify()
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampTests.cpp94 GL_NEAREST, GL_RED_INTEGER, GL_RGBA_INTEGER, in init()
102 …1, 4, GL_TEXTURE_2D, GL_R32UI, GL_R32UI, GL_NEAREST, GL_RED_INTEGER, GL_RGBA_INTEGER, 256, 256, 1,… in init()
152 …1, 4, GL_TEXTURE_2D_ARRAY, GL_R32I, GL_R32I, GL_NEAREST, GL_RED_INTEGER, GL_RGBA_INTEGER, 256, 256… in init()
160 …1, 4, GL_TEXTURE_2D_ARRAY, GL_R32UI, GL_R32UI, GL_NEAREST, GL_RED_INTEGER, GL_RGBA_INTEGER, 256, 2… in init()
193 GL_NEAREST, GL_RED_INTEGER, GL_RGBA_INTEGER, in init()
201 …1, 4, GL_TEXTURE_3D, GL_R32UI, GL_R32UI, GL_NEAREST, GL_RED_INTEGER, GL_RGBA_INTEGER, 256, 256, 6,… in init()
DesextcTextureBorderClampSamplingTextureGroup.cpp69 GL_NEAREST, GL_RED_INTEGER, GL_RGBA_INTEGER, in init()
77 …1, 4, GL_TEXTURE_2D, GL_R32UI, GL_R32UI, GL_NEAREST, GL_RED_INTEGER, GL_RGBA_INTEGER, 256, 256, 1,… in init()
127 …1, 4, GL_TEXTURE_2D_ARRAY, GL_R32I, GL_R32I, GL_NEAREST, GL_RED_INTEGER, GL_RGBA_INTEGER, 256, 256… in init()
135 …1, 4, GL_TEXTURE_2D_ARRAY, GL_R32UI, GL_R32UI, GL_NEAREST, GL_RED_INTEGER, GL_RGBA_INTEGER, 256, 2… in init()
169 GL_NEAREST, GL_RED_INTEGER, GL_RGBA_INTEGER, in init()
177 …1, 4, GL_TEXTURE_3D, GL_R32UI, GL_R32UI, GL_NEAREST, GL_RED_INTEGER, GL_RGBA_INTEGER, 256, 256, 6,… in init()
/external/angle/src/libANGLE/
Des3_copy_conversion_table_autogen.cpp82 case GL_RED_INTEGER: in ValidES3CopyConversion()
85 case GL_RED_INTEGER: in ValidES3CopyConversion()
Dformat_map_desktop.cpp34 case GL_RED_INTEGER: in ValidDesktopFormat()
91 case GL_RED_INTEGER: in ValidDesktopFormatCombination()
Dformat_map_autogen.cpp379 case GL_RED_INTEGER: in GetSizedFormatInternal()
602 case GL_RED_INTEGER: in ValidES3Format()
1044 case GL_RED_INTEGER: in ValidES3FormatCombination()
Dformatutils.cpp982 …AddRGBAFormat(&map, GL_R8I, true, 8, 0, 0, 0, 0, GL_RED_INTEGER, GL_BYTE, … in BuildInternalFormatInfoMap()
983 …AddRGBAFormat(&map, GL_R8UI, true, 8, 0, 0, 0, 0, GL_RED_INTEGER, GL_UNSIGNED_BY… in BuildInternalFormatInfoMap()
984 …AddRGBAFormat(&map, GL_R16I, true, 16, 0, 0, 0, 0, GL_RED_INTEGER, GL_SHORT, … in BuildInternalFormatInfoMap()
985 …AddRGBAFormat(&map, GL_R16UI, true, 16, 0, 0, 0, 0, GL_RED_INTEGER, GL_UNSIGNED_SH… in BuildInternalFormatInfoMap()
986 …AddRGBAFormat(&map, GL_R32I, true, 32, 0, 0, 0, 0, GL_RED_INTEGER, GL_INT, … in BuildInternalFormatInfoMap()
987 …AddRGBAFormat(&map, GL_R32UI, true, 32, 0, 0, 0, 0, GL_RED_INTEGER, GL_UNSIGNED_IN… in BuildInternalFormatInfoMap()
1249 …AddRGBAFormat(&map, GL_RED_INTEGER, false, 8, 0, 0, 0, 0, GL_RED_INTEGER, GL_BYTE, … in BuildInternalFormatInfoMap()
1250 …AddRGBAFormat(&map, GL_RED_INTEGER, false, 8, 0, 0, 0, 0, GL_RED_INTEGER, GL_UNSIGNED_BYTE, … in BuildInternalFormatInfoMap()
1251 …AddRGBAFormat(&map, GL_RED_INTEGER, false, 16, 0, 0, 0, 0, GL_RED_INTEGER, GL_SHORT, … in BuildInternalFormatInfoMap()
1252 …AddRGBAFormat(&map, GL_RED_INTEGER, false, 16, 0, 0, 0, 0, GL_RED_INTEGER, GL_UNSIGNED_SHORT,… in BuildInternalFormatInfoMap()
[all …]
/external/virglrenderer/src/
Dvrend_formats.c144 { VIRGL_FORMAT_R8_UINT, GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE, NO_SWIZZLE },
146 { VIRGL_FORMAT_R8_SINT, GL_R8I, GL_RED_INTEGER, GL_BYTE, NO_SWIZZLE },
149 { VIRGL_FORMAT_R16_UINT, GL_R16UI, GL_RED_INTEGER, GL_UNSIGNED_SHORT, NO_SWIZZLE },
151 { VIRGL_FORMAT_R16_SINT, GL_R16I, GL_RED_INTEGER, GL_SHORT, NO_SWIZZLE },
154 { VIRGL_FORMAT_R32_UINT, GL_R32UI, GL_RED_INTEGER, GL_UNSIGNED_INT, NO_SWIZZLE },
156 { VIRGL_FORMAT_R32_SINT, GL_R32I, GL_RED_INTEGER, GL_INT, NO_SWIZZLE },
175 { VIRGL_FORMAT_L8_UINT, GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE, RRR1_SWIZZLE },
178 { VIRGL_FORMAT_L8_SINT, GL_R8I, GL_RED_INTEGER, GL_BYTE, RRR1_SWIZZLE },
182 { VIRGL_FORMAT_L16_UINT, GL_R16UI, GL_RED_INTEGER, GL_UNSIGNED_SHORT, RRR1_SWIZZLE },
186 { VIRGL_FORMAT_L16_SINT, GL_R16I, GL_RED_INTEGER, GL_SHORT, RRR1_SWIZZLE },
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DFramebuffer.cpp538 case GL_R8I: return GL_RED_INTEGER; in getImplementationColorReadFormat()
542 case GL_R8UI: return GL_RED_INTEGER; in getImplementationColorReadFormat()
546 case GL_R16I: return GL_RED_INTEGER; in getImplementationColorReadFormat()
550 case GL_R16UI: return GL_RED_INTEGER; in getImplementationColorReadFormat()
555 case GL_R32I: return GL_RED_INTEGER; in getImplementationColorReadFormat()
559 case GL_R32UI: return GL_RED_INTEGER; in getImplementationColorReadFormat()
Dutilities.cpp863 case GL_RED_INTEGER: in ValidateTextureFormatType()
1066 case GL_RED_INTEGER: in ValidateTextureFormatType()
1270 case GL_RED_INTEGER: in ConvertReadFormatType()
/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp301 …{ GL_R8I, GL_RED, GL_RED_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 0, 0, 0, 0, 0, 0, 0, NO_FLAG }…
302 …{ GL_R8UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_BYTE, SAMPLER_UINT, { { 8, 0, 0, 0, 0, 0, 0, 0…
303 …{ GL_R16I, GL_RED, GL_RED_INTEGER, GL_SHORT, SAMPLER_INT, { {16, 0, 0, 0, 0, 0, 0, 0, NO_FLAG…
304 …{ GL_R16UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_SHORT, SAMPLER_UINT, { {16, 0, 0, 0, 0, 0, 0,…
305 …{ GL_R32I, GL_RED, GL_RED_INTEGER, GL_INT, SAMPLER_INT, { {32, 0, 0, 0, 0, 0, 0, 0, NO_FLAG }…
306 …{ GL_R32UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_INT, SAMPLER_UINT, { {32, 0, 0, 0, 0, 0, 0, 0…
390 …{ GL_R8I, GL_RED, GL_RED_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 0, 0, 0, 0, 0, 0, 0, NO_F…
391 …{ GL_R8UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_BYTE, SAMPLER_UINT, { { 8, 0, 0, 0, 0, 0,…
392 …{ GL_R16I, GL_RED, GL_RED_INTEGER, GL_SHORT, SAMPLER_INT, { {16, 0, 0, 0, 0, 0, 0, 0, NO…
393 …{ GL_R16UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_SHORT, SAMPLER_UINT, { {16, 0, 0, 0, 0, …
[all …]
DglcInternalformatTests.cpp301 if ((format == GL_RED_INTEGER) || (format == GL_RG_INTEGER) || (format == GL_RGB_INTEGER) || in prepareTexturingProgramSources()
340 if (format == GL_RED_INTEGER) in prepareTexturingProgramSources()
824 formatMap[GL_RED_INTEGER] = TextureFormat(GL_RED_INTEGER, GL_UNSIGNED_BYTE, GL_R8UI); in iterate()
1244 … (testFormat == GL_RGBA_INTEGER || testFormat == GL_RG_INTEGER || testFormat == GL_RED_INTEGER)) in iterate()
1644 TF(GL_RED_INTEGER, GL_UNSIGNED_BYTE, GL_R8UI), in getESTestData()
1645 TF(GL_RED_INTEGER, GL_BYTE, GL_R8I), in getESTestData()
1646 TF(GL_RED_INTEGER, GL_UNSIGNED_SHORT, GL_R16UI), in getESTestData()
1647 TF(GL_RED_INTEGER, GL_SHORT, GL_R16I), in getESTestData()
1648 TF(GL_RED_INTEGER, GL_UNSIGNED_INT, GL_R32UI), in getESTestData()
1649 TF(GL_RED_INTEGER, GL_INT, GL_R32I), in getESTestData()
DglcPackedPixelsTests.cpp198 …{ GL_R8I, GL_RED, GL_RED_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 0, 0, 0, 0, 0,…
199 …{ GL_R8UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_BYTE, SAMPLER_UINT, { { 8, 0, 0…
200 …{ GL_R16I, GL_RED, GL_RED_INTEGER, GL_SHORT, SAMPLER_INT, { {16, 0, 0, 0, 0, …
201 …{ GL_R16UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_SHORT, SAMPLER_UINT, { {16, 0, …
202 …{ GL_R32I, GL_RED, GL_RED_INTEGER, GL_INT, SAMPLER_INT, { {32, 0, 0, 0, 0, 0,…
203 …{ GL_R32UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_INT, SAMPLER_UINT, { {32, 0, 0…
272 …{ GL_R8I, GL_RED, GL_RED_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 0, 0, 0, 0, 0, 0, 0, …
273 …{ GL_R8UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_BYTE, SAMPLER_UINT, { { 8, 0, 0, 0, 0…
274 …{ GL_R16I, GL_RED, GL_RED_INTEGER, GL_SHORT, SAMPLER_INT, { {16, 0, 0, 0, 0, 0, 0, 0…
275 …{ GL_R16UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_SHORT, SAMPLER_UINT, { {16, 0, 0, 0,…
[all …]
DglcViewportArrayTests.cpp830 case GL_RED_INTEGER: in get()
2709 texture_0.get(GL_RED_INTEGER, GL_INT, &texture_data[0]); in checkResults()
2974 texture.update(m_width, m_height, 0 /* depth */, GL_RED_INTEGER, GL_INT, data); in prepareTextureR32I()
2994 texture.update(m_width, m_height, m_r32ix4_depth, GL_RED_INTEGER, GL_INT, &data[0]); in prepareTextureR32Ix4()
3014 texture.update(m_width, m_height, m_depth, GL_RED_INTEGER, GL_INT, &data[0]); in prepareTextureArrayR32I()
3474 texture_0.get(GL_RED_INTEGER, GL_INT, &texture_data[0]); in checkResults()
3730 texture_0.get(GL_RED_INTEGER, GL_INT, &texture_data[0]); in checkResults()
3957 texture_0.get(GL_RED_INTEGER, GL_INT, &texture_data[0]); in checkResults()
4054 texture_0.get(GL_RED_INTEGER, GL_INT, &texture_data[0]); in checkResults()
4142 texture_0.get(GL_RED_INTEGER, GL_INT, &texture_data[0]); in checkResults()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderAtomicCountersTests.cpp1616 glTexImage2D(GL_TEXTURE_2D, 0, GL_R32UI, s, s, 0, GL_RED_INTEGER, GL_UNSIGNED_INT, NULL); in Run()
1651 glReadPixels(0, 0, s, s, GL_RED_INTEGER, GL_UNSIGNED_INT, data); in Run()
1656 glReadPixels(0, 0, s, s, GL_RED_INTEGER, GL_UNSIGNED_INT, data); in Run()
2228 glTexImage2D(GL_TEXTURE_2D, 0, GL_R32UI, s, s, 0, GL_RED_INTEGER, GL_UNSIGNED_INT, NULL); in Run()
2260 glReadPixels(0, 0, s, s, GL_RED_INTEGER, GL_UNSIGNED_INT, data); in Run()
2267 glReadPixels(0, 0, s, s, GL_RED_INTEGER, GL_UNSIGNED_INT, data); in Run()
2368 glTexImage2D(GL_TEXTURE_2D, 0, GL_R32UI, s, s, 0, GL_RED_INTEGER, GL_UNSIGNED_INT, NULL); in Run()
2419 glReadPixels(0, 0, s, s, GL_RED_INTEGER, GL_UNSIGNED_INT, data); in Run()
2431 glReadPixels(0, 0, s, s, GL_RED_INTEGER, GL_UNSIGNED_INT, data); in Run()
2538 glTexImage2D(GL_TEXTURE_2D, 0, GL_R32UI, s, s, 0, GL_RED_INTEGER, GL_UNSIGNED_INT, NULL); in Run()
[all …]
Dgl4cDirectStateAccessBuffersTests.cpp971 …is_ok &= TestClearNamedBufferData<glw::GLubyte, false>(GL_R8UI, 1, GL_RED_INTEGER, GL_UNSIGNED_BYT… in iterate()
976 …is_ok &= TestClearNamedBufferData<glw::GLubyte, true>(GL_R8UI, 1, GL_RED_INTEGER, GL_UNSIGNED_BYTE… in iterate()
985 …is_ok &= TestClearNamedBufferData<glw::GLbyte, false>(GL_R8I, 1, GL_RED_INTEGER, GL_BYTE, referenc… in iterate()
990 …is_ok &= TestClearNamedBufferData<glw::GLbyte, true>(GL_R8I, 1, GL_RED_INTEGER, GL_BYTE, reference… in iterate()
1010 …is_ok &= TestClearNamedBufferData<glw::GLushort, false>(GL_R16UI, 1, GL_RED_INTEGER, GL_UNSIGNED_S… in iterate()
1016 …is_ok &= TestClearNamedBufferData<glw::GLushort, true>(GL_R16UI, 1, GL_RED_INTEGER, GL_UNSIGNED_SH… in iterate()
1026 …is_ok &= TestClearNamedBufferData<glw::GLshort, false>(GL_R16I, 1, GL_RED_INTEGER, GL_SHORT, refer… in iterate()
1031 …is_ok &= TestClearNamedBufferData<glw::GLshort, true>(GL_R16I, 1, GL_RED_INTEGER, GL_SHORT, refere… in iterate()
1040 …is_ok &= TestClearNamedBufferData<glw::GLuint, false>(GL_R32UI, 1, GL_RED_INTEGER, GL_UNSIGNED_INT… in iterate()
1046 …is_ok &= TestClearNamedBufferData<glw::GLuint, true>(GL_R32UI, 1, GL_RED_INTEGER, GL_UNSIGNED_INT,… in iterate()
[all …]
Dgl4cTextureBarrierTests.cpp367 gl.texSubImage2D(GL_TEXTURE_2D, 0, 0, 0, m_width, m_height, GL_RED_INTEGER, GL_UNSIGNED_INT, in initTextureData()
383 gl.getTexImage(GL_TEXTURE_2D, 0, GL_RED_INTEGER, GL_UNSIGNED_INT, m_actual); in verifyTextureData()
Dgl3cTextureSizePromotion.cpp438 destination_format = GL_RED_INTEGER; in prepareDestinationTextureAndFramebuffer()
445 destination_format = GL_RED_INTEGER; in prepareDestinationTextureAndFramebuffer()
1000 gl.readPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_INT, &pixel); in checkDestinationTexture()
1031 gl.readPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_UNSIGNED_INT, &pixel); in checkDestinationTexture()
Dgl3cTextureSwizzleTests.cpp739 GL_RED_INTEGER,
752 GL_RED_INTEGER,
765 GL_RED_INTEGER,
778 GL_RED_INTEGER,
791 GL_RED_INTEGER,
804 GL_RED_INTEGER,
1320 case GL_RED_INTEGER: in calculate_values_from_source()
/external/deqp/external/openglcts/modules/gles32/
Des32cCopyImageTests.cpp112 …_TEXTURE_2D, 0, m_internal_format, TEXTURE_WIDTH, TEXTURE_HEIGHT, 0, GL_RED_INTEGER, m_type, data); in createTexture()
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5ImagesArrayIndexing.cpp147 m_texture_height, GL_RED_INTEGER, GL_UNSIGNED_INT, &m_data_buffer[index * dataSize]); in initTest()
/external/mesa3d/src/mesa/main/
Dglformats.c171 case GL_RED_INTEGER: in get_map_idx()
608 case GL_RED_INTEGER: in _mesa_is_enum_format_unsized()
1467 case GL_RED_INTEGER: in _mesa_unpack_format_to_base_format()
1513 return GL_RED_INTEGER; in _mesa_base_format_to_integer_format()
3329 case GL_RED_INTEGER: in _mesa_gles_error_check_format_and_type()
/external/swiftshader/src/OpenGL/common/
DImage.cpp45 case GL_RED_INTEGER: in IsUnsizedInternalFormat()
233 case GL_RED_INTEGER: in GetSizedInternalFormat()
416 case GL_RED_INTEGER: in ComputePixelSize()
1550 case GL_RED_INTEGER: in loadImageData()

1234