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

Issue 451753003: Mojo multiple command buffer support and sample (Closed)

Created:
6 years, 4 months ago by jamesr
Modified:
6 years, 4 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, ben+mojo_chromium.org, Ben Goodger (Google), sky, piman
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : separate gpu service to make contexts #

Patch Set 4 : fix windows, gn errors #

Patch Set 5 : #

Patch Set 6 : GN and GL_GLEXT_PROTOTYPES build fixes #

Patch Set 7 : use bit_cast+static_cast for uint64_t -> gfx::AcceleratedWidget cast #

Patch Set 8 : #

Patch Set 9 : more bit_cast for linux32 #

Patch Set 10 : better casts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+628 lines, -184 lines) Patch
M mojo/examples/compositor_app/compositor_app.cc View 1 2 3 chunks +12 lines, -10 lines 0 comments Download
M mojo/examples/pepper_container_app/pepper_container_app.cc View 1 2 3 4 5 6 6 chunks +14 lines, -4 lines 0 comments Download
M mojo/examples/sample_app/sample_app.cc View 1 2 3 4 5 6 4 chunks +15 lines, -10 lines 0 comments Download
M mojo/examples/surfaces_app/DEPS View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A + mojo/examples/surfaces_app/child_gl_app.cc View 1 2 2 chunks +16 lines, -7 lines 0 comments Download
A + mojo/examples/surfaces_app/child_gl_impl.h View 3 chunks +21 lines, -20 lines 0 comments Download
A mojo/examples/surfaces_app/child_gl_impl.cc View 1 2 3 4 5 1 chunk +182 lines, -0 lines 0 comments Download
M mojo/examples/surfaces_app/embedder.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/examples/surfaces_app/embedder.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/examples/surfaces_app/surfaces_app.cc View 1 2 8 chunks +49 lines, -24 lines 0 comments Download
M mojo/gles2/command_buffer_client_impl.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M mojo/gles2/gles2_impl.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M mojo/mojo.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M mojo/mojo_examples.gypi View 1 2 3 4 5 6 7 8 5 chunks +37 lines, -0 lines 0 comments Download
M mojo/mojo_services.gypi View 1 2 3 4 5 6 7 8 4 chunks +23 lines, -1 line 0 comments Download
M mojo/services/gles2/command_buffer_impl.h View 1 2 3 4 3 chunks +13 lines, -1 line 0 comments Download
M mojo/services/gles2/command_buffer_impl.cc View 1 2 3 4 4 chunks +35 lines, -12 lines 0 comments Download
M mojo/services/native_viewport/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/services/native_viewport/DEPS View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A mojo/services/native_viewport/gpu_impl.h View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download
A mojo/services/native_viewport/gpu_impl.cc View 1 2 3 4 5 6 1 chunk +43 lines, -0 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_impl.h View 1 2 3 4 3 chunks +0 lines, -7 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_impl.cc View 1 2 3 4 5 6 7 8 9 5 chunks +4 lines, -34 lines 0 comments Download
A + mojo/services/public/interfaces/gpu/BUILD.gn View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
A mojo/services/public/interfaces/gpu/gpu.mojom View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M mojo/services/public/interfaces/native_viewport/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/public/interfaces/native_viewport/native_viewport.mojom View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M mojo/services/surfaces/surfaces_impl.cc View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M mojo/services/view_manager/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/view_manager/root_view_manager.cc View 1 2 3 4 2 chunks +12 lines, -7 lines 0 comments Download
M mojo/services/view_manager/window_tree_host_impl.h View 1 2 3 4 4 chunks +11 lines, -8 lines 0 comments Download
M mojo/services/view_manager/window_tree_host_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +25 lines, -20 lines 0 comments Download
M mojo/shell/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M mojo/shell/context.cc View 1 2 3 4 6 chunks +19 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
jamesr
This depends on several patches that haven't landed yet. This adds support for creating an ...
6 years, 4 months ago (2014-08-12 21:49:36 UTC) #1
darin (slow to review)
https://codereview.chromium.org/451753003/diff/20001/mojo/services/public/interfaces/native_viewport/native_viewport.mojom File mojo/services/public/interfaces/native_viewport/native_viewport.mojom (right): https://codereview.chromium.org/451753003/diff/20001/mojo/services/public/interfaces/native_viewport/native_viewport.mojom#newcode19 mojo/services/public/interfaces/native_viewport/native_viewport.mojom:19: CreateOffscreenGLES2Context(CommandBuffer& gles2_client); Is it necessary for this to be ...
6 years, 4 months ago (2014-08-13 04:44:25 UTC) #2
darin (slow to review)
6 years, 4 months ago (2014-08-13 04:44:26 UTC) #3
jamesr
On 2014/08/13 04:44:25, darin wrote: > https://codereview.chromium.org/451753003/diff/20001/mojo/services/public/interfaces/native_viewport/native_viewport.mojom > File mojo/services/public/interfaces/native_viewport/native_viewport.mojom > (right): > > https://codereview.chromium.org/451753003/diff/20001/mojo/services/public/interfaces/native_viewport/native_viewport.mojom#newcode19 ...
6 years, 4 months ago (2014-08-13 04:49:49 UTC) #4
darin (slow to review)
On 2014/08/13 04:49:49, jamesr wrote: > On 2014/08/13 04:44:25, darin wrote: > > > https://codereview.chromium.org/451753003/diff/20001/mojo/services/public/interfaces/native_viewport/native_viewport.mojom ...
6 years, 4 months ago (2014-08-13 05:02:26 UTC) #5
piman
https://codereview.chromium.org/451753003/diff/20001/mojo/examples/surfaces_app/child_gl_impl.cc File mojo/examples/surfaces_app/child_gl_impl.cc (right): https://codereview.chromium.org/451753003/diff/20001/mojo/examples/surfaces_app/child_gl_impl.cc#newcode127 mojo/examples/surfaces_app/child_gl_impl.cc:127: glFinish(); // Fake sync point. I think we should ...
6 years, 4 months ago (2014-08-13 05:35:22 UTC) #6
jamesr
This makes a gpu service. The interface is provided by mojo:mojo_native_viewport_service since I haven't figured ...
6 years, 4 months ago (2014-08-13 23:37:50 UTC) #7
piman
lgtm
6 years, 4 months ago (2014-08-15 03:10:23 UTC) #8
jamesr
The CQ bit was checked by jamesr@chromium.org
6 years, 4 months ago (2014-08-15 23:41:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/451753003/100001
6 years, 4 months ago (2014-08-15 23:43:44 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-16 02:52:51 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-16 02:57:18 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/4794)
6 years, 4 months ago (2014-08-16 02:57:19 UTC) #13
jamesr
The CQ bit was checked by jamesr@chromium.org
6 years, 4 months ago (2014-08-16 18:37:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/451753003/100001
6 years, 4 months ago (2014-08-16 18:37:56 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (100001) as 290157
6 years, 4 months ago (2014-08-16 20:45:50 UTC) #16
tdanderson
A revert of this CL (patchset #6) has been created in https://codereview.chromium.org/480723002/ by tdanderson@chromium.org. The ...
6 years, 4 months ago (2014-08-16 22:24:52 UTC) #17
tdanderson
A revert of this CL (patchset #6) has been created in https://codereview.chromium.org/478103002/ by tdanderson@chromium.org. The ...
6 years, 4 months ago (2014-08-16 22:25:02 UTC) #18
jamesr
The CQ bit was checked by jamesr@chromium.org
6 years, 4 months ago (2014-08-18 21:38:09 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/451753003/120001
6 years, 4 months ago (2014-08-18 21:38:55 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-18 23:17:18 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (120001) as 290431
6 years, 4 months ago (2014-08-19 00:45:36 UTC) #22
ojan
On 2014/08/19 at 00:45:36, commit-bot wrote: > Committed patchset #7 (120001) as 290431 Was this ...
6 years, 4 months ago (2014-08-19 21:08:10 UTC) #23
jamesr
On 2014/08/19 21:08:10, ojan-only-code-yellow-reviews wrote: > On 2014/08/19 at 00:45:36, commit-bot wrote: > > Committed ...
6 years, 4 months ago (2014-08-19 21:10:22 UTC) #24
jamesr
patch set 10 passes all the default trybots and the linux_rel_precise32 bot, so trying again.
6 years, 4 months ago (2014-08-20 16:28:43 UTC) #25
jamesr
The CQ bit was checked by jamesr@chromium.org
6 years, 4 months ago (2014-08-20 16:28:50 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/451753003/180001
6 years, 4 months ago (2014-08-20 16:30:30 UTC) #27
commit-bot: I haz the power
6 years, 4 months ago (2014-08-20 17:42:12 UTC) #28
Message was sent while issue was closed.
Committed patchset #10 (180001) as 290859

Powered by Google App Engine
This is Rietveld 408576698