Home
last modified time | relevance | path

Searched refs:rgbPlane (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DGlRectDrawerTest.java104 final ByteBuffer rgbPlane = ByteBuffer.allocateDirect(WIDTH * HEIGHT * 3); in testRgbRendering() local
106 random.nextBytes(rgbPlane.array()); in testRgbRendering()
113 HEIGHT, 0, GLES20.GL_RGB, GLES20.GL_UNSIGNED_BYTE, rgbPlane); in testRgbRendering()
126 assertEquals(WIDTH, HEIGHT, stripAlphaChannel(rgbaData), rgbPlane); in testRgbRendering()
244 public void draw(ByteBuffer rgbPlane) {
251 HEIGHT, 0, GLES20.GL_RGB, GLES20.GL_UNSIGNED_BYTE, rgbPlane);
279 final ByteBuffer rgbPlane = ByteBuffer.allocateDirect(WIDTH * HEIGHT * 3);
281 random.nextBytes(rgbPlane.array());
284 oesProducer.draw(rgbPlane);
299 assertEquals(WIDTH, HEIGHT, stripAlphaChannel(rgbaData), rgbPlane);