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

Issue 1518793004: Improve GL bindings for Ganesh surfaces. (Closed)

Created:
5 years ago by jeffbrown
Modified:
5 years ago
Reviewers:
abarth, abarth-chromium
CC:
abarth-chromium, Aaron Boodman, ben+mojo_chromium.org, darin (slow to review), gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Improve GL bindings for Ganesh surfaces. Add support for binding a Ganesh surface directly to a framebuffer. Refactored the code to make it easier to distinguish binding a Ganesh surface to a texture from binding to a framebuffer. Switch to using std::unique_ptr<> and update example code. Note that these examples will see further changes shortly which will eliminate the excess scoped_ptr / unique_ptr conversions among other things. BUG= R=abarth@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/c515f59d4b83c6ce53e3c78ed71c7b28733eb824

Patch Set 1 #

Total comments: 4

Patch Set 2 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -90 lines) Patch
M examples/ganesh_app/ganesh_view.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M mojo/skia/BUILD.gn View 1 chunk +4 lines, -2 lines 0 comments Download
M mojo/skia/ganesh_context.h View 1 chunk +1 line, -1 line 0 comments Download
A mojo/skia/ganesh_framebuffer_surface.h View 1 1 chunk +38 lines, -0 lines 0 comments Download
A mojo/skia/ganesh_framebuffer_surface.cc View 1 chunk +45 lines, -0 lines 0 comments Download
D mojo/skia/ganesh_surface.h View 1 chunk +0 lines, -36 lines 0 comments Download
D mojo/skia/ganesh_surface.cc View 1 chunk +0 lines, -37 lines 0 comments Download
A mojo/skia/ganesh_texture_surface.h View 1 1 chunk +42 lines, -0 lines 0 comments Download
A + mojo/skia/ganesh_texture_surface.cc View 1 2 chunks +16 lines, -10 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
jeffbrown
5 years ago (2015-12-10 22:15:06 UTC) #2
viettrungluu
No tests? :(
5 years ago (2015-12-10 22:43:52 UTC) #4
abarth-chromium
LGTM https://codereview.chromium.org/1518793004/diff/1/mojo/skia/ganesh_framebuffer_surface.h File mojo/skia/ganesh_framebuffer_surface.h (right): https://codereview.chromium.org/1518793004/diff/1/mojo/skia/ganesh_framebuffer_surface.h#newcode24 mojo/skia/ganesh_framebuffer_surface.h:24: GaneshFramebufferSurface(GaneshContext* context); Please mark one-argument constructors explicit https://codereview.chromium.org/1518793004/diff/1/mojo/skia/ganesh_texture_surface.h ...
5 years ago (2015-12-10 22:46:11 UTC) #6
jeffbrown
https://codereview.chromium.org/1518793004/diff/1/mojo/skia/ganesh_framebuffer_surface.h File mojo/skia/ganesh_framebuffer_surface.h (right): https://codereview.chromium.org/1518793004/diff/1/mojo/skia/ganesh_framebuffer_surface.h#newcode24 mojo/skia/ganesh_framebuffer_surface.h:24: GaneshFramebufferSurface(GaneshContext* context); On 2015/12/10 22:46:11, abarth-chromium wrote: > Please ...
5 years ago (2015-12-12 01:37:02 UTC) #7
jeffbrown
5 years ago (2015-12-14 21:29:06 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
c515f59d4b83c6ce53e3c78ed71c7b28733eb824 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698