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

Issue 7782038: Prepare WebGL contexts for resource sharing with the compositor context. (Closed)

Created:
9 years, 3 months ago by Jeff Timanus
Modified:
9 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, darin-cc_chromium.org, dpranke+watch-content_chromium.org, apatrick_chromium, Zhenyao Mo
Visibility:
Public.

Description

Add an additional feature to GLES2DecoderImpl that is used to force the context to obey WebGL feature semantics. The 'force_webgl_glsl_validation' flag is used to override the FeatureInfo parameters of the context group. This change enables all extensions for WebGL contexts, in preparation for allowing resource sharing with the compositor. BUG=96605 TEST=https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/webgl-conformance-tests.html Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103724

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : Fix silly type-o. #

Total comments: 10

Patch Set 5 : Address comments & simplify. #

Patch Set 6 : Correct error comments. #

Patch Set 7 : Correct construction order. #

Patch Set 8 : '' #

Total comments: 1

Patch Set 9 : Modify the semantics of the '*' FeatureInfo extension request string. #

Patch Set 10 : '' #

Patch Set 11 : Enable derivatives in DRT. #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : Add an additional feature to GLES2DecoderImpl that is used to force the context to obey WebGL fea... #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -29 lines) Patch
M content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +7 lines, -10 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 10 chunks +63 lines, -9 lines 1 comment Download
M webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +5 lines, -10 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
Jeff Timanus
Please take a look. Not much to see. I'm concerned that this approach will incorrectly ...
9 years, 3 months ago (2011-09-07 20:45:20 UTC) #1
apatrick_chromium
+kbr, will this break our WebGL semantics?
9 years, 3 months ago (2011-09-07 20:48:03 UTC) #2
Ken Russell (switch to Gerrit)
Yes, this will break WebGL conformance. Hopefully https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/state/gl-enum-tests.html would catch the failure. I've replied to ...
9 years, 3 months ago (2011-09-08 03:22:17 UTC) #3
Jeff Timanus
On 2011/09/08 03:22:17, kbr wrote: > Yes, this will break WebGL conformance. Hopefully > https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/state/gl-enum-tests.html ...
9 years, 3 months ago (2011-09-08 18:21:20 UTC) #4
Ken Russell (switch to Gerrit)
On 2011/09/08 18:21:20, Jeff Timanus wrote: > On 2011/09/08 03:22:17, kbr wrote: > > Yes, ...
9 years, 3 months ago (2011-09-08 18:38:31 UTC) #5
Jeff Timanus
On 2011/09/08 18:38:31, kbr wrote: > On 2011/09/08 18:21:20, Jeff Timanus wrote: > > On ...
9 years, 3 months ago (2011-09-15 20:44:05 UTC) #6
Ken Russell (switch to Gerrit)
http://codereview.chromium.org/7782038/diff/14001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): http://codereview.chromium.org/7782038/diff/14001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode1753 gpu/command_buffer/service/gles2_cmd_decoder.cc:1753: if (0 == strcmp(allowed_extensions, "*")) { Shouldn't this comparison ...
9 years, 3 months ago (2011-09-15 23:57:27 UTC) #7
Jeff Timanus
http://codereview.chromium.org/7782038/diff/14001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): http://codereview.chromium.org/7782038/diff/14001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode1753 gpu/command_buffer/service/gles2_cmd_decoder.cc:1753: if (0 == strcmp(allowed_extensions, "*")) { On 2011/09/15 23:57:27, ...
9 years, 3 months ago (2011-09-16 15:00:17 UTC) #8
apatrick_chromium
I have reservations about this. Is there a bug assigned to fix this at the ...
9 years, 3 months ago (2011-09-16 18:03:33 UTC) #9
Jeff Timanus
On 2011/09/16 18:03:33, apatrick_chromium wrote: > I have reservations about this. Is there a bug ...
9 years, 3 months ago (2011-09-16 18:31:24 UTC) #10
Jeff Timanus
I'm looking into the failures reported by the try bots on patch #4. A point ...
9 years, 3 months ago (2011-09-16 21:25:00 UTC) #11
apatrick_chromium
I think having feature_info_ point to local_feature_info_ might be right (for some approximation of right!) ...
9 years, 3 months ago (2011-09-16 21:39:20 UTC) #12
Jeff Timanus
http://codereview.chromium.org/7782038/diff/18001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): http://codereview.chromium.org/7782038/diff/18001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode1754 gpu/command_buffer/service/gles2_cmd_decoder.cc:1754: local_feature_info_.reset(new FeatureInfo()); On 2011/09/16 21:39:20, apatrick_chromium wrote: > On ...
9 years, 3 months ago (2011-09-16 22:01:51 UTC) #13
apatrick_chromium
I did some digging. If you look at TextureManager::SetLevelInfo, it's keeping track of how many ...
9 years, 3 months ago (2011-09-16 22:12:14 UTC) #14
Jeff Timanus
On 2011/09/16 22:12:14, apatrick_chromium wrote: > I did some digging. If you look at TextureManager::SetLevelInfo, ...
9 years, 3 months ago (2011-09-20 17:58:06 UTC) #15
greggman
I'm frustrated by this CL. I feel like my POV has been completely ignored. The ...
9 years, 3 months ago (2011-09-20 18:06:40 UTC) #16
Jeff Timanus
On 2011/09/20 18:06:40, greggman wrote: > I'm frustrated by this CL. I feel like my ...
9 years, 3 months ago (2011-09-20 19:15:59 UTC) #17
Ken Russell (switch to Gerrit)
On 2011/09/20 19:15:59, Jeff Timanus wrote: > On 2011/09/20 18:06:40, greggman wrote: > > I'm ...
9 years, 3 months ago (2011-09-20 20:31:32 UTC) #18
Jeff Timanus
On 2011/09/20 19:15:59, Jeff Timanus wrote: > He strongly proposed the following: > #1 Change ...
9 years, 3 months ago (2011-09-21 15:20:35 UTC) #19
Jeff Timanus
On 2011/09/21 15:20:35, Jeff Timanus wrote: > On 2011/09/20 19:15:59, Jeff Timanus wrote: > > ...
9 years, 3 months ago (2011-09-21 21:14:31 UTC) #20
Ken Russell (switch to Gerrit)
On 2011/09/21 21:14:31, Jeff Timanus wrote: > These failures are a result of my change. ...
9 years, 3 months ago (2011-09-21 21:31:00 UTC) #21
Jeff Timanus
On 2011/09/21 21:31:00, kbr wrote: > On 2011/09/21 21:14:31, Jeff Timanus wrote: > > These ...
9 years, 3 months ago (2011-09-22 19:56:31 UTC) #22
greggman
Sorry to be so picky but this doesn't really solve the issue and in fact ...
9 years, 3 months ago (2011-09-22 20:19:38 UTC) #23
Jeff Timanus
On 2011/09/22 20:19:38, greggman wrote: > Sorry to be so picky but this doesn't really ...
9 years, 3 months ago (2011-09-22 20:45:23 UTC) #24
Jeff Timanus
On 2011/09/22 20:45:23, Jeff Timanus wrote: > On 2011/09/22 20:19:38, greggman wrote: > > Sorry ...
9 years, 2 months ago (2011-09-27 01:49:23 UTC) #25
Jeff Timanus
If possible, could a reviewer please comment on the feasibility of this change? Thanks, Jeff ...
9 years, 2 months ago (2011-09-29 21:45:06 UTC) #26
Ken Russell (switch to Gerrit)
These changes look good to me; they seem pretty minimal. Are any WebKit changes needed, ...
9 years, 2 months ago (2011-09-29 21:58:12 UTC) #27
greggman
http://codereview.chromium.org/7782038/diff/50001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): http://codereview.chromium.org/7782038/diff/50001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5506 gpu/command_buffer/service/gles2_cmd_decoder.cc:5506: // not been enabled. Is this necessary? It seems ...
9 years, 2 months ago (2011-09-29 22:15:06 UTC) #28
Ken Russell (switch to Gerrit)
On 2011/09/29 22:15:06, greggman wrote: > http://codereview.chromium.org/7782038/diff/50001/gpu/command_buffer/service/gles2_cmd_decoder.cc > File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): > > http://codereview.chromium.org/7782038/diff/50001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5506 > ...
9 years, 2 months ago (2011-09-29 22:22:45 UTC) #29
greggman
On 2011/09/29 22:22:45, kbr wrote: > On 2011/09/29 22:15:06, greggman wrote: > > > http://codereview.chromium.org/7782038/diff/50001/gpu/command_buffer/service/gles2_cmd_decoder.cc ...
9 years, 2 months ago (2011-09-29 22:31:05 UTC) #30
Jeff Timanus
On 2011/09/29 21:58:12, kbr wrote: > These changes look good to me; they seem pretty ...
9 years, 2 months ago (2011-09-29 22:38:27 UTC) #31
Ken Russell (switch to Gerrit)
On 2011/09/29 22:31:05, greggman wrote: > On 2011/09/29 22:22:45, kbr wrote: > > On 2011/09/29 ...
9 years, 2 months ago (2011-09-29 22:42:04 UTC) #32
Ken Russell (switch to Gerrit)
On 2011/09/29 22:38:27, Jeff Timanus wrote: > On 2011/09/29 21:58:12, kbr wrote: > > These ...
9 years, 2 months ago (2011-09-29 22:42:23 UTC) #33
greggman
On 2011/09/29 22:42:04, kbr wrote: > On 2011/09/29 22:31:05, greggman wrote: > > On 2011/09/29 ...
9 years, 2 months ago (2011-09-29 22:58:05 UTC) #34
Jeff Timanus
On 2011/09/29 22:31:05, greggman wrote: > On 2011/09/29 22:22:45, kbr wrote: > > On 2011/09/29 ...
9 years, 2 months ago (2011-09-29 23:00:25 UTC) #35
greggman
On 2011/09/29 23:00:25, Jeff Timanus wrote: > On 2011/09/29 22:31:05, greggman wrote: > > On ...
9 years, 2 months ago (2011-09-29 23:22:51 UTC) #36
Ken Russell (switch to Gerrit)
On 2011/09/29 23:22:51, greggman wrote: > On 2011/09/29 23:00:25, Jeff Timanus wrote: > > On ...
9 years, 2 months ago (2011-09-29 23:43:05 UTC) #37
commit-bot: I haz the power
CQ is trying the patch. Follow status at https://chromium-status.appspot.com/cq/twiz@chromium.org/7782038/50001
9 years, 2 months ago (2011-10-03 15:23:28 UTC) #38
commit-bot: I haz the power
9 years, 2 months ago (2011-10-03 16:31:07 UTC) #39
Change committed as 103724

Powered by Google App Engine
This is Rietveld 408576698