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

Issue 2670213005: Hook ANGLE_request_extension up to the passthrough cmd decoder. (Closed)

Created:
3 years, 10 months ago by Geoff Lang
Modified:
3 years, 9 months ago
Reviewers:
Zhenyao Mo, jbauman
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hook ANGLE_request_extension up to the passthrough cmd decoder. Have each decoder own its own FeatureInfo so it can be updated as extensions are enabled. BUG=682745 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2670213005 Cr-Commit-Position: refs/heads/master@{#457571} Committed: https://chromium.googlesource.com/chromium/src/+/c7fc0726ec8cd4985cd6e416e50712b4aff1c8c7

Patch Set 1 #

Patch Set 2 #

Patch Set 3 #

Patch Set 4 #

Patch Set 5 #

Patch Set 6 : Fix extension check. #

Total comments: 4

Patch Set 7 : Address zmo's comments. #

Total comments: 2

Patch Set 8 : Remove checks from WebGLDrawBuffers::satisfiesWebGLRequirements #

Patch Set 9 : Rebase #

Patch Set 10 : Fix compile #

Patch Set 11 : Update expectations for Linux. #

Patch Set 12 : Update expectations. #

Total comments: 2

Patch Set 13 : Address zmo@'s comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -15 lines) Patch
M content/test/gpu/gpu_tests/webgl_conformance_expectations.py View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +10 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/context_group.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_group.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/feature_info.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc View 1 2 3 4 5 6 7 8 9 2 chunks +15 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +15 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M ui/gl/generate_bindings.py View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_bindings.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_bindings_api_autogen_gl.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_bindings_autogen_gl.h View 5 chunks +6 lines, -0 lines 0 comments Download
M ui/gl/gl_bindings_autogen_gl.cc View 7 chunks +31 lines, -0 lines 0 comments Download
M ui/gl/gl_bindings_autogen_mock.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_bindings_autogen_mock.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M ui/gl/gl_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M ui/gl/gl_context.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M ui/gl/gl_mock_autogen_gl.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_stub_autogen_gl.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 62 (49 generated)
Geoff Lang
PTAL
3 years, 10 months ago (2017-02-06 22:19:06 UTC) #18
Zhenyao Mo
Mostly look good with a few questions. https://codereview.chromium.org/2670213005/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc File gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc (right): https://codereview.chromium.org/2670213005/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc#newcode173 gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc:173: // be ...
3 years, 10 months ago (2017-02-06 22:31:38 UTC) #19
Geoff Lang
https://codereview.chromium.org/2670213005/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc File gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc (right): https://codereview.chromium.org/2670213005/diff/100001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc#newcode173 gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc:173: // be enabled dynamically On 2017/02/06 22:31:38, Zhenyao Mo ...
3 years, 10 months ago (2017-02-07 19:01:16 UTC) #21
Geoff Lang
ping
3 years, 10 months ago (2017-02-15 21:43:31 UTC) #25
Zhenyao Mo
Sorry it slipped out of my radar. https://codereview.chromium.org/2670213005/diff/120001/third_party/WebKit/Source/modules/webgl/WebGLDrawBuffers.cpp File third_party/WebKit/Source/modules/webgl/WebGLDrawBuffers.cpp (right): https://codereview.chromium.org/2670213005/diff/120001/third_party/WebKit/Source/modules/webgl/WebGLDrawBuffers.cpp#newcode105 third_party/WebKit/Source/modules/webgl/WebGLDrawBuffers.cpp:105: if (extensionsUtil->isExtensionRequestable("GL_EXT_draw_buffers")) ...
3 years, 10 months ago (2017-02-15 23:24:20 UTC) #26
Geoff Lang
https://codereview.chromium.org/2670213005/diff/120001/third_party/WebKit/Source/modules/webgl/WebGLDrawBuffers.cpp File third_party/WebKit/Source/modules/webgl/WebGLDrawBuffers.cpp (right): https://codereview.chromium.org/2670213005/diff/120001/third_party/WebKit/Source/modules/webgl/WebGLDrawBuffers.cpp#newcode105 third_party/WebKit/Source/modules/webgl/WebGLDrawBuffers.cpp:105: if (extensionsUtil->isExtensionRequestable("GL_EXT_draw_buffers")) { On 2017/02/15 23:24:20, Zhenyao Mo wrote: ...
3 years, 10 months ago (2017-02-16 15:38:45 UTC) #29
Zhenyao Mo
On 2017/02/16 15:38:45, Geoff Lang wrote: > https://codereview.chromium.org/2670213005/diff/120001/third_party/WebKit/Source/modules/webgl/WebGLDrawBuffers.cpp > File third_party/WebKit/Source/modules/webgl/WebGLDrawBuffers.cpp (right): > > https://codereview.chromium.org/2670213005/diff/120001/third_party/WebKit/Source/modules/webgl/WebGLDrawBuffers.cpp#newcode105 ...
3 years, 10 months ago (2017-02-16 21:51:11 UTC) #32
Zhenyao Mo
LGTM with one perf concern (could be future improvement, so feel free to land as ...
3 years, 9 months ago (2017-03-09 18:03:18 UTC) #54
Geoff Lang
https://codereview.chromium.org/2670213005/diff/220001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc File gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc (right): https://codereview.chromium.org/2670213005/diff/220001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc#newcode2613 gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc:2613: context_->ReinitializeDynamicBindings(); On 2017/03/09 18:03:18, Zhenyao Mo wrote: > This ...
3 years, 9 months ago (2017-03-16 14:59:46 UTC) #55
Zhenyao Mo
On 2017/03/16 14:59:46, Geoff Lang wrote: > https://codereview.chromium.org/2670213005/diff/220001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc > File gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc (right): > > https://codereview.chromium.org/2670213005/diff/220001/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc#newcode2613 ...
3 years, 9 months ago (2017-03-16 16:04:06 UTC) #56
jbauman
lgtm
3 years, 9 months ago (2017-03-16 19:35:02 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2670213005/240001
3 years, 9 months ago (2017-03-16 19:45:15 UTC) #59
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 21:49:10 UTC) #62
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/c7fc0726ec8cd4985cd6e416e507...

Powered by Google App Engine
This is Rietveld 408576698