Searched refs:rgbaData (Results 1 – 6 of 6) sorted by relevance
/external/angle/src/tests/gl_tests/ |
D | RobustClientMemoryTest.cpp | 114 std::vector<GLubyte> rgbaData(dataDimension * dataDimension * 4); in TEST_P() local 118 GL_UNSIGNED_BYTE, static_cast<GLsizei>(rgbaData.size()), in TEST_P() 119 rgbaData.data()); in TEST_P() 123 GL_UNSIGNED_BYTE, static_cast<GLsizei>(rgbaData.size()), in TEST_P() 124 rgbaData.data()); in TEST_P() 129 GL_UNSIGNED_BYTE, static_cast<GLsizei>(rgbaData.size()) / 2, in TEST_P() 130 rgbaData.data()); in TEST_P() 134 GL_UNSIGNED_BYTE, static_cast<GLsizei>(rgbaData.size()) / 2, in TEST_P() 135 rgbaData.data()); in TEST_P() 143 GL_UNSIGNED_BYTE, static_cast<GLsizei>(rgbaData.size()), in TEST_P() [all …]
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | SurfaceTextureHelperTest.java | 155 final ByteBuffer rgbaData = ByteBuffer.allocateDirect(width * height * 4); in testThreeConstantColorFrames() local 156 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, rgbaData); in testThreeConstantColorFrames() 160 while (rgbaData.hasRemaining()) { in testThreeConstantColorFrames() 161 assertEquals(rgbaData.get() & 0xFF, red[i]); in testThreeConstantColorFrames() 162 assertEquals(rgbaData.get() & 0xFF, green[i]); in testThreeConstantColorFrames() 163 assertEquals(rgbaData.get() & 0xFF, blue[i]); in testThreeConstantColorFrames() 164 assertEquals(rgbaData.get() & 0xFF, 255); in testThreeConstantColorFrames() 226 final ByteBuffer rgbaData = ByteBuffer.allocateDirect(width * height * 4); in testLateReturnFrame() local 227 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, rgbaData); in testLateReturnFrame() 232 while (rgbaData.hasRemaining()) { in testLateReturnFrame() [all …]
|
D | GlRectDrawerTest.java | 124 final ByteBuffer rgbaData = ByteBuffer.allocateDirect(WIDTH * HEIGHT * 4); in testRgbRendering() local 125 GLES20.glReadPixels(0, 0, WIDTH, HEIGHT, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, rgbaData); in testRgbRendering() 129 assertByteBufferEquals(WIDTH, HEIGHT, stripAlphaChannel(rgbaData), rgbPlane); in testRgbRendering() 308 final ByteBuffer rgbaData = ByteBuffer.allocateDirect(WIDTH * HEIGHT * 4); 309 GLES20.glReadPixels(0, 0, WIDTH, HEIGHT, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, rgbaData); 313 assertByteBufferEquals(WIDTH, HEIGHT, stripAlphaChannel(rgbaData), rgbPlane);
|
/external/skqp/tests/ |
D | ReadWriteAlphaTest.cpp | 182 uint32_t rgbaData[X_SIZE * Y_SIZE]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 186 rgbaData[y * X_SIZE + x] = GrColorPackRGBA(6, 7, 8, alphaData[y * X_SIZE + x]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 193 origin, rgbaData, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ProcessorTest.cpp | 287 std::unique_ptr<GrColor[]> rgbaData(new GrColor[kTestTextureSize * kTestTextureSize]); in init_test_textures() local 290 rgbaData[kTestTextureSize * y + x] = input_texel_color( in init_test_textures() 297 SkPixmap pixmap(ii, rgbaData.get(), ii.minRowBytes()); in init_test_textures()
|
/external/skia/tests/ |
D | ProcessorTest.cpp | 273 GrColor* rgbaData = new GrColor[kTestTextureSize * kTestTextureSize]; in init() local 276 rgbaData[kTestTextureSize * y + x] = input_texel_color( in init() 285 ii, rgbaData, ii.minRowBytes(), in init()
|