Home
last modified time | relevance | path

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

/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DSurfaceTextureHelperTest.java115 final EglBase eglBase = EglBase.create(null, EglBase.CONFIG_PIXEL_BUFFER); in testThreeConstantColorFrames() local
116 eglBase.createPbufferSurface(width, height); in testThreeConstantColorFrames()
121 "SurfaceTextureHelper test" /* threadName */, eglBase.getEglBaseContext()); in testThreeConstantColorFrames()
128 final EglBase eglOesBase = EglBase.create(eglBase.getEglBaseContext(), EglBase.CONFIG_PLAIN); in testThreeConstantColorFrames()
147 eglBase.makeCurrent(); in testThreeConstantColorFrames()
170 eglBase.release(); in testThreeConstantColorFrames()
184 final EglBase eglBase = EglBase.create(null, EglBase.CONFIG_PIXEL_BUFFER); in testLateReturnFrame() local
185 eglBase.createPbufferSurface(width, height); in testLateReturnFrame()
189 "SurfaceTextureHelper test" /* threadName */, eglBase.getEglBaseContext()); in testLateReturnFrame()
196 final EglBase eglOesBase = EglBase.create(eglBase.getEglBaseContext(), EglBase.CONFIG_PLAIN); in testLateReturnFrame()
[all …]
DGlRectDrawerTest.java101 final EglBase eglBase = EglBase.create(null, EglBase.CONFIG_PIXEL_BUFFER); in testRgbRendering() local
102 eglBase.createPbufferSurface(WIDTH, HEIGHT); in testRgbRendering()
103 eglBase.makeCurrent(); in testRgbRendering()
133 eglBase.release(); in testRgbRendering()
142 EglBase eglBase = EglBase.create(null, EglBase.CONFIG_PIXEL_BUFFER); in testYuvRendering() local
143 eglBase.createPbufferSurface(WIDTH, HEIGHT); in testYuvRendering()
144 eglBase.makeCurrent(); in testYuvRendering()
211 eglBase.release(); in testYuvRendering()
237 private final EglBase eglBase;
243 eglBase = EglBase.create(sharedContext, EglBase.CONFIG_PLAIN);
[all …]
DAndroidVideoDecoderInstrumentationTest.java126 private EglBase14 eglBase; field in AndroidVideoDecoderInstrumentationTest
134 createDecoderFactory(useEglContext ? eglBase.getEglBaseContext() : null); in createDecoder()
140 eglBase.getEglBaseContext(), ENABLE_INTEL_VP8_ENCODER, ENABLE_H264_HIGH_PROFILE); in encodeTestFrames()
165 eglBase = EglBase.createEgl14(EglBase.CONFIG_PLAIN); in setUp()
166 eglBase.createDummyPbufferSurface(); in setUp()
167 eglBase.makeCurrent(); in setUp()
174 eglBase.release(); in tearDown()
DVideoFrameBufferTest.java146 final EglBase eglBase = EglBase.create(eglContext, EglBase.CONFIG_PIXEL_BUFFER); in createRgbTextureBuffer()
147 eglBase.createDummyPbufferSurface(); in createRgbTextureBuffer()
148 eglBase.makeCurrent(); in createRgbTextureBuffer()
164 eglBase.release(); in createRgbTextureBuffer()
190 final EglBase eglBase = EglBase.create(eglContext, EglBase.CONFIG_PLAIN);
191 eglBase.createSurface(surfaceTextureHelper.getSurfaceTexture());
192 eglBase.makeCurrent();
193 assertEquals(width, eglBase.surfaceWidth());
194 assertEquals(height, eglBase.surfaceHeight());
202 eglBase.swapBuffers();
DHardwareVideoEncoderTest.java286 private EglBase14 eglBase; field in HardwareVideoEncoderTest
297 createEncoderFactory(useEglContext ? eglBase.getEglBaseContext() : null); in createEncoder()
359 eglBase = EglBase.createEgl14(EglBase.CONFIG_PLAIN); in setUp()
360 eglBase.createDummyPbufferSurface(); in setUp()
361 eglBase.makeCurrent(); in setUp()
367 eglBase.release(); in tearDown()
DVideoFileRendererTest.java37 EglBase eglBase = EglBase.create(); in testYuvRenderingToFile() local
43 new VideoFileRenderer(videoOutPath, frameWidth, frameHeight, eglBase.getEglBaseContext()); in testYuvRenderingToFile()
/external/webrtc/sdk/android/api/org/webrtc/
DEglRenderer.java74 if (surface != null && eglBase != null && !eglBase.hasSurface()) { in run()
76 eglBase.createSurface((Surface) surface); in run()
78 eglBase.createSurface((SurfaceTexture) surface); in run()
82 eglBase.makeCurrent(); in run()
133 @Nullable private EglBase eglBase; field in EglRenderer
238 eglBase = EglBase.createEgl10(configAttributes); in init()
241 eglBase = EglBase.create(sharedContext, configAttributes); in init()
302 if (eglBase != null) { in release()
304 eglBase.detachCurrent(); in release()
305 eglBase.release(); in release()
[all …]
DVideoFileRenderer.java37 private EglBase eglBase; field in VideoFileRenderer
70 eglBase = EglBase.create(sharedContext, EglBase.CONFIG_PIXEL_BUFFER); in VideoFileRenderer()
71 eglBase.createDummyPbufferSurface(); in VideoFileRenderer()
72 eglBase.makeCurrent(); in VideoFileRenderer()
138 eglBase.release(); in release()
DSurfaceTextureHelper.java143 private final EglBase eglBase;
187 eglBase = EglBase.create(sharedContext, EglBase.CONFIG_PIXEL_BUFFER);
190 eglBase.createDummyPbufferSurface();
191 eglBase.makeCurrent();
194 eglBase.release();
394 eglBase.release();
/external/webrtc/examples/androidnativeapi/java/org/webrtc/examples/androidnativeapi/
DMainActivity.java30 private @Nullable EglBase eglBase; field in MainActivity
63 eglBase = EglBase.create(null /* sharedContext */, EglBase.CONFIG_PLAIN); in onStart()
67 localRenderer.init(eglBase.getEglBaseContext(), null /* rendererEvents */, EglBase.CONFIG_PLAIN, in onStart()
69 remoteRenderer.init(eglBase.getEglBaseContext(), null /* rendererEvents */, in onStart()
73 SurfaceTextureHelper.create("VideoCapturerThread", eglBase.getEglBaseContext()); in onStart()
83 eglBase.release(); in onStop()
88 eglBase = null; in onStop()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCallActivity.java233 final EglBase eglBase = EglBase.create(); in onCreate() local
236 pipRenderer.init(eglBase.getEglBaseContext(), null); in onCreate()
246 saveRemoteVideoToFile, videoOutWidth, videoOutHeight, eglBase.getEglBaseContext()); in onCreate()
253 fullscreenRenderer.init(eglBase.getEglBaseContext(), null); in onCreate()
373 getApplicationContext(), eglBase, peerConnectionParameters, CallActivity.this); in onCreate()
DPeerConnectionClient.java325 public PeerConnectionClient(Context appContext, EglBase eglBase, in PeerConnectionClient() argument
327 this.rootEglBase = eglBase; in PeerConnectionClient()
/external/webrtc/examples/androidtests/src/org/appspot/apprtc/test/
DPeerConnectionClientTest.java279 final EglBase eglBase = EglBase.create(); in createPeerConnectionClient() local
281 new PeerConnectionClient(InstrumentationRegistry.getTargetContext(), eglBase, in createPeerConnectionClient()