Home
last modified time | relevance | path

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

/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DGlRectDrawerTest.java106 final ByteBuffer rgbPlane = ByteBuffer.allocateDirect(WIDTH * HEIGHT * 3); in testRgbRendering() local
108 random.nextBytes(rgbPlane.array()); in testRgbRendering()
115 GLES20.GL_UNSIGNED_BYTE, rgbPlane); in testRgbRendering()
129 assertByteBufferEquals(WIDTH, HEIGHT, stripAlphaChannel(rgbaData), rgbPlane); in testRgbRendering()
255 public void draw(ByteBuffer rgbPlane) {
262 GLES20.GL_UNSIGNED_BYTE, rgbPlane);
291 final ByteBuffer rgbPlane = ByteBuffer.allocateDirect(WIDTH * HEIGHT * 3);
293 random.nextBytes(rgbPlane.array());
296 oesProducer.draw(rgbPlane);
313 assertByteBufferEquals(WIDTH, HEIGHT, stripAlphaChannel(rgbaData), rgbPlane);