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

Issue 619723008: Switch to use ANGLE's new APIs to query shader variables. (Closed)

Created:
6 years, 2 months ago by Zhenyao Mo
Modified:
6 years, 2 months ago
CC:
chromium-reviews, Jamie Madill, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Switch to use ANGLE's new APIs to query shader variables. This is necessary for link time validation. The old APIs do not provide struct name, field order, etc. BUG=401311 TEST=gpu_unittests,webgl_conformance R=bajones@chromium.org,kbr@chromium.org Committed: https://crrev.com/88043c08c14810aa176e690b2e86f88c67728569 Cr-Commit-Position: refs/heads/master@{#298970}

Patch Set 1 : #

Total comments: 14

Patch Set 2 : #

Patch Set 3 : rebase + angle roll #

Patch Set 4 : win build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+694 lines, -578 lines) Patch
M DEPS View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/disk_cache_proto.proto View 1 2 3 1 chunk +27 lines, -10 lines 0 comments Download
M gpu/command_buffer/service/memory_program_cache.h View 1 2 4 chunks +18 lines, -18 lines 0 comments Download
M gpu/command_buffer/service/memory_program_cache.cc View 1 2 3 3 chunks +106 lines, -60 lines 0 comments Download
M gpu/command_buffer/service/memory_program_cache_unittest.cc View 4 chunks +46 lines, -47 lines 0 comments Download
M gpu/command_buffer/service/mocks.h View 1 chunk +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/program_manager.h View 1 2 chunks +12 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/program_manager.cc View 1 9 chunks +79 lines, -94 lines 0 comments Download
M gpu/command_buffer/service/program_manager_unittest.cc View 1 31 chunks +161 lines, -122 lines 0 comments Download
M gpu/command_buffer/service/shader_manager.h View 4 chunks +15 lines, -20 lines 0 comments Download
M gpu/command_buffer/service/shader_manager.cc View 1 3 chunks +22 lines, -10 lines 0 comments Download
M gpu/command_buffer/service/shader_manager_unittest.cc View 3 chunks +34 lines, -37 lines 0 comments Download
M gpu/command_buffer/service/shader_translator.h View 1 2 4 chunks +13 lines, -42 lines 0 comments Download
M gpu/command_buffer/service/shader_translator.cc View 5 chunks +35 lines, -55 lines 0 comments Download
M gpu/command_buffer/service/shader_translator_unittest.cc View 1 9 chunks +50 lines, -31 lines 0 comments Download
M gpu/command_buffer/service/test_helper.h View 1 chunk +14 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/test_helper.cc View 4 chunks +58 lines, -20 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
Zhenyao Mo
Thanks to jmadill's work in ANGLE, we are able to fix the design fault in ...
6 years, 2 months ago (2014-10-06 22:30:26 UTC) #4
Zhenyao Mo
Can't try without landing ANGLE CL and roll ANGLE, but I think this CL is ...
6 years, 2 months ago (2014-10-06 22:31:08 UTC) #5
Ken Russell (switch to Gerrit)
This is excellent work overall. A few questions. Meta-question: since there aren't any #ifdefs in ...
6 years, 2 months ago (2014-10-07 03:35:26 UTC) #8
Zhenyao Mo
I filed the ANGLE bug to track retiring of the old ANGLE APIs: https://code.google.com/p/angleproject/issues/detail?id=775 https://codereview.chromium.org/619723008/diff/80001/gpu/command_buffer/service/disk_cache_proto.proto ...
6 years, 2 months ago (2014-10-07 18:23:41 UTC) #9
Ken Russell (switch to Gerrit)
LGTM overall, and assuming this is landed along with an ANGLE roll. Excellent work. Two ...
6 years, 2 months ago (2014-10-08 04:20:12 UTC) #11
bajones
LGTM too. Good work!
6 years, 2 months ago (2014-10-08 17:45:50 UTC) #12
Zhenyao Mo
On 2014/10/08 04:20:12, Ken Russell wrote: > LGTM overall, and assuming this is landed along ...
6 years, 2 months ago (2014-10-08 17:55:11 UTC) #13
Ken Russell (switch to Gerrit)
On 2014/10/08 17:55:11, Zhenyao Mo wrote: > On 2014/10/08 04:20:12, Ken Russell wrote: > > ...
6 years, 2 months ago (2014-10-08 17:56:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/619723008/140001
6 years, 2 months ago (2014-10-09 13:54:33 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/619723008/390001
6 years, 2 months ago (2014-10-09 18:59:01 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:390001)
6 years, 2 months ago (2014-10-09 20:39:02 UTC) #19
commit-bot: I haz the power
6 years, 2 months ago (2014-10-09 20:39:46 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/88043c08c14810aa176e690b2e86f88c67728569
Cr-Commit-Position: refs/heads/master@{#298970}

Powered by Google App Engine
This is Rietveld 408576698