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

Issue 2702403009: Make surface GetFormat pure virtual, add missing overrides. (Closed)

Created:
3 years, 9 months ago by klausw
Modified:
3 years, 9 months ago
CC:
chromium-reviews, Corentin Wallez, Dirk Pranke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make surface GetFormat pure virtual, add missing overrides. The base fallback with NOTIMPLEMENTED() warning was unhelpful, change it to explicitly require overrides in subclasses so there's no ambiguity if the default is ok or not. BUG=694857 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2702403009 Cr-Commit-Position: refs/heads/master@{#452695} Committed: https://chromium.googlesource.com/chromium/src/+/10aaaf5a41d02653d144a4e78c43c29974860e39

Patch Set 1 #

Patch Set 2 : Add missing AwGLSurface::GetFormat also #

Patch Set 3 : Add mac specific overrides #

Total comments: 2

Patch Set 4 : Fix type namespaces, add Windows overides. #

Patch Set 5 : Fix type namespaces, add Windows overides, add comments. #

Patch Set 6 : Fix another missing prefix #

Patch Set 7 : Fix class name for Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -11 lines) Patch
M android_webview/browser/aw_gl_surface.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/aw_gl_surface.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_overlay_mac.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_overlay_mac.mm View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_surface.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ui/gl/gl_surface.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M ui/gl/gl_surface_format.h View 1 2 3 4 3 chunks +28 lines, -4 lines 0 comments Download
M ui/gl/gl_surface_glx.h View 2 chunks +2 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_glx.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_stub.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_surface_stub.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_wgl.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_wgl.cc View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M ui/gl/init/gl_factory_mac.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 42 (26 generated)
klausw
3 years, 9 months ago (2017-02-23 20:22:44 UTC) #2
jbauman
lgtm
3 years, 9 months ago (2017-02-23 20:32:33 UTC) #5
klausw
boliu@chromium.org: Please review changes in android_webview
3 years, 9 months ago (2017-02-23 20:51:47 UTC) #9
boliu
https://codereview.chromium.org/2702403009/diff/40001/android_webview/browser/aw_gl_surface.cc File android_webview/browser/aw_gl_surface.cc (right): https://codereview.chromium.org/2702403009/diff/40001/android_webview/browser/aw_gl_surface.cc#newcode43 android_webview/browser/aw_gl_surface.cc:43: return GLSurfaceFormat(); add NOTIMPLEMENTED here?
3 years, 9 months ago (2017-02-23 21:33:32 UTC) #16
boliu
On 2017/02/23 21:33:32, boliu wrote: > https://codereview.chromium.org/2702403009/diff/40001/android_webview/browser/aw_gl_surface.cc > File android_webview/browser/aw_gl_surface.cc (right): > > https://codereview.chromium.org/2702403009/diff/40001/android_webview/browser/aw_gl_surface.cc#newcode43 > ...
3 years, 9 months ago (2017-02-23 21:40:09 UTC) #19
klausw
https://codereview.chromium.org/2702403009/diff/40001/android_webview/browser/aw_gl_surface.cc File android_webview/browser/aw_gl_surface.cc (right): https://codereview.chromium.org/2702403009/diff/40001/android_webview/browser/aw_gl_surface.cc#newcode43 android_webview/browser/aw_gl_surface.cc:43: return GLSurfaceFormat(); On 2017/02/23 21:33:31, boliu wrote: > add ...
3 years, 9 months ago (2017-02-23 22:08:47 UTC) #20
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/2702403009/80001
3 years, 9 months ago (2017-02-23 22:10:02 UTC) #23
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/2702403009/100001
3 years, 9 months ago (2017-02-23 22:26:41 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/355045) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 9 months ago (2017-02-23 23:04:07 UTC) #29
Ken Russell (switch to Gerrit)
3 years, 9 months ago (2017-02-23 23:07:32 UTC) #31
Ken Russell (switch to Gerrit)
Let's please fix up the compile failures and get this in ASAP. It's spamming the ...
3 years, 9 months ago (2017-02-23 23:08:17 UTC) #32
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/2702403009/120001
3 years, 9 months ago (2017-02-23 23:14:09 UTC) #35
klausw
On 2017/02/23 23:08:17, Ken Russell wrote: > Let's please fix up the compile failures and ...
3 years, 9 months ago (2017-02-23 23:24:27 UTC) #36
Ken Russell (switch to Gerrit)
On 2017/02/23 23:24:27, klausw wrote: > On 2017/02/23 23:08:17, Ken Russell wrote: > > Let's ...
3 years, 9 months ago (2017-02-24 00:38:05 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/10aaaf5a41d02653d144a4e78c43c29974860e39
3 years, 9 months ago (2017-02-24 00:51:39 UTC) #41
klausw
3 years, 9 months ago (2017-02-24 01:05:20 UTC) #42
Message was sent while issue was closed.
On 2017/02/24 00:38:05, Ken Russell wrote:
> Understood. Still, the large volume of logs is causing problems. I wouldn't be
> surprised if some of the excess load we've seen on Chromium's buildbot masters
> over the past couple of days is due to the increase in log volume.

Please let me know ASAP in case this isn't solved by the just-submitted patch or
if you run into other related issues.

I saw earlier that NOTIMPLEMENTED messages are completely suppressed in the
build flavor I was using for testing the patch that introduced this, which
explains why I hadn't noticed the message :-/ 

#if defined(OS_ANDROID) && defined(OFFICIAL_BUILD)
#define NOTIMPLEMENTED_POLICY 0

Powered by Google App Engine
This is Rietveld 408576698