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

Issue 1191243005: Android VideoRendererGui: Refactor GLES rendering (Closed)

Created:
5 years, 6 months ago by magjed_webrtc
Modified:
5 years, 6 months ago
Reviewers:
AlexG
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), Andrew MacDonald
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Android VideoRendererGui: Refactor GLES rendering This CL should not change any visible behaviour. It does the following: * Extract GLES rendering into separate class GlRectDrawer. This class is also needed for future video encode with OES texture input. * Clean up current ScalingType -> display size calculation and introduce new SCALE_ASPECT_BALANCED (b/21735609) and remove unused SCALE_FILL. * Replace current mirror/rotation index juggling with android.opengl.Matrix operations instead. Committed: https://crrev.com/59a677ada27c660e9cd7486f0d702753dbeb6d39 Cr-Commit-Position: refs/heads/master@{#9496}

Patch Set 1 : #

Total comments: 21

Patch Set 2 : glaznev@s comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+347 lines, -283 lines) Patch
A talk/app/webrtc/java/android/org/webrtc/GlRectDrawer.java View 1 1 chunk +205 lines, -0 lines 0 comments Download
M talk/app/webrtc/java/android/org/webrtc/GlShader.java View 2 chunks +16 lines, -0 lines 0 comments Download
M talk/app/webrtc/java/android/org/webrtc/VideoRendererGui.java View 1 15 chunks +125 lines, -283 lines 0 comments Download
M talk/libjingle.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
magjed_webrtc
glaznev - Please take a look.
5 years, 6 months ago (2015-06-22 20:49:14 UTC) #3
AlexG
lgtm Mainly nits in comments https://codereview.webrtc.org/1191243005/diff/20001/talk/app/webrtc/java/android/org/webrtc/GlRectDrawer.java File talk/app/webrtc/java/android/org/webrtc/GlRectDrawer.java (right): https://codereview.webrtc.org/1191243005/diff/20001/talk/app/webrtc/java/android/org/webrtc/GlRectDrawer.java#newcode197 talk/app/webrtc/java/android/org/webrtc/GlRectDrawer.java:197: oesShader.release(); add oesShader = ...
5 years, 6 months ago (2015-06-23 22:03:36 UTC) #4
magjed_webrtc
https://codereview.webrtc.org/1191243005/diff/20001/talk/app/webrtc/java/android/org/webrtc/GlRectDrawer.java File talk/app/webrtc/java/android/org/webrtc/GlRectDrawer.java (right): https://codereview.webrtc.org/1191243005/diff/20001/talk/app/webrtc/java/android/org/webrtc/GlRectDrawer.java#newcode197 talk/app/webrtc/java/android/org/webrtc/GlRectDrawer.java:197: oesShader.release(); On 2015/06/23 22:03:36, AlexG wrote: > add oesShader ...
5 years, 6 months ago (2015-06-24 10:17:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1191243005/40001
5 years, 6 months ago (2015-06-24 10:17:43 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 6 months ago (2015-06-24 10:59:41 UTC) #9
commit-bot: I haz the power
5 years, 6 months ago (2015-06-24 10:59:50 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/59a677ada27c660e9cd7486f0d702753dbeb6d39
Cr-Commit-Position: refs/heads/master@{#9496}

Powered by Google App Engine
This is Rietveld 408576698