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

Issue 1480333002: egl/x11: Created a child window to control resizes and prevent flashes (Closed)

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

Description

egl/x11: Created a child window to control resizes and prevent flashes In a similar fashion to what it has been done for GLX, we create a child XWindow to control resizes of EGL surfaces without exposing bugs in some drivers which clobber the back buffer, resulting in flashes. Contrary to GLX, EGL can be used in platforms not using the X Window System, so we only apply this change in those cases, leaving the original code untouched for non X11-based systems. BUG=326995 R=piman@chromium.org Committed: https://crrev.com/93f34d7ae6a7825439da4226dbfa1ceafbb54c22 Cr-Commit-Position: refs/heads/master@{#364681}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved X11 specific parts to their own subclass #

Total comments: 1

Patch Set 3 : Moved up the call to InitializeNativeWindow() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -84 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/gl.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_egl.h View 1 1 chunk +5 lines, -2 lines 0 comments Download
M ui/gl/gl_surface_egl.cc View 1 2 5 chunks +13 lines, -81 lines 0 comments Download
A ui/gl/gl_surface_egl_x11.h View 1 1 chunk +42 lines, -0 lines 0 comments Download
A ui/gl/gl_surface_egl_x11.cc View 1 1 chunk +179 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_x11.cc View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 22 (6 generated)
mario.endlessm
This is the initial patch set, please let me know what you think. Also, I ...
5 years ago (2015-11-30 14:53:49 UTC) #1
piman
Couple of nits, otherwise the logic seems reasonable. https://codereview.chromium.org/1480333002/diff/1/ui/gl/gl_surface_egl.h File ui/gl/gl_surface_egl.h (right): https://codereview.chromium.org/1480333002/diff/1/ui/gl/gl_surface_egl.h#newcode138 ui/gl/gl_surface_egl.h:138: uint32_t ...
5 years ago (2015-11-30 22:07:44 UTC) #2
mario.endlessm
On 2015/11/30 22:07:44, piman (slow to review) wrote: > Couple of nits, otherwise the logic ...
5 years ago (2015-12-01 15:54:50 UTC) #3
piman
LGTM+nit. Thanks for the cleanup, it looks much better this way! https://codereview.chromium.org/1480333002/diff/20001/ui/gl/gl_surface_egl.cc File ui/gl/gl_surface_egl.cc (right): ...
5 years ago (2015-12-02 00:59:46 UTC) #4
mario.endlessm
On 2015/12/02 00:59:46, piman (slow to review) wrote: > LGTM+nit. Thanks for the cleanup, it ...
5 years ago (2015-12-02 11:06:30 UTC) #5
piman
lgtm
5 years ago (2015-12-02 22:11:09 UTC) #6
piman
lgtm lgtm
5 years ago (2015-12-02 22:11:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1480333002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1480333002/40001
5 years ago (2015-12-02 22:14:01 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/130310)
5 years ago (2015-12-02 23:17:22 UTC) #11
mario.endlessm
On 2015/12/02 23:17:22, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years ago (2015-12-03 10:55:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1480333002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1480333002/40001
5 years ago (2015-12-03 21:57:03 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
5 years ago (2015-12-04 00:53:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1480333002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1480333002/40001
5 years ago (2015-12-11 11:16:24 UTC) #18
mario.endlessm
On 2015/12/04 00:53:25, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years ago (2015-12-11 11:17:28 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-11 12:30:05 UTC) #20
commit-bot: I haz the power
5 years ago (2015-12-11 12:31:51 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/93f34d7ae6a7825439da4226dbfa1ceafbb54c22
Cr-Commit-Position: refs/heads/master@{#364681}

Powered by Google App Engine
This is Rietveld 408576698