Home
last modified time | relevance | path

Searched refs:glReadPixels (Results 1 – 25 of 182) 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.cpp50 glReadPixels(-offset, -offset, pixelsWidth + offset, pixelsHeight + offset, GL_RGBA, in TEST_P()
115 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
137 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
151 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
164 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
192 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
200 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, reinterpret_cast<void *>(16)); in TEST_P()
226 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
257 glReadPixels(0, 0, 16, 16, GL_RGBA, GL_UNSIGNED_BYTE, 0); in TEST_P()
333 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, 0); 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()
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()
DComputeShaderTest.cpp76 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, format, outputValues); in runSharedMemoryTest()
680 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
743 glReadPixels(0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues[0]); in TEST_P()
749 glReadPixels(0, 0, width, height, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues[1]); in TEST_P()
800 glReadPixels(0, 0, kTextureWidth, kTextureHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P()
1074 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
1133 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
1194 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
1201 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
1261 glReadPixels(0, 0, kWidth, kHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, outputValues); in TEST_P()
[all …]
DShaderInterpTest.cpp130 glReadPixels(64, 64, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &smooth_reference); in TEST_P()
166 glReadPixels(64, 64, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &smooth_reference); 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.cpp210 glReadPixels(0, 0, kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, results[pass].get()); in TEST_P()
263 glReadPixels(0, 0, kWidth, kHeight, GL_RGBA, GL_UNSIGNED_BYTE, results[pass].get()); in TEST_P()
388 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()
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.cpp410 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in testSetUp()
519 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
638 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
641 glReadPixels(1, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
644 glReadPixels(0, 1, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
647 glReadPixels(1, 1, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
956 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
959 glReadPixels(1, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
962 glReadPixels(0, 1, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixel); in TEST_P()
965 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()
250 ctx.glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); in read_pixels_format_mismatch()
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_RGB, 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_4_4_4_4, &ushortData[0]); in read_pixels_format_mismatch()
258 ctx.glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, &ushortData[0]); in read_pixels_format_mismatch()
[all …]
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DGlRectDrawerTest.java122 GLES20.glReadPixels(0, 0, WIDTH, HEIGHT, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, rgbaData); in testRgbRendering()
169 GLES20.glReadPixels(0, 0, WIDTH, HEIGHT, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, data); in testYuvRendering()
295 GLES20.glReadPixels(0, 0, WIDTH, HEIGHT, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, rgbaData);
DSurfaceTextureHelperTest.java159 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, rgbaData); in testThreeConstantColorFrames()
228 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, rgbaData); in testLateReturnFrame()
/external/angle/src/tests/test_utils/
DANGLETest.h214 glReadPixels((x), (y), (width), (height), GL_RGBA, GL_UNSIGNED_BYTE, actualColors.data()); \
223 glReadPixels((x), (y), 1, 1, format, type, pixel); \
235 glReadPixels((x), (y), 1, 1, format, type, pixel); \
247 glReadPixels((x), (y), 1, 1, format, type, pixel); \
294 glReadPixels((x), (y), 1, 1, GL_RGBA, GL_FLOAT, pixel); \
/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/deqp/modules/egl/
DteglGLES1RenderUtil.cpp53 glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr()); in readPixels()
/external/deqp/framework/egl/
DegluStaticES20Library.inl98 { "glReadPixels", (deFunctionPtr)glReadPixels },
/external/angle/src/libGLESv1_CM/
DlibGLESv1_CM.def123 glReadPixels @121
/external/mesa3d/src/mapi/es1api/
Dgles1-symbols.txt119 glReadPixels

12345678