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

Issue 2764853002: gl: Remove redundant methods/variables from GLSurfaceFormat (Closed)

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

Description

gl: Remove redundant methods/variables from GLSurfaceFormat This commit removes IsDefault(), SetIsSurfaceless() and IsSurfaceless() from GLSurfaceFormat. GLSurface::IsSurfaceless() can be directly used instead of GLSurfaceFormat::IsSurfaceless(). BUG=704581 Review-Url: https://codereview.chromium.org/2764853002 Cr-Commit-Position: refs/heads/master@{#459252} Committed: https://chromium.googlesource.com/chromium/src/+/bedc60e74ddc887d5599b468c83191f992311458

Patch Set 1 #

Total comments: 4

Patch Set 2 : Replaced format.IsDefault() check with format.IsCompatible(GLSurfaceFormat()) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -61 lines) Patch
M ui/gl/gl_surface_egl.cc View 4 chunks +5 lines, -11 lines 0 comments Download
M ui/gl/gl_surface_format.h View 2 chunks +0 lines, -14 lines 0 comments Download
M ui/gl/gl_surface_format.cc View 9 chunks +0 lines, -23 lines 0 comments Download
M ui/gl/gl_surface_format_unittest.cc View 2 chunks +0 lines, -12 lines 0 comments Download
M ui/gl/init/gl_factory_ozone.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 40 (22 generated)
Chandan
On 2017/03/21 11:00:58, Chandan wrote: > mailto:c.padhi@samsung.com changed reviewers: > + mailto:a.suchit@chromium.org, mailto:klausw@chromium.org PTAL!
3 years, 9 months ago (2017-03-21 11:01:13 UTC) #3
Chandan
On 2017/03/22 07:27:21, Chandan wrote: > mailto:c.padhi@samsung.com changed reviewers: > + mailto:jbauman@chromium.org, mailto:kbr@chromium.org, mailto:piman@chromium.org @reviewers, ...
3 years, 9 months ago (2017-03-22 07:28:05 UTC) #6
piman
https://codereview.chromium.org/2764853002/diff/1/ui/gl/init/gl_factory_ozone.cc File ui/gl/init/gl_factory_ozone.cc (left): https://codereview.chromium.org/2764853002/diff/1/ui/gl/init/gl_factory_ozone.cc#oldcode91 ui/gl/init/gl_factory_ozone.cc:91: } Is it ok to remove this check? Why?
3 years, 9 months ago (2017-03-22 21:31:36 UTC) #11
Ken Russell (switch to Gerrit)
Please file a bug for changes like this and refer to any earlier bugs. klausw@ ...
3 years, 9 months ago (2017-03-22 21:36:47 UTC) #12
klausw
> klausw@ touched this code most recently in > https://chromium.googlesource.com/chromium/src/+/ec8edae43017bf5ea65d3b65edbc... > , and I'm not ...
3 years, 9 months ago (2017-03-22 21:49:21 UTC) #13
piman
https://codereview.chromium.org/2764853002/diff/1/ui/gl/init/gl_factory_ozone.cc File ui/gl/init/gl_factory_ozone.cc (left): https://codereview.chromium.org/2764853002/diff/1/ui/gl/init/gl_factory_ozone.cc#oldcode91 ui/gl/init/gl_factory_ozone.cc:91: } On 2017/03/22 21:49:21, klausw wrote: > On 2017/03/22 ...
3 years, 9 months ago (2017-03-22 21:59:35 UTC) #14
Chandan
On 2017/03/22 21:36:47, Ken Russell wrote: > Please file a bug for changes like this ...
3 years, 9 months ago (2017-03-23 12:34:05 UTC) #16
Chandan
https://codereview.chromium.org/2764853002/diff/1/ui/gl/init/gl_factory_ozone.cc File ui/gl/init/gl_factory_ozone.cc (left): https://codereview.chromium.org/2764853002/diff/1/ui/gl/init/gl_factory_ozone.cc#oldcode91 ui/gl/init/gl_factory_ozone.cc:91: } On 2017/03/22 21:49:21, klausw wrote: > On 2017/03/22 ...
3 years, 9 months ago (2017-03-23 12:34:27 UTC) #17
klausw
On 2017/03/23 12:34:05, Chandan wrote: > On 2017/03/22 21:36:47, Ken Russell wrote: > > Please ...
3 years, 9 months ago (2017-03-23 16:43:19 UTC) #20
Chandan
On 2017/03/23 16:43:19, klausw wrote: > On 2017/03/23 12:34:05, Chandan wrote: > > On 2017/03/22 ...
3 years, 9 months ago (2017-03-23 18:48:20 UTC) #24
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/2764853002/20001
3 years, 9 months ago (2017-03-23 18:49:34 UTC) #26
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 9 months ago (2017-03-23 18:49:36 UTC) #28
piman
lgtm
3 years, 9 months ago (2017-03-23 20:34:01 UTC) #29
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/2764853002/20001
3 years, 9 months ago (2017-03-23 20:36:04 UTC) #31
commit-bot: I haz the power
Prior attempt to commit was detected, but we were not able to check whether the ...
3 years, 9 months ago (2017-03-23 21:50:46 UTC) #34
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/2764853002/20001
3 years, 9 months ago (2017-03-23 22:10:54 UTC) #36
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/bedc60e74ddc887d5599b468c83191f992311458
3 years, 9 months ago (2017-03-23 22:21:08 UTC) #39
klausw
3 years, 9 months ago (2017-03-23 23:05:34 UTC) #40
Message was sent while issue was closed.
On 2017/03/23 22:21:08, commit-bot: I haz the power wrote:
> Committed patchset #2 (id:20001) as
>
https://chromium.googlesource.com/chromium/src/+/bedc60e74ddc887d5599b468c831...

I re-did the commit since it hadn't gone through earlier, it worked fine this
time. I closed the bug. Thank you for doing this!

Powered by Google App Engine
This is Rietveld 408576698