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 14318004: Add option to use GLContextVirtual in WGC3DIPCBI (Closed)

Created:
7 years, 8 months ago by boliu
Modified:
7 years, 8 months ago
Reviewers:
jamesr, no sievers, piman
CC:
chromium-reviews, darin-cc_chromium.org, apatrick_chromium
Visibility:
Public.

Description

Add option to use GLContextVirtual in WGC3DIPCBI BUG=230195 win_x64_rel busted. All other bots passed NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195398

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Add param #

Patch Set 4 : Fix logic, remove ui/gl change (into separate patch) #

Total comments: 2

Patch Set 5 : Address Daniel's comments #

Patch Set 6 : Also remove comment #

Total comments: 2

Patch Set 7 : LOG(INFO) -> VLOG(1) #

Patch Set 8 : Fix after r195276 which uses CreateViewContext #

Total comments: 2

Patch Set 9 : Add to offscren constructor as well and fix callsites #

Patch Set 10 : Use static enable function instead... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -4 lines) Patch
M webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc View 1 2 3 4 5 6 7 8 9 4 chunks +39 lines, -4 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
boliu
Another change to WGC3DIPCBI for webview. PTAL I made a mistake in patch set 3 ...
7 years, 8 months ago (2013-04-19 16:05:26 UTC) #1
no sievers
Cool, this will help with some of the state persistency problems across draw calls. lgtm. ...
7 years, 8 months ago (2013-04-19 18:38:40 UTC) #2
no sievers
https://codereview.chromium.org/14318004/diff/4004/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc File webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (right): https://codereview.chromium.org/14318004/diff/4004/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc#newcode501 webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc:501: if (context_->Initialize(surface_, gpu_preference)) { Oh, and you could fall ...
7 years, 8 months ago (2013-04-19 18:39:45 UTC) #3
boliu
Addressed both comments. Also renamed vars to use_virtualized_gl_context_if_possible to indicate that there is a fallback.
7 years, 8 months ago (2013-04-19 19:08:05 UTC) #4
jamesr
lgtm https://codereview.chromium.org/14318004/diff/15001/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc File webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (right): https://codereview.chromium.org/14318004/diff/15001/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc#newcode500 webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc:500: LOG(INFO) << "Created virtual GL context."; I think ...
7 years, 8 months ago (2013-04-19 19:50:49 UTC) #5
boliu
https://codereview.chromium.org/14318004/diff/15001/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc File webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (right): https://codereview.chromium.org/14318004/diff/15001/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc#newcode500 webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc:500: LOG(INFO) << "Created virtual GL context."; On 2013/04/19 19:50:49, ...
7 years, 8 months ago (2013-04-19 19:58:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/14318004/16001
7 years, 8 months ago (2013-04-19 19:58:51 UTC) #7
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=119852
7 years, 8 months ago (2013-04-19 20:58:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/14318004/16001
7 years, 8 months ago (2013-04-19 21:51:17 UTC) #9
boliu
+piman for change in ui/compositor to fix compile
7 years, 8 months ago (2013-04-19 22:45:08 UTC) #10
piman
https://codereview.chromium.org/14318004/diff/24002/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc File webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (right): https://codereview.chromium.org/14318004/diff/24002/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc#newcode630 webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc:630: attributes, true, gfx::kNullAcceleratedWidget, false); Why false here?
7 years, 8 months ago (2013-04-19 22:51:00 UTC) #11
boliu
https://codereview.chromium.org/14318004/diff/24002/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc File webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (right): https://codereview.chromium.org/14318004/diff/24002/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc#newcode630 webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc:630: attributes, true, gfx::kNullAcceleratedWidget, false); On 2013/04/19 22:51:00, piman wrote: ...
7 years, 8 months ago (2013-04-19 22:53:22 UTC) #12
piman
On 2013/04/19 22:53:22, boliu wrote: > https://codereview.chromium.org/14318004/diff/24002/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc > File webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (right): > > https://codereview.chromium.org/14318004/diff/24002/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc#newcode630 > ...
7 years, 8 months ago (2013-04-19 22:55:22 UTC) #13
boliu
On 2013/04/19 22:55:22, piman wrote: > But why not expose the option, and let the ...
7 years, 8 months ago (2013-04-19 22:59:17 UTC) #14
piman
On Fri, Apr 19, 2013 at 3:59 PM, <boliu@chromium.org> wrote: > On 2013/04/19 22:55:22, piman ...
7 years, 8 months ago (2013-04-19 23:03:32 UTC) #15
boliu
Done. James, you are owner of all the other callsites, might want to look this ...
7 years, 8 months ago (2013-04-19 23:19:29 UTC) #16
jamesr
Hmmmmm, on further thought I think this needs more work. Contexts in the same share ...
7 years, 8 months ago (2013-04-19 23:27:50 UTC) #17
no sievers
On 2013/04/19 23:27:50, jamesr wrote: > Hmmmmm, on further thought I think this needs more ...
7 years, 8 months ago (2013-04-20 00:07:16 UTC) #18
boliu
Use a static EnableVirtualizedContext method instead to set a global static bool. All thread safety ...
7 years, 8 months ago (2013-04-20 00:18:59 UTC) #19
piman
LGTM. Why do we need this if not for Android WebView then?
7 years, 8 months ago (2013-04-20 00:24:16 UTC) #20
no sievers
On 2013/04/20 00:24:16, piman wrote: > LGTM. Why do we need this if not for ...
7 years, 8 months ago (2013-04-20 00:29:12 UTC) #21
boliu
On 2013/04/20 00:24:16, piman wrote: > LGTM. Why do we need this if not for ...
7 years, 8 months ago (2013-04-20 00:29:46 UTC) #22
no sievers
On 2013/04/20 00:29:46, boliu wrote: > On 2013/04/20 00:24:16, piman wrote: > > LGTM. Why ...
7 years, 8 months ago (2013-04-20 00:31:42 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/14318004/31001
7 years, 8 months ago (2013-04-20 00:46:22 UTC) #24
jamesr
What about offscreen compositor thread contexts? Do you want those to be normal cmd buffer ...
7 years, 8 months ago (2013-04-20 01:11:25 UTC) #25
boliu
On 2013/04/20 01:11:25, jamesr wrote: > What about offscreen compositor thread contexts? Do you want ...
7 years, 8 months ago (2013-04-20 01:21:18 UTC) #26
jamesr
It's used for applying filters in the compositor thread.
7 years, 8 months ago (2013-04-20 01:24:55 UTC) #27
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-20 02:23:14 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/14318004/31001
7 years, 8 months ago (2013-04-20 17:38:59 UTC) #29
commit-bot: I haz the power
7 years, 8 months ago (2013-04-20 17:39:12 UTC) #30
Message was sent while issue was closed.
Change committed as 195398

Powered by Google App Engine
This is Rietveld 408576698