Home
last modified time | relevance | path

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

/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DVideoCapturerAndroidTest.java87 EglBase eglBase = EglBase.create(); in testCreateAndReleaseUsingTextures() local
89 VideoCapturerAndroid.create("", null, eglBase.getEglBaseContext())); in testCreateAndReleaseUsingTextures()
90 eglBase.release(); in testCreateAndReleaseUsingTextures()
112 EglBase eglBase = EglBase.create(); in testStartVideoCapturerUsingTextures() local
114 VideoCapturerAndroid.create("", null, eglBase.getEglBaseContext()); in testStartVideoCapturerUsingTextures()
116 eglBase.release(); in testStartVideoCapturerUsingTextures()
156 EglBase eglBase = EglBase.create(); in testSwitchVideoCapturerUsingTextures() local
158 VideoCapturerAndroid.create("", null, eglBase.getEglBaseContext()); in testSwitchVideoCapturerUsingTextures()
160 eglBase.release(); in testSwitchVideoCapturerUsingTextures()
184 EglBase eglBase = EglBase.create(); in testCameraCallsAfterStopUsingTextures() local
[all …]
DSurfaceTextureHelperTest.java118 final EglBase eglBase = EglBase.create(null, EglBase.CONFIG_PIXEL_BUFFER); in testThreeConstantColorFrames() local
119 eglBase.createPbufferSurface(width, height); in testThreeConstantColorFrames()
124 SurfaceTextureHelper.create(eglBase.getEglBaseContext()); in testThreeConstantColorFrames()
132 EglBase.create(eglBase.getEglBaseContext(), EglBase.CONFIG_PLAIN); in testThreeConstantColorFrames()
151 eglBase.makeCurrent(); in testThreeConstantColorFrames()
173 eglBase.release(); in testThreeConstantColorFrames()
186 final EglBase eglBase = EglBase.create(null, EglBase.CONFIG_PIXEL_BUFFER); in testLateReturnFrame() local
187 eglBase.createPbufferSurface(width, height); in testLateReturnFrame()
191 SurfaceTextureHelper.create(eglBase.getEglBaseContext()); in testLateReturnFrame()
199 EglBase.create(eglBase.getEglBaseContext(), EglBase.CONFIG_PLAIN); in testLateReturnFrame()
[all …]
DGlRectDrawerTest.java99 final EglBase eglBase = EglBase.create(null, EglBase.CONFIG_PIXEL_BUFFER); in testRgbRendering() local
100 eglBase.createPbufferSurface(WIDTH, HEIGHT); in testRgbRendering()
101 eglBase.makeCurrent(); in testRgbRendering()
130 eglBase.release(); in testRgbRendering()
136 EglBase eglBase = EglBase.create(null, EglBase.CONFIG_PIXEL_BUFFER); in testYuvRendering() local
137 eglBase.createPbufferSurface(WIDTH, HEIGHT); in testYuvRendering()
138 eglBase.makeCurrent(); in testYuvRendering()
202 eglBase.release(); in testYuvRendering()
225 private final EglBase eglBase;
232 eglBase = EglBase.create(sharedContext, EglBase.CONFIG_PLAIN);
[all …]
DMediaCodecVideoEncoderTest.java64 EglBase14 eglBase = new EglBase14(null, EglBase.CONFIG_PLAIN); in testInitilizeUsingTextures() local
68 eglBase.getEglBaseContext())); in testInitilizeUsingTextures()
70 eglBase.release(); in testInitilizeUsingTextures()
84 EglBase14 eglBase = new EglBase14(null, EglBase.CONFIG_PLAIN); in testInitializeUsingByteBufferReInitilizeUsingTextures() local
87 eglBase.getEglBaseContext())); in testInitializeUsingByteBufferReInitilizeUsingTextures()
89 eglBase.release(); in testInitializeUsingByteBufferReInitilizeUsingTextures()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DSurfaceTextureHelper.java100 private final EglBase eglBase;
169 eglBase = EglBase.create(sharedContext, EglBase.CONFIG_PIXEL_RGBA_BUFFER);
170 eglBase.createDummyPbufferSurface();
171 eglBase.makeCurrent();
185 eglBase.detachCurrent();
249 if (eglBase.hasSurface()) {
250 if (eglBase.surfaceWidth() != stride/4 ||
251 eglBase.surfaceHeight() != total_height){
252 eglBase.releaseSurface();
253 eglBase.createPbufferSurface(stride/4, total_height);
[all …]
DSurfaceViewRenderer.java68 private EglBase eglBase; field in SurfaceViewRenderer
178 eglBase = EglBase.create(sharedContext, configAttributes); in init()
193 if (isSurfaceCreated && !eglBase.hasSurface()) { in tryCreateEglSurface()
194 eglBase.createSurface(getHolder().getSurface()); in tryCreateEglSurface()
195 eglBase.makeCurrent(); in tryCreateEglSurface()
231 eglBase.release(); in release()
232 eglBase = null; in release()
391 eglBase.releaseSurface(); in surfaceDestroyed()
430 if (eglBase != null && eglBase.hasSurface()) { in makeBlack()
433 eglBase.swapBuffers(); in makeBlack()
[all …]
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DMediaCodecVideoEncoder.java79 private EglBase14 eglBase; field in MediaCodecVideoEncoder
329 eglBase = new EglBase14(sharedContext, EglBase.CONFIG_RECORDABLE); in initEncode()
332 eglBase.createSurface(inputSurface); in initEncode()
387 eglBase.makeCurrent(); in encodeTexture()
392 eglBase.swapBuffers(TimeUnit.MICROSECONDS.toNanos(presentationTimestampUs)); in encodeTexture()
440 if (eglBase != null) { in release()
441 eglBase.release(); in release()
442 eglBase = null; in release()
/external/webrtc/webrtc/examples/androidtests/src/org/appspot/apprtc/test/
DPeerConnectionClientTest.java58 private EglBase eglBase; field in PeerConnectionClientTest
243 client.createPeerConnection(useTexures ? eglBase.getEglBaseContext() : null, in createPeerConnectionClient()
273 eglBase = EglBase.create(); in setUp()
280 if (eglBase != null) { in tearDown()
281 eglBase.release(); in tearDown()