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

Issue 993253003: Modify build_gles2_cmd_buffer.py to generate a class that implements gpu::GLES2Interace and for eac… (Closed)

Created:
5 years, 9 months ago by alhaad
Modified:
5 years, 9 months ago
Reviewers:
jamesr, DaveMoore, piman
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, piman+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modify build_gles2_cmd_buffer.py to generate a class that implements gpu::GLES2Interace and for each entry point either defers to Mojo C thunk if we expose an entry point or check fails. The code in its current form makes use of MojoGLES2GetGLES2Interface if html_viewer makes use but we do not have a Mojo C thunk. I'll be adding Mojo C thunks for other functions used by html_viewer and eventually remove MojoGLES2GetGLES2Interface. R=jamesr@chromium.org,davemoore@chromium.org BUG=453591 Committed: https://crrev.com/24be20ca55237c93ea874d435ea19fc9a42ebb69 Cr-Commit-Position: refs/heads/master@{#321886}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : added OWNERS #

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5281 lines, -2823 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 5 4 chunks +114 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 3 1 chunk +601 lines, -606 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 1 2 3 1 chunk +2214 lines, -2214 lines 0 comments Download
M mojo/cc/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M mojo/cc/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M mojo/cc/context_provider_mojo.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/cc/context_provider_mojo.cc View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
A mojo/gpu/BUILD.gn View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A mojo/gpu/DEPS View 1 1 chunk +4 lines, -0 lines 0 comments Download
A + mojo/gpu/OWNERS View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A mojo/gpu/mojo_gles2_impl_autogen.h View 1 1 chunk +754 lines, -0 lines 0 comments Download
A mojo/gpu/mojo_gles2_impl_autogen.cc View 1 2 3 1 chunk +1570 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
alhaad
5 years, 9 months ago (2015-03-19 00:47:19 UTC) #1
jamesr
https://codereview.chromium.org/993253003/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/993253003/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode4059 gpu/command_buffer/build_gles2_cmd_buffer.py:4059: "InsertSyncPointCHROMIUM"] we have mojo C thunks for InsertSyncPointCHROMIUM: https://github.com/domokit/mojo/blob/master/mojo/public/c/gles2/gles2_call_visitor_chromium_sync_point_autogen.h ...
5 years, 9 months ago (2015-03-19 18:22:50 UTC) #2
alhaad
Thanks for the review. PTAL. I think I'll need OWNERS approval as well. Who would ...
5 years, 9 months ago (2015-03-19 23:14:59 UTC) #3
jamesr
+piman for gpu/ owners
5 years, 9 months ago (2015-03-19 23:18:51 UTC) #5
piman
On 2015/03/19 23:18:51, jamesr wrote: > +piman for gpu/ owners Can you add gpu/command_buffer OWNERS ...
5 years, 9 months ago (2015-03-20 01:16:56 UTC) #6
chromium-reviews
Thanks piman! @jamesr: I need your approval as well for mojo/cc/* On Thu, Mar 19, ...
5 years, 9 months ago (2015-03-20 20:41:03 UTC) #7
jamesr
https://codereview.chromium.org/993253003/diff/60001/mojo/cc/context_provider_mojo.h File mojo/cc/context_provider_mojo.h (right): https://codereview.chromium.org/993253003/diff/60001/mojo/cc/context_provider_mojo.h#newcode53 mojo/cc/context_provider_mojo.h:53: std::unique_ptr<gpu::gles2::GLES2Interface> context_gl_; sorry, you can't use std::unique_ptr<> as we ...
5 years, 9 months ago (2015-03-23 18:03:14 UTC) #8
alhaad
Thanks. PTAL. https://codereview.chromium.org/993253003/diff/60001/mojo/cc/context_provider_mojo.h File mojo/cc/context_provider_mojo.h (right): https://codereview.chromium.org/993253003/diff/60001/mojo/cc/context_provider_mojo.h#newcode53 mojo/cc/context_provider_mojo.h:53: std::unique_ptr<gpu::gles2::GLES2Interface> context_gl_; On 2015/03/23 18:03:14, jamesr wrote: ...
5 years, 9 months ago (2015-03-23 18:15:55 UTC) #9
jamesr
On 2015/03/23 18:15:55, alhaad wrote: > Thanks. PTAL. > > https://codereview.chromium.org/993253003/diff/60001/mojo/cc/context_provider_mojo.h > File mojo/cc/context_provider_mojo.h (right): ...
5 years, 9 months ago (2015-03-23 18:26:57 UTC) #10
jamesr
lgtm https://codereview.chromium.org/993253003/diff/80001/mojo/cc/context_provider_mojo.cc File mojo/cc/context_provider_mojo.cc (right): https://codereview.chromium.org/993253003/diff/80001/mojo/cc/context_provider_mojo.cc#newcode16 mojo/cc/context_provider_mojo.cc:16: context_gl_(nullptr), you don't need this - the default ...
5 years, 9 months ago (2015-03-23 19:33:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/993253003/80001
5 years, 9 months ago (2015-03-23 19:58:46 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/51392)
5 years, 9 months ago (2015-03-23 20:06:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/993253003/100001
5 years, 9 months ago (2015-03-23 21:31:07 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-03-23 22:58:11 UTC) #20
commit-bot: I haz the power
5 years, 9 months ago (2015-03-23 22:59:06 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/24be20ca55237c93ea874d435ea19fc9a42ebb69
Cr-Commit-Position: refs/heads/master@{#321886}

Powered by Google App Engine
This is Rietveld 408576698