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

Issue 413303002: mojo: Convert gles2 to the new thunking system (Closed)

Created:
6 years, 5 months ago by Elliot Glaysher
Modified:
6 years, 4 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

mojo: Convert gles2 to the new thunking system. BUG=386799 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286365

Patch Set 1 #

Patch Set 2 : First semi-viable patch #

Patch Set 3 : Rebase to ToT. #

Patch Set 4 : Rebase to ToT #

Total comments: 2

Patch Set 5 : Remove commented out code. #

Patch Set 6 : Split the set of thunks in two. #

Total comments: 8

Patch Set 7 : vtl nits #

Patch Set 8 : Add forgotten file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -335 lines) Patch
M mojo/gles2/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
A mojo/gles2/gles2_impl.cc View 1 2 1 chunk +82 lines, -0 lines 0 comments Download
D mojo/gles2/gles2_support_impl.h View 1 2 1 chunk +0 lines, -43 lines 0 comments Download
D mojo/gles2/gles2_support_impl.cc View 1 2 1 chunk +0 lines, -106 lines 0 comments Download
M mojo/mojo.gyp View 1 2 3 4 5 6 3 chunks +17 lines, -4 lines 0 comments Download
M mojo/mojo_examples.gypi View 1 2 3 4 5 6 8 chunks +7 lines, -7 lines 0 comments Download
M mojo/mojo_public.gypi View 1 2 3 4 5 6 1 chunk +40 lines, -0 lines 0 comments Download
M mojo/mojo_services.gypi View 1 2 3 4 5 6 2 chunks +1 line, -38 lines 0 comments Download
M mojo/public/c/gles2/gles2_export.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M mojo/public/gles2/BUILD.gn View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
D mojo/public/gles2/gles2_private.h View 1 2 1 chunk +0 lines, -43 lines 0 comments Download
D mojo/public/gles2/gles2_private.cc View 1 2 1 chunk +0 lines, -80 lines 0 comments Download
A mojo/public/platform/native/gles2_thunks.h View 1 2 3 4 5 6 1 chunk +106 lines, -0 lines 0 comments Download
A mojo/public/platform/native/gles2_thunks.cc View 1 2 3 4 5 6 1 chunk +81 lines, -0 lines 0 comments Download
M mojo/public/platform/native/system_thunks.cc View 1 2 3 4 5 6 2 chunks +2 lines, -8 lines 0 comments Download
A mojo/public/platform/native/thunk_export.h View 1 2 3 4 5 6 7 1 chunk +18 lines, -0 lines 0 comments Download
M mojo/shell/context.cc View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M mojo/shell/in_process_dynamic_service_runner.cc View 1 2 3 4 5 6 2 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Elliot Glaysher
6 years, 4 months ago (2014-07-28 21:52:22 UTC) #1
viettrungluu
https://codereview.chromium.org/413303002/diff/60001/mojo/public/platform/native/gles2_thunks.h File mojo/public/platform/native/gles2_thunks.h (right): https://codereview.chromium.org/413303002/diff/60001/mojo/public/platform/native/gles2_thunks.h#newcode37 mojo/public/platform/native/gles2_thunks.h:37: #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h" Is this resilient to changes? Is autogen ...
6 years, 4 months ago (2014-07-28 22:11:05 UTC) #2
Elliot Glaysher
https://codereview.chromium.org/413303002/diff/60001/mojo/public/platform/native/gles2_thunks.h File mojo/public/platform/native/gles2_thunks.h (right): https://codereview.chromium.org/413303002/diff/60001/mojo/public/platform/native/gles2_thunks.h#newcode37 mojo/public/platform/native/gles2_thunks.h:37: #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h" On 2014/07/28 22:11:05, viettrungluu wrote: > Is ...
6 years, 4 months ago (2014-07-28 22:21:27 UTC) #3
Elliot Glaysher
trung: so I've split the GLES2 implementation from the control functions in this update. ptal.
6 years, 4 months ago (2014-07-29 00:03:16 UTC) #4
viettrungluu
LGTM w/nits. https://codereview.chromium.org/413303002/diff/100001/mojo/public/platform/native/gles2_thunks.cc File mojo/public/platform/native/gles2_thunks.cc (right): https://codereview.chromium.org/413303002/diff/100001/mojo/public/platform/native/gles2_thunks.cc#newcode65 mojo/public/platform/native/gles2_thunks.cc:65: // Call this function by looking If ...
6 years, 4 months ago (2014-07-29 00:27:06 UTC) #5
Elliot Glaysher
The CQ bit was checked by erg@chromium.org
6 years, 4 months ago (2014-07-29 22:02:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/413303002/140001
6 years, 4 months ago (2014-07-29 22:04:27 UTC) #7
commit-bot: I haz the power
Change committed as 286365
6 years, 4 months ago (2014-07-30 00:46:29 UTC) #8
tapted
A revert of this CL has been created in https://codereview.chromium.org/425193002/ by tapted@chromium.org. The reason for ...
6 years, 4 months ago (2014-07-30 03:09:07 UTC) #9
skobes
6 years, 4 months ago (2014-07-30 03:44:05 UTC) #10
Message was sent while issue was closed.
FYI, in addition to the Mac compile failure, this also broke
mojo_view_manager_unittests on various Linux Clang bots.

http://build.chromium.org/p/chromium.linux/builders/Linux%20Clang%20%28dbg%29...

../../mojo/public/platform/native/gles2_thunks.cc:17: void
MojoGLES2Initialize(const MojoAsyncWaiter *): Assertion
`g_control_thunks.GLES2Initialize' failed.

Powered by Google App Engine
This is Rietveld 408576698