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

Issue 1486773002: Add NativeViewGLSurfaceEGL::CommitOverlayPlanes support for Android (Closed)

Created:
5 years ago by watk
Modified:
5 years ago
Reviewers:
piman
CC:
no sievers, chromium-reviews, kalyank, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@cop-bare-implementation
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add NativeViewGLSurfaceEGL::CommitOverlayPlanes support for Android Now NativeViewGLSurfaceEGL keeps a vector of pending overlays to be displayed on the next swap or CommitOverlayPlanes. This is Android only for now because it's the motivating case, but other platforms could be added later. BUG=560592 Committed: https://crrev.com/e6e68b1e1b3d6d8158f1cd4c194b74688df56346 Cr-Commit-Position: refs/heads/master@{#362341}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : typo #

Total comments: 4

Patch Set 4 : piman@'s comments #

Total comments: 2

Patch Set 5 : Move comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -42 lines) Patch
M ui/gl/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/gl.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_egl.h View 4 chunks +9 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_egl.cc View 1 2 3 4 5 chunks +42 lines, -7 lines 0 comments Download
A ui/gl/gl_surface_overlay.h View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
A ui/gl/gl_surface_overlay.cc View 1 1 chunk +33 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_ozone.cc View 2 4 chunks +3 lines, -35 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (5 generated)
watk
Hi piman, PTAL. I considered splitting the android specific parts into a new class (GLSurfaceEGLAndroid) ...
5 years ago (2015-12-01 00:43:37 UTC) #3
piman
https://codereview.chromium.org/1486773002/diff/60001/ui/gl/gl_surface_egl.cc File ui/gl/gl_surface_egl.cc (right): https://codereview.chromium.org/1486773002/diff/60001/ui/gl/gl_surface_egl.cc#newcode686 ui/gl/gl_surface_egl.cc:686: if (SupportsCommitOverlayPlanes() && !CommitAndClearPendingOverlays()) SupportsCommitOverlayPlanes() seems orthogonal to CommitAndClearPendingOverlays(), ...
5 years ago (2015-12-01 01:06:45 UTC) #4
watk
I appreciate the quick review! https://codereview.chromium.org/1486773002/diff/60001/ui/gl/gl_surface_egl.cc File ui/gl/gl_surface_egl.cc (right): https://codereview.chromium.org/1486773002/diff/60001/ui/gl/gl_surface_egl.cc#newcode686 ui/gl/gl_surface_egl.cc:686: if (SupportsCommitOverlayPlanes() && !CommitAndClearPendingOverlays()) ...
5 years ago (2015-12-01 01:55:55 UTC) #5
piman
lgtm https://codereview.chromium.org/1486773002/diff/80001/ui/gl/gl_surface_egl.cc File ui/gl/gl_surface_egl.cc (right): https://codereview.chromium.org/1486773002/diff/80001/ui/gl/gl_surface_egl.cc#newcode822 ui/gl/gl_surface_egl.cc:822: // away. On 2015/12/01 01:55:55, watk wrote: > ...
5 years ago (2015-12-01 02:03:02 UTC) #6
watk
On 2015/12/01 02:03:02, piman (slow to review) wrote: > lgtm > > https://codereview.chromium.org/1486773002/diff/80001/ui/gl/gl_surface_egl.cc > File ...
5 years ago (2015-12-01 03:21:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486773002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486773002/100001
5 years ago (2015-12-01 03:22:58 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years ago (2015-12-01 04:04:44 UTC) #11
commit-bot: I haz the power
5 years ago (2015-12-01 04:05:43 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e6e68b1e1b3d6d8158f1cd4c194b74688df56346
Cr-Commit-Position: refs/heads/master@{#362341}

Powered by Google App Engine
This is Rietveld 408576698