/external/deqp/modules/gles2/functional/ |
es2fNegativeBufferApiTests.cpp | 160 ES2F_ADD_API_CASE(read_pixels, "Invalid glReadPixels() usage", 165 glReadPixels(0, 0, 1, 1, GL_LUMINANCE_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ubyteData[0]); 170 glReadPixels(0, 0, -1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); 172 glReadPixels(0, 0, 1, -1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); 174 glReadPixels(0, 0, -1, -1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); 183 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); 187 ES2F_ADD_API_CASE(read_pixels_format_mismatch, "Invalid glReadPixels() usage", 193 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); 195 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); 197 glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]) [all...] |
/external/deqp/modules/egl/ |
teglGLES1RenderUtil.cpp | 53 glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr());
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
GLToolbox.java | 72 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); 73 checkGlError("glReadPixels"); 78 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); 79 checkGlError("glReadPixels");
|
/external/deqp/modules/gles3/functional/ |
es3fNegativeBufferApiTests.cpp | 170 ES3F_ADD_API_CASE(read_pixels, "Invalid glReadPixels() usage", 175 glReadPixels(0, 0, 1, 1, GL_LUMINANCE_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ubyteData[0]); 180 glReadPixels(0, 0, -1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); 182 glReadPixels(0, 0, 1, -1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); 184 glReadPixels(0, 0, -1, -1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); 193 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); 199 ES3F_ADD_API_CASE(read_pixels_format_mismatch, "Invalid glReadPixels() usage", 205 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); 207 glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); 209 glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fNegativeBufferApiTests.cpp | 173 ctx.glReadPixels(0, 0, 1, 1, GL_LUMINANCE_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ubyteData[0]); 178 ctx.glReadPixels(0, 0, -1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); 180 ctx.glReadPixels(0, 0, 1, -1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); 182 ctx.glReadPixels(0, 0, -1, -1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); 191 ctx.glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &ubyteData[0]); 204 ctx.glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); 206 ctx.glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_5_6_5, &ushortData[0]); 208 ctx.glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]); 210 ctx.glReadPixels(0, 0, 1, 1, GL_ALPHA, GL_UNSIGNED_SHORT_4_4_4_4, &ushortData[0]); 212 ctx.glReadPixels(0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, &ushortData[0]) [all...] |
/cts/tests/tests/opengl/libopengltest/ |
color_one.cpp | 113 glReadPixels(width/2, height/2, 1,1, GL_RGBA, GL_UNSIGNED_BYTE, (GLvoid*)&data);
|
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
gl2_ftable.h | 103 {"glReadPixels", (void*)glReadPixels},
|
gl2_client_context.h | 103 glReadPixels_client_proc_t glReadPixels;
|
/external/libvncserver/x11vnc/ |
macosx_opengl.c | 144 glReadPixels((GLint) x, (GLint) yflip, (int) w, (int) h,
|
/external/mesa3d/docs/ |
MESA_copy_sub_buffer.spec | 70 corresponds to the lower-left pixel of the window, like glReadPixels.
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
FramebufferTest.java | 98 GLES30.glReadPixels(0, 0, WIDTH, HEIGHT, GLES30.GL_RGBA, GLES30.GL_UNSIGNED_BYTE, 100 checkGlError("glReadPixels"); 109 GLES30.glReadPixels(0, 0, WIDTH, HEIGHT, GLES30.GL_RGBA, GLES30.GL_UNSIGNED_BYTE, 111 checkGlError("glReadPixels"); 260 // doesn't really help. It can also lead to a huge performance hit on glReadPixels() 585 // glReadPixels gives us a ByteBuffer filled with what is essentially big-endian RGBA 606 GLES20.glReadPixels(0, 0, mWidth, mHeight, 608 checkGlError("glReadPixels");
|
RendererOneColorBufferTest.java | 211 GLES20.glReadPixels(mWidth/2, mHeight/2, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE,
|
/cts/tests/tests/nativeopengl/standalone/jni/tests/ |
GLTest_test.cpp | 193 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixel);
|
/device/generic/goldfish/opengl/system/GLESv1_enc/ |
gl_ftable.h | 130 {"glReadPixels", (void*)glReadPixels},
|
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
gles_ftable.h | 140 {"glReadPixels", (void *)glReadPixels},
|
/frameworks/av/cmds/screenrecord/ |
FrameOutput.cpp | 131 // GLES only guarantees that glReadPixels() will work with GL_RGBA, so we 139 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, mPixelBuf); 141 ALOGE("glReadPixels failed: %#x", glErr);
|
/external/deqp/framework/egl/ |
egluStaticES20Library.inl | 98 { "glReadPixels", (deFunctionPtr)glReadPixels },
|
/external/deqp/framework/opengl/wrapper/ |
glwInitES20Direct.inl | 98 gl->readPixels = &glReadPixels;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
CtsMediaTextureRender.java | 259 // glReadPixels gives us a ByteBuffer filled with what is essentially big-endian RGBA 278 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, buf);
|
/cts/tests/tests/media/src/android/media/cts/ |
TextureRender.java | 255 // glReadPixels gives us a ByteBuffer filled with what is essentially big-endian RGBA 274 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, buf);
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
TextureTestRenderer.java | 122 gl.glReadPixels(mWidth / 2, mHeight / 2, 1, 1, GL10.GL_RGBA,
|
/external/skia/src/gpu/gl/android/ |
GrGLCreateNativeInterface_android.cpp | 121 } else if (0 == strcmp("glReadPixels", name)) { 122 return (GrGLFuncPtr) glReadPixels;
|
/frameworks/base/media/mca/filterfw/native/core/ |
gl_frame.cpp | 350 glReadPixels(0,
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_context.cpp | 226 hooks->gl.glReadPixels(viewport[0], viewport[1], viewport[2], viewport[3],
|
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/ |
GenImage.java | 253 GLES20.glReadPixels(0,0, 512, 512, GLES20.GL_RGBA,
|