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

Issue 12915008: Revert 189820 "Lazy initialize WGC3DInProcessCommandBufferImpl". Causing checkfailures. (Closed)

Created:
7 years, 9 months ago by Peter Kasting
Modified:
7 years, 9 months ago
Reviewers:
boliu
CC:
chromium-reviews
Visibility:
Public.

Description

Revert 189820 "Lazy initialize WGC3DInProcessCommandBufferImpl". Causing checkfailures. > Lazy initialize WGC3DInProcessCommandBufferImpl > > WGC3DInProcessCommandBufferImpl will be used in Android WebView synchronous > draw artchitecture, where directl GL calls can be made only inside the android > GL draw functor. > > This patch moves the Intialize logic of WGC3DInProcessCommandBufferImpl to > makeContextCurrent, so the initilization GL calls are delayed until inside > the GL draw functor. This also allows WGC3DInProcessCommandBufferImpl to be > created on one thread and be used on a different thread where it is made > current. This is a requirement for using it in threaded compositor. > > Also some clean ups: > Remove the parent view context param. NULL is passed in everywhere. > Make the attribute param const ref. > Folded Initialize into constructor. > > BUG=179436 > > Review URL: https://codereview.chromium.org/12908004 TBR=boliu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189975

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -47 lines) Patch
M trunk/src/cc/test/layer_tree_pixel_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M trunk/src/cc/test/pixel_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M trunk/src/webkit/gpu/context_provider_in_process.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M trunk/src/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h View 2 chunks +4 lines, -7 lines 0 comments Download
M trunk/src/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc View 14 chunks +59 lines, -33 lines 0 comments Download
M trunk/src/webkit/support/test_webkit_platform_support.cc View 1 chunk +5 lines, -1 line 0 comments Download
M trunk/src/webkit/support/webkit_support.h View 1 chunk +4 lines, -0 lines 0 comments Download
M trunk/src/webkit/support/webkit_support.cc View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Peter Kasting
7 years, 9 months ago (2013-03-23 03:02:58 UTC) #1
Peter Kasting
Committed patchset #1 manually as r189975.
7 years, 9 months ago (2013-03-23 03:03:13 UTC) #2
boliu
7 years, 9 months ago (2013-03-25 16:19:40 UTC) #3
Message was sent while issue was closed.
My bad for not running through the debug layout trybots. Sorry.

Powered by Google App Engine
This is Rietveld 408576698