Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Issue 2399463006: Android: Split out EGL rendering from SurfaceViewRenderer to separate class (Closed)

Created:
4 years, 2 months ago by magjed_webrtc
Modified:
4 years, 2 months ago
Reviewers:
sakal
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Android: Split out EGL rendering from SurfaceViewRenderer to separate class The purpose is to prepare for a TextureViewRenderer that will share the EGL rendering code. Two functional changes are also included: * The implementation of SurfaceHolder.Callback.surfaceDestroyed will now block until the EGL surface is released. This is done in order to comply with the documentation that says: "If you have a rendering thread that directly accesses the surface, you must ensure that thread is no longer touching the Surface before returning from this function." * We will no longer try to hide render glitches during layout changes. This was a lost cause anyway. BUG=webrtc:6470 Committed: https://crrev.com/df494b09085986ba980b7128ed7bdd90636a9c08 Cr-Commit-Position: refs/heads/master@{#14570}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressing Samis comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -682 lines) Patch
M webrtc/api/BUILD.gn View 1 chunk +1 line, -0 lines 2 comments Download
A + webrtc/api/android/java/src/org/webrtc/EglRenderer.java View 1 15 chunks +140 lines, -286 lines 0 comments Download
M webrtc/api/android/java/src/org/webrtc/RendererCommon.java View 1 chunk +2 lines, -3 lines 0 comments Download
M webrtc/api/android/java/src/org/webrtc/SurfaceViewRenderer.java View 1 8 chunks +46 lines, -393 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
magjed_webrtc
Sami - please take a look.
4 years, 2 months ago (2016-10-06 09:06:13 UTC) #5
sakal
https://codereview.webrtc.org/2399463006/diff/40001/webrtc/api/android/java/src/org/webrtc/EglRenderer.java File webrtc/api/android/java/src/org/webrtc/EglRenderer.java (left): https://codereview.webrtc.org/2399463006/diff/40001/webrtc/api/android/java/src/org/webrtc/EglRenderer.java#oldcode440 webrtc/api/android/java/src/org/webrtc/EglRenderer.java:440: throw new IllegalStateException(getResourceName() + "Wrong thread."); Why this was ...
4 years, 2 months ago (2016-10-06 11:32:51 UTC) #6
magjed_webrtc
https://codereview.webrtc.org/2399463006/diff/40001/webrtc/api/android/java/src/org/webrtc/EglRenderer.java File webrtc/api/android/java/src/org/webrtc/EglRenderer.java (left): https://codereview.webrtc.org/2399463006/diff/40001/webrtc/api/android/java/src/org/webrtc/EglRenderer.java#oldcode440 webrtc/api/android/java/src/org/webrtc/EglRenderer.java:440: throw new IllegalStateException(getResourceName() + "Wrong thread."); On 2016/10/06 11:32:51, ...
4 years, 2 months ago (2016-10-06 13:36:07 UTC) #7
sakal
lgtm https://codereview.webrtc.org/2399463006/diff/60001/webrtc/api/BUILD.gn File webrtc/api/BUILD.gn (right): https://codereview.webrtc.org/2399463006/diff/60001/webrtc/api/BUILD.gn#newcode264 webrtc/api/BUILD.gn:264: "android/java/src/org/webrtc/EglRenderer.java", Do we need to modify a gyp ...
4 years, 2 months ago (2016-10-07 11:59:15 UTC) #8
magjed_webrtc
https://codereview.webrtc.org/2399463006/diff/60001/webrtc/api/BUILD.gn File webrtc/api/BUILD.gn (right): https://codereview.webrtc.org/2399463006/diff/60001/webrtc/api/BUILD.gn#newcode264 webrtc/api/BUILD.gn:264: "android/java/src/org/webrtc/EglRenderer.java", On 2016/10/07 11:59:14, sakal wrote: > Do we ...
4 years, 2 months ago (2016-10-07 12:06:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2399463006/60001
4 years, 2 months ago (2016-10-07 12:06:26 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 2 months ago (2016-10-07 12:32:38 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/df494b09085986ba980b7128ed7bdd90636a9c08 Cr-Commit-Position: refs/heads/master@{#14570}
4 years, 2 months ago (2016-10-07 12:32:46 UTC) #15
ehmaldonado_webrtc
On 2016/10/07 12:32:46, commit-bot: I haz the power wrote: > Patchset 2 (id:??) landed as ...
4 years, 2 months ago (2016-10-07 13:21:33 UTC) #16
magjed_webrtc
4 years, 2 months ago (2016-10-18 08:44:19 UTC) #17
Message was sent while issue was closed.
On 2016/10/07 13:21:33, ehmaldonado_webrtc wrote:
> On 2016/10/07 12:32:46, commit-bot: I haz the power wrote:
> > Patchset 2 (id:??) landed as
> > https://crrev.com/df494b09085986ba980b7128ed7bdd90636a9c08
> > Cr-Commit-Position: refs/heads/master@{#14570}
> 
> Are you sure you have the right bug?

Sorry, no should be webrtc:6470 instead of webrtc:6407.

Powered by Google App Engine
This is Rietveld 408576698