Home
last modified time | relevance | path

Searched refs:glReadPixels (Results 1 – 25 of 188) sorted by relevance

12345678

/external/deqp/modules/gles2/functional/
Des2fNegativeBufferApiTests.cpp165 glReadPixels(0, 0, 1, 1, GL_LUMINANCE_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ubyteData[0]); in init()
170 glReadPixels(0, 0, -1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); in init()
172 glReadPixels(0, 0, 1, -1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); in init()
174 glReadPixels(0, 0, -1, -1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); in init()
183 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); in init()
193 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); in init()
195 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); in init()
197 glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]); in init()
199 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]); in init()
201 glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, &ushortData[0]); in init()
[all …]
/external/angle/src/tests/gl_tests/
DReadPixelsTest.cpp51 glReadPixels(-offset, -offset, pixelsWidth + offset, pixelsHeight + offset, GL_RGBA, in TEST_P()
141 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
169 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
205 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
241 glReadPixels(0, 0, mFBOWidth, mFBOHeight, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
276 glReadPixels(0, 0, mFBOWidth, mFBOHeight - 1, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
335 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
357 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
371 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
384 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
[all …]
DProvokingVertexTest.cpp129 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
163 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
199 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
222 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA_INTEGER, GL_INT, in TEST_P()
271 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA_INTEGER, GL_INT, in TEST_P()
326 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &pixelValue); in TEST_P()
DPBOExtensionTest.cpp85 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
115 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
123 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, reinterpret_cast<void *>(16)); in TEST_P()
DShaderInterpTest.cpp137 glReadPixels(64, 64, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &smooth_reference); in TEST_P()
173 glReadPixels(64, 64, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &smooth_reference); in TEST_P()
DComputeShaderTest.cpp76 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, format, outputValues); in runSharedMemoryTest()
672 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
764 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
828 glReadPixels(0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues[0]); in TEST_P()
834 glReadPixels(0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues[1]); in TEST_P()
885 glReadPixels(0, 0, kTextureWidth, kTextureHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
954 glReadPixels(0, 0, kTextureWidth, kTextureHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
1227 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
1286 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
1348 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
[all …]
DClipDistanceTest.cpp651 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
701 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
794 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
869 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
973 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
1065 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
1218 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
1354 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
DBlendMinMaxTest.cpp83 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, ubytePixel); in runTest()
91 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_FLOAT, pixel); in runTest()
DMultisampleCompatibilityTest.cpp213 glReadPixels(0, 0, kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, results[pass].get()); in TEST_P()
266 glReadPixels(0, 0, kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, results[pass].get()); in TEST_P()
391 glReadPixels(0, 0, kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, actual.data()); in TEST_P()
DFramebufferMixedSamplesTest.cpp213 glReadPixels(0, 0, kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, results[pass].get()); in TEST_P()
258 glReadPixels(0, 0, kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, results[pass].get()); in TEST_P()
DMaxTextureSizeTest.cpp122 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, &pixels[0]); in TEST_P()
194 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, &pixels[0]); in TEST_P()
DLineLoopTest.cpp49 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in checkPixels()
440 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
469 glReadPixels(0, 0, getWindowWidth(), getWindowHeight(), GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P()
DSixteenBppTextureTest.cpp375 glReadPixels(0, 0, 1, 1, colorReadFormat, colorReadType, &actualColor); in TEST_P()
385 glReadPixels(0, 0, 1, 1, colorReadFormat, colorReadType, &rgba); in TEST_P()
467 glReadPixels(0, 0, w, h, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, readColors.data()); in TEST_P()
/external/angle/src/tests/egl_tests/
DEGLStreamTest.cpp409 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in testSetUp()
518 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
637 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
640 glReadPixels(1, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
643 glReadPixels(0, 1, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
646 glReadPixels(1, 1, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
954 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
957 glReadPixels(1, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
960 glReadPixels(0, 1, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
963 glReadPixels(1, 1, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
/external/deqp/modules/gles3/functional/
Des3fNegativeBufferApiTests.cpp175 glReadPixels(0, 0, 1, 1, GL_LUMINANCE_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ubyteData[0]); in init()
180 glReadPixels(0, 0, -1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); in init()
182 glReadPixels(0, 0, 1, -1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); in init()
184 glReadPixels(0, 0, -1, -1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); in init()
193 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); in init()
205 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); in init()
207 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); in init()
209 glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]); in init()
211 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]); in init()
213 glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, &ushortData[0]); in init()
[all …]
/external/mesa3d/docs/relnotes/
D8.0.2.rst40 It's really hard to hit the fast path for the fallback glReadPixels
43 glReadPixels on a luminance texture returns the wrong values
69 - mesa: use \_mesa_rebase_rgba_float/uint() in glReadPixels code
D6.4.rst50 - glReadPixels clipped by window bounds was sometimes broken
52 - glReadPixels from a texture bound to a framebuffer object didn't work
/external/deqp/modules/gles31/functional/
Des31fNegativeBufferApiTests.cpp173 ctx.glReadPixels(0, 0, 1, 1, GL_LUMINANCE_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ubyteData[0]); in read_pixels()
178 ctx.glReadPixels(0, 0, -1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); in read_pixels()
180 ctx.glReadPixels(0, 0, 1, -1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); in read_pixels()
182 ctx.glReadPixels(0, 0, -1, -1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); in read_pixels()
190 ctx.glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); in read_pixels()
252 ctx.glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); in read_pixels_format_mismatch()
254 ctx.glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]); in read_pixels_format_mismatch()
256 ctx.glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_5_5_5_1, &ushortData[0]); in read_pixels_format_mismatch()
261 ctx.glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); in read_pixels_format_mismatch()
263 ctx.glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]); in read_pixels_format_mismatch()
[all …]
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DGlRectDrawerTest.java125 GLES20.glReadPixels(0, 0, WIDTH, HEIGHT, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, rgbaData); in testRgbRendering()
176 GLES20.glReadPixels(0, 0, WIDTH, HEIGHT, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, data); in testYuvRendering()
309 GLES20.glReadPixels(0, 0, WIDTH, HEIGHT, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, rgbaData);
/external/deqp/modules/egl/
DteglGLES1RenderUtil.cpp53 glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr()); in readPixels()
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureGatherTests.cpp973 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_FLOAT, &data); in Verify()
1201 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &data); in Verify()
1268 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_UNSIGNED_INT, &data); in Verify()
1427 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &data); in Verify()
1497 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_UNSIGNED_INT, &data); in Verify()
1719 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &data); in Verify()
1789 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &data); in Verify()
1859 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &data); in Verify()
2058 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_INT, &data); in Verify()
2138 glReadPixels(0, 0, 1, 1, GL_RGBA_INTEGER, GL_UNSIGNED_INT, &data); in Verify()
[all …]
Dgl4cShaderAtomicCountersTests.cpp1651 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()
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()
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()
2578 glReadPixels(0, 0, s, s, GL_RED_INTEGER, GL_UNSIGNED_INT, data); in Run()
2585 glReadPixels(0, 0, s, s, GL_RED_INTEGER, GL_UNSIGNED_INT, data); in Run()
2592 glReadPixels(0, 0, s, s, GL_RED_INTEGER, GL_UNSIGNED_INT, data); in Run()
2600 glReadPixels(0, 0, s, s, GL_RED_INTEGER, GL_UNSIGNED_INT, data); in Run()
[all …]
/external/angle/src/tests/test_utils/
DANGLETest.h245 glReadPixels((x), (y), (width), (height), GL_RGBA, GL_UNSIGNED_BYTE, actualColors.data()); \
254 glReadPixels((x), (y), 1, 1, format, type, pixel); \
266 glReadPixels((x), (y), 1, 1, format, type, pixel); \
311 glReadPixels((x), (y), 1, 1, GL_RGBA, GL_FLOAT, pixel); \
326 glReadPixels((x), (y), 1, 1, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, &actual); \
/external/deqp/framework/egl/
DegluStaticES20Library.inl98 { "glReadPixels", (deFunctionPtr)glReadPixels },
/external/angle/src/libGLESv1_CM/
DlibGLESv1_CM.def123 glReadPixels @121

12345678