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()
501 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
506 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
571 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
576 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
662 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
680 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
715 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
[all …]
DProvokingVertexTest.cpp129 glReadPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_INT, &pixelValue); in TEST_P()
163 glReadPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_INT, &pixelValue); in TEST_P()
199 glReadPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_INT, &pixelValue); in TEST_P()
222 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RED_INTEGER, GL_INT, in TEST_P()
271 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RED_INTEGER, GL_INT, in TEST_P()
326 glReadPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_INT, &pixelValue); in TEST_P()
DTextureUploadFormatTest.cpp89 case GL_RED_INTEGER: in bytesPerPixel()
247 case GL_RED_INTEGER: in TEST_P()
467 fnTest({GL_R8I, GL_RED_INTEGER, GL_BYTE}, {1, 1, 1, 1}); in TEST_P()
478 fnTest({GL_R16I, GL_RED_INTEGER, GL_SHORT}, {1, 1, 1, 1}); in TEST_P()
489 fnTest({GL_R32I, GL_RED_INTEGER, GL_INT}, {1, 1, 1, 1}); in TEST_P()
503 fnTest({GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE}, {1, 1, 1, 1}); in TEST_P()
514 fnTest({GL_R16UI, GL_RED_INTEGER, GL_UNSIGNED_SHORT}, {1, 1, 1, 1}); in TEST_P()
525 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/virglrenderer/src/
Dvrend_formats.c146 { VIRGL_FORMAT_R8_UINT, GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE, NO_SWIZZLE },
148 { VIRGL_FORMAT_R8_SINT, GL_R8I, GL_RED_INTEGER, GL_BYTE, NO_SWIZZLE },
151 { VIRGL_FORMAT_R16_UINT, GL_R16UI, GL_RED_INTEGER, GL_UNSIGNED_SHORT, NO_SWIZZLE },
153 { VIRGL_FORMAT_R16_SINT, GL_R16I, GL_RED_INTEGER, GL_SHORT, NO_SWIZZLE },
156 { VIRGL_FORMAT_R32_UINT, GL_R32UI, GL_RED_INTEGER, GL_UNSIGNED_INT, NO_SWIZZLE },
158 { VIRGL_FORMAT_R32_SINT, GL_R32I, GL_RED_INTEGER, GL_INT, NO_SWIZZLE },
177 { VIRGL_FORMAT_L8_UINT, GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE, RRR1_SWIZZLE },
180 { VIRGL_FORMAT_L8_SINT, GL_R8I, GL_RED_INTEGER, GL_BYTE, RRR1_SWIZZLE },
184 { VIRGL_FORMAT_L16_UINT, GL_R16UI, GL_RED_INTEGER, GL_UNSIGNED_SHORT, RRR1_SWIZZLE },
188 { VIRGL_FORMAT_L16_SINT, GL_R16I, GL_RED_INTEGER, GL_SHORT, RRR1_SWIZZLE },
[all …]
/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.cpp377 case GL_RED_INTEGER: in GetSizedFormatInternal()
600 case GL_RED_INTEGER: in ValidES3Format()
1324 case GL_RED_INTEGER: in ValidES3FormatCombination()
Dformatutils.cpp788 …AddRGBAFormat(&map, GL_R8I, true, 8, 0, 0, 0, 0, GL_RED_INTEGER, GL_BYTE, … in BuildInternalFormatInfoMap()
789 …AddRGBAFormat(&map, GL_R8UI, true, 8, 0, 0, 0, 0, GL_RED_INTEGER, GL_UNSIGNED_BY… in BuildInternalFormatInfoMap()
790 …AddRGBAFormat(&map, GL_R16I, true, 16, 0, 0, 0, 0, GL_RED_INTEGER, GL_SHORT, … in BuildInternalFormatInfoMap()
791 …AddRGBAFormat(&map, GL_R16UI, true, 16, 0, 0, 0, 0, GL_RED_INTEGER, GL_UNSIGNED_SH… in BuildInternalFormatInfoMap()
792 …AddRGBAFormat(&map, GL_R32I, true, 32, 0, 0, 0, 0, GL_RED_INTEGER, GL_INT, … in BuildInternalFormatInfoMap()
793 …AddRGBAFormat(&map, GL_R32UI, true, 32, 0, 0, 0, 0, GL_RED_INTEGER, GL_UNSIGNED_IN… in BuildInternalFormatInfoMap()
1037 …AddRGBAFormat(&map, GL_RED_INTEGER, false, 8, 0, 0, 0, 0, GL_RED_INTEGER, GL_BYTE, … in BuildInternalFormatInfoMap()
1038 …AddRGBAFormat(&map, GL_RED_INTEGER, false, 8, 0, 0, 0, 0, GL_RED_INTEGER, GL_UNSIGNED_BYTE, … in BuildInternalFormatInfoMap()
1039 …AddRGBAFormat(&map, GL_RED_INTEGER, false, 16, 0, 0, 0, 0, GL_RED_INTEGER, GL_SHORT, … in BuildInternalFormatInfoMap()
1040 …AddRGBAFormat(&map, GL_RED_INTEGER, false, 16, 0, 0, 0, 0, GL_RED_INTEGER, GL_UNSIGNED_SHORT,… in BuildInternalFormatInfoMap()
[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()
/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 …]
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.cpp426 destination_format = GL_RED_INTEGER; in prepareDestinationTextureAndFramebuffer()
433 destination_format = GL_RED_INTEGER; in prepareDestinationTextureAndFramebuffer()
990 gl.readPixels(0, 0, 1, 1, GL_RED_INTEGER, GL_INT, &pixel); in checkDestinationTexture()
1021 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/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp440 glFormat = GL_RED_INTEGER; in PVRTGetOGLES3TextureFormat()
472 glFormat = GL_RED_INTEGER; in PVRTGetOGLES3TextureFormat()
532 glFormat = GL_RED_INTEGER; in PVRTGetOGLES3TextureFormat()
564 glFormat = GL_RED_INTEGER; in PVRTGetOGLES3TextureFormat()
607 glFormat = GL_RED_INTEGER; in PVRTGetOGLES3TextureFormat()
646 glFormat = GL_RED_INTEGER; in PVRTGetOGLES3TextureFormat()
/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()
444 case GL_RED_INTEGER: in ComputePixelSize()
1619 case GL_RED_INTEGER: in loadImageData()

1234