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

Issue 2767293002: More reliable check for whether EGLSyncControlVSyncProvider should be instantiated. (Closed)

Created:
3 years, 9 months ago by stanisc
Modified:
3 years, 9 months ago
Reviewers:
jbauman
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

More reliable check for whether EGLSyncControlVSyncProvider should be instantiated. This change improves a check in NativeViewGLSurfaceEGL::Initialize for whether it should reset vsync provider. This is done in preparation for re-introducing ANGLE eglGetSyncValuesCHROMIUM extension. The current logic overrides sync provider with a new instance of EGLSyncControlVSyncProvider when the extension is present and we want to avoid that since EGLSyncControlVSyncProvider isn't implemented on Windows. There is no plan to switch to EGLSyncControlVSyncProvider on Windows. eglGetSyncValuesCHROMIUM will be used to provide accurate frame statistics data for instrumentation and benchmarking only. BUG=614147 Review-Url: https://codereview.chromium.org/2767293002 Cr-Commit-Position: refs/heads/master@{#458996} Committed: https://chromium.googlesource.com/chromium/src/+/1b27dad7e468ddaaf74d9b483bf14015c9f848e3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -1 line) Patch
M ui/gl/gl_surface_egl.cc View 2 chunks +6 lines, -1 line 0 comments Download
M ui/gl/sync_control_vsync_provider.h View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (10 generated)
stanisc
PTAL! Is this covered by any unit tests? I tested this manually on Windows. The ...
3 years, 9 months ago (2017-03-22 23:19:34 UTC) #6
jbauman
lgtm On 2017/03/22 23:19:34, stanisc wrote: > PTAL! > > Is this covered by any ...
3 years, 9 months ago (2017-03-23 01:14:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2767293002/1
3 years, 9 months ago (2017-03-23 03:21:33 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 03:27:52 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/1b27dad7e468ddaaf74d9b483bf1...

Powered by Google App Engine
This is Rietveld 408576698