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

Issue 1436993002: Remove return bool in SurfaceOzoneEGL::OnSwapBuffersAsync (Closed)

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

Description

Remove return bool in SurfaceOzoneEGL::OnSwapBuffersAsync OnSwapBuffersAsync() takes a callback which will be called with the status of the swap buffers call. The callback can be used in all cases, so there is no need to have a return value to signal swap status in certain cases. BUG=none Committed: https://crrev.com/02681f457a255a434c8b91f890a8ca647ac57630 Cr-Commit-Position: refs/heads/master@{#359323}

Patch Set 1 #

Total comments: 5

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -12 lines) Patch
M ui/gl/gl_surface_ozone.cc View 1 2 2 chunks +12 lines, -3 lines 0 comments Download
M ui/ozone/platform/cast/surface_ozone_egl_cast.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/cast/surface_ozone_egl_cast.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_surfaceless.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_surfaceless.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ui/ozone/platform/egltest/ozone_platform_egltest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ui/ozone/public/surface_ozone_egl.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (5 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436993002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436993002/1
5 years, 1 month ago (2015-11-11 18:34:57 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-11 19:10:26 UTC) #4
dnicoara
PTAL
5 years, 1 month ago (2015-11-11 19:24:43 UTC) #6
spang
https://codereview.chromium.org/1436993002/diff/1/ui/gl/gl_surface_ozone.cc File ui/gl/gl_surface_ozone.cc (right): https://codereview.chromium.org/1436993002/diff/1/ui/gl/gl_surface_ozone.cc#newcode391 ui/gl/gl_surface_ozone.cc:391: last_swap_buffers_result_ = frame->ScheduleOverlayPlanes(widget_); Shouldn't this be if (!frame->ScheduleOverlayPlanes(widget_)) { ...
5 years, 1 month ago (2015-11-11 20:58:40 UTC) #7
dnicoara
https://codereview.chromium.org/1436993002/diff/1/ui/gl/gl_surface_ozone.cc File ui/gl/gl_surface_ozone.cc (right): https://codereview.chromium.org/1436993002/diff/1/ui/gl/gl_surface_ozone.cc#newcode391 ui/gl/gl_surface_ozone.cc:391: last_swap_buffers_result_ = frame->ScheduleOverlayPlanes(widget_); On 2015/11/11 20:58:40, spang wrote: > ...
5 years, 1 month ago (2015-11-11 21:07:08 UTC) #8
dnicoara
https://codereview.chromium.org/1436993002/diff/1/ui/gl/gl_surface_ozone.cc File ui/gl/gl_surface_ozone.cc (right): https://codereview.chromium.org/1436993002/diff/1/ui/gl/gl_surface_ozone.cc#newcode391 ui/gl/gl_surface_ozone.cc:391: last_swap_buffers_result_ = frame->ScheduleOverlayPlanes(widget_); On 2015/11/11 20:58:40, spang wrote: > ...
5 years, 1 month ago (2015-11-11 21:33:57 UTC) #9
spang
https://codereview.chromium.org/1436993002/diff/20001/ui/gl/gl_surface_ozone.cc File ui/gl/gl_surface_ozone.cc (right): https://codereview.chromium.org/1436993002/diff/20001/ui/gl/gl_surface_ozone.cc#newcode396 ui/gl/gl_surface_ozone.cc:396: ozone_surface_->OnSwapBuffersAsync(frame->callback); I think you should return in the error ...
5 years, 1 month ago (2015-11-12 01:34:07 UTC) #10
spang
lgtm
5 years, 1 month ago (2015-11-12 02:21:53 UTC) #11
dnicoara
https://codereview.chromium.org/1436993002/diff/20001/ui/gl/gl_surface_ozone.cc File ui/gl/gl_surface_ozone.cc (right): https://codereview.chromium.org/1436993002/diff/20001/ui/gl/gl_surface_ozone.cc#newcode396 ui/gl/gl_surface_ozone.cc:396: ozone_surface_->OnSwapBuffersAsync(frame->callback); On 2015/11/12 01:34:07, spang wrote: > I think ...
5 years, 1 month ago (2015-11-12 15:16:52 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436993002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436993002/40001
5 years, 1 month ago (2015-11-12 15:17:04 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-12 15:34:47 UTC) #16
commit-bot: I haz the power
5 years, 1 month ago (2015-11-12 20:07:38 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/02681f457a255a434c8b91f890a8ca647ac57630
Cr-Commit-Position: refs/heads/master@{#359323}

Powered by Google App Engine
This is Rietveld 408576698