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

Issue 1325433003: command_buffer: Add support for creating non-WebGL ES 3 contexts (Closed)

Created:
5 years, 3 months ago by Kimmo Kinnunen
Modified:
5 years, 3 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

command_buffer: Add support for creating non-WebGL ES 3 contexts Add support for creating non-WebGL ES 3 contexts. Replaces "web gl version" in context creation attributes with "context type". Adds an example use-case, a GL test that uses ES 3.0 context. Makes it possible to use ES 3.0 functions exposed by command buffer. Previously the ES 3.0 functions were removed by the linker. Needed, because up-coming features might have ES 3.0 related code, and that code needs to be tested. EXT_blend_func_extended is an example of such a feature. BUG=506765 Committed: https://crrev.com/631033e40be24ce9c4eecf227f4295ae8c015d0e Cr-Commit-Position: refs/heads/master@{#350319}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : gn #

Total comments: 12

Patch Set 4 : address review comments #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : rebase without the dependency #

Patch Set 8 : #

Total comments: 1

Patch Set 9 : rebase #

Patch Set 10 : add rebase related hunk #

Patch Set 11 : missing hunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -151 lines) Patch
M blimp/client/compositor/blimp_context_provider.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -9 lines 0 comments Download
M gpu/BUILD.gn View 1 2 3 4 5 6 8 1 chunk +1 line, -0 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_c_lib.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.h View 1 2 3 4 5 6 8 2 chunks +8 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.cc View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/context_group.h View 1 2 3 2 chunks +1 line, -9 lines 0 comments Download
M gpu/command_buffer/service/context_group.cc View 1 2 3 4 5 6 2 chunks +5 lines, -26 lines 0 comments Download
M gpu/command_buffer/service/context_group_unittest.cc View 1 2 3 2 chunks +12 lines, -15 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.h View 1 2 3 3 chunks +3 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager_unittest.cc View 1 2 3 4 chunks +4 lines, -8 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 7 8 6 chunks +27 lines, -18 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 2 3 4 5 6 7 8 3 chunks +19 lines, -26 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -4 lines 0 comments Download
A gpu/command_buffer/tests/es3_misc_functions_unittest.cc View 1 2 3 4 1 chunk +83 lines, -0 lines 0 comments Download
M gpu/command_buffer/tests/gl_manager.h View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/tests/gl_manager.cc View 1 2 3 4 5 6 7 8 4 chunks +9 lines, -11 lines 0 comments Download
M gpu/command_buffer/tests/gl_program_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 40 (17 generated)
Kimmo Kinnunen
5 years, 3 months ago (2015-08-28 08:12:23 UTC) #2
Zhenyao Mo
Thanks for upgrading to ES3 Context support. Mostly looks good with a few minor suggestions. ...
5 years, 3 months ago (2015-08-28 17:16:25 UTC) #5
Mark Kilgard
lgtm
5 years, 3 months ago (2015-08-28 21:33:16 UTC) #7
Kimmo Kinnunen
https://chromiumcodereview.appspot.com/1325433003/diff/40001/gpu/blink/webgraphicscontext3d_impl.cc File gpu/blink/webgraphicscontext3d_impl.cc (right): https://chromiumcodereview.appspot.com/1325433003/diff/40001/gpu/blink/webgraphicscontext3d_impl.cc#newcode1248 gpu/blink/webgraphicscontext3d_impl.cc:1248: default: On 2015/08/28 17:16:24, Zhenyao Mo wrote: > nit: ...
5 years, 3 months ago (2015-08-31 12:23:13 UTC) #8
Zhenyao Mo
LGTM
5 years, 3 months ago (2015-08-31 17:51:01 UTC) #9
Kimmo Kinnunen
sievers@, piman@: would it be possible to get a review on the .gyp, .gn and ...
5 years, 3 months ago (2015-09-01 18:00:52 UTC) #11
piman
lgtm
5 years, 3 months ago (2015-09-01 18:05:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1325433003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1325433003/120001
5 years, 3 months ago (2015-09-04 06:39:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1325433003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1325433003/120001
5 years, 3 months ago (2015-09-04 10:20:31 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/99535) linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 3 months ago (2015-09-04 10:42:36 UTC) #20
Kimmo Kinnunen
zmo@ would thist be ok with this change https://codereview.chromium.org/1325433003/diff/140001/gpu/blink/webgraphicscontext3d_impl.cc File gpu/blink/webgraphicscontext3d_impl.cc (right): https://codereview.chromium.org/1325433003/diff/140001/gpu/blink/webgraphicscontext3d_impl.cc#newcode1255 gpu/blink/webgraphicscontext3d_impl.cc:1255: case ...
5 years, 3 months ago (2015-09-05 10:10:46 UTC) #21
Zhenyao Mo
On 2015/09/05 10:10:46, Kimmo Kinnunen wrote: > zmo@ would thist be ok with this change ...
5 years, 3 months ago (2015-09-07 21:21:29 UTC) #22
Kimmo Kinnunen
On 2015/09/07 21:21:29, Zhenyao Mo wrote: > On 2015/09/05 10:10:46, Kimmo Kinnunen wrote: > > ...
5 years, 3 months ago (2015-09-21 07:37:09 UTC) #23
Zhenyao Mo
I see. LGTM then.
5 years, 3 months ago (2015-09-21 17:02:28 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1325433003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1325433003/160001
5 years, 3 months ago (2015-09-22 05:51:56 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/135350)
5 years, 3 months ago (2015-09-22 06:12:14 UTC) #29
Kimmo Kinnunen
dtrainor@: could you look at the blimp_context_provider.cc change?
5 years, 3 months ago (2015-09-22 06:27:58 UTC) #31
Kimmo Kinnunen
sky@: could you look at components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc? Thanks!
5 years, 3 months ago (2015-09-22 08:20:31 UTC) #33
David Trainor- moved to gerrit
blimp_context_provider lgtm thanks!
5 years, 3 months ago (2015-09-22 14:56:13 UTC) #34
sky
LGTM
5 years, 3 months ago (2015-09-22 16:42:17 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1325433003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1325433003/200001
5 years, 3 months ago (2015-09-23 05:30:18 UTC) #38
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 3 months ago (2015-09-23 06:39:11 UTC) #39
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 06:39:56 UTC) #40
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/631033e40be24ce9c4eecf227f4295ae8c015d0e
Cr-Commit-Position: refs/heads/master@{#350319}

Powered by Google App Engine
This is Rietveld 408576698