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

Issue 12217099: Implement the Platform::sharedOffscreenGraphicsContext3D method. (Closed)

Created:
7 years, 10 months ago by danakj
Modified:
7 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Implement the Platform::sharedOffscreenGraphicsContext3D method. This method is being added to the Platform API for WebKit, and when it is added, DumpRenderTree will use it for its shared main thread context. R=jamesr,piman BUG=177768 TBR=darin Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185357

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : Supply GrContext too #

Patch Set 4 : Updated to new PlatformAPI signature #

Patch Set 5 : TestContextProviderFactory #

Patch Set 6 : Drop was_created #

Total comments: 2

Patch Set 7 : Rebase and explicit #

Patch Set 8 : #

Patch Set 9 : gypiiiiiii #

Patch Set 10 : copy-and-assign #

Patch Set 11 : webkit_gpu.gyp #

Patch Set 12 : #

Patch Set 13 : useragent #

Patch Set 14 : nodestroy #

Patch Set 15 : no factory member vars #

Unified diffs Side-by-side diffs Delta from patch set Stats (+402 lines, -161 lines) Patch
M cc/cc_tests.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/compositor.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M webkit/compositor_bindings/compositor_bindings.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -5 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +10 lines, -69 lines 0 comments Download
A + webkit/gpu/context_provider_in_process.h View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -20 lines 0 comments Download
A webkit/gpu/context_provider_in_process.cc View 1 2 3 4 5 6 7 1 chunk +146 lines, -0 lines 0 comments Download
M webkit/gpu/grcontext_for_webgraphicscontext3d.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
A webkit/gpu/test_context_provider_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +46 lines, -0 lines 0 comments Download
A webkit/gpu/test_context_provider_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +72 lines, -0 lines 0 comments Download
A webkit/gpu/webkit_gpu.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +70 lines, -0 lines 0 comments Download
M webkit/gpu/webkit_gpu.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -60 lines 0 comments Download
M webkit/support/test_webkit_platform_support.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +8 lines, -0 lines 0 comments Download
M webkit/support/test_webkit_platform_support.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +20 lines, -0 lines 0 comments Download
M webkit/support/webkit_support.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M webkit/support/webkit_support.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M webkit/support/webkit_support.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M webkit/tools/test_shell/test_shell.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 36 (0 generated)
danakj
This is a followup to https://codereview.chromium.org/12212007/ that will allow the WebKit::Platform API change cleanly.
7 years, 10 months ago (2013-02-09 06:00:19 UTC) #1
danakj
7 years, 10 months ago (2013-02-09 06:00:36 UTC) #2
jamesr
lgtm
7 years, 10 months ago (2013-02-09 06:01:34 UTC) #3
piman
https://codereview.chromium.org/12217099/diff/1/webkit/support/test_webkit_platform_support.cc File webkit/support/test_webkit_platform_support.cc (right): https://codereview.chromium.org/12217099/diff/1/webkit/support/test_webkit_platform_support.cc#newcode444 webkit/support/test_webkit_platform_support.cc:444: static WebKit::WebGraphicsContext3D* context = NULL; /Cry. Can't we make ...
7 years, 10 months ago (2013-02-11 18:19:46 UTC) #4
danakj
https://codereview.chromium.org/12217099/diff/1/webkit/support/test_webkit_platform_support.cc File webkit/support/test_webkit_platform_support.cc (right): https://codereview.chromium.org/12217099/diff/1/webkit/support/test_webkit_platform_support.cc#newcode444 webkit/support/test_webkit_platform_support.cc:444: static WebKit::WebGraphicsContext3D* context = NULL; On 2013/02/11 18:19:46, piman ...
7 years, 10 months ago (2013-02-11 18:22:06 UTC) #5
danakj
https://codereview.chromium.org/12217099/diff/1/webkit/support/test_webkit_platform_support.cc File webkit/support/test_webkit_platform_support.cc (right): https://codereview.chromium.org/12217099/diff/1/webkit/support/test_webkit_platform_support.cc#newcode444 webkit/support/test_webkit_platform_support.cc:444: static WebKit::WebGraphicsContext3D* context = NULL; On 2013/02/11 18:22:06, danakj ...
7 years, 10 months ago (2013-02-11 18:33:56 UTC) #6
piman
lgtm
7 years, 10 months ago (2013-02-11 18:46:06 UTC) #7
danakj
I've added the methods to get the shared GrContext* from the embedder.
7 years, 10 months ago (2013-02-13 06:20:01 UTC) #8
danakj
I've added the methods to get the shared GrContext* from the embedder.
7 years, 10 months ago (2013-02-13 06:20:02 UTC) #9
jamesr
still lgtm
7 years, 10 months ago (2013-02-13 06:30:19 UTC) #10
danakj
I've updated this patch to not require WebSharedGraphicsContext3D for the WLTVImplForTesting. Now both WLTVIForTesting and ...
7 years, 10 months ago (2013-02-25 21:04:19 UTC) #11
danakj
Dropped the was_created here also.
7 years, 10 months ago (2013-02-26 16:27:03 UTC) #12
danakj
Jamesr: Could you verify that you're okay with the webkit/gpu/test_context_provider_factory.h idea here and how I've ...
7 years, 10 months ago (2013-02-26 17:49:11 UTC) #13
jamesr
On 2013/02/26 17:49:11, danakj wrote: > Jamesr: Could you verify that you're okay with the ...
7 years, 10 months ago (2013-02-26 19:05:58 UTC) #14
danakj
Hooray, thank you
7 years, 10 months ago (2013-02-26 19:08:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/12217099/18011
7 years, 10 months ago (2013-02-26 19:09:24 UTC) #16
commit-bot: I haz the power
Failed to apply patch for webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 10 months ago (2013-02-26 19:09:27 UTC) #17
jamesr
https://codereview.chromium.org/12217099/diff/18011/webkit/gpu/context_provider_in_process.cc File webkit/gpu/context_provider_in_process.cc (right): https://codereview.chromium.org/12217099/diff/18011/webkit/gpu/context_provider_in_process.cc#newcode34 webkit/gpu/context_provider_in_process.cc:34: MemoryAllocationCallbackProxy(ContextProviderInProcess* provider) explicit
7 years, 10 months ago (2013-02-26 19:18:11 UTC) #18
danakj
https://codereview.chromium.org/12217099/diff/18011/webkit/gpu/context_provider_in_process.cc File webkit/gpu/context_provider_in_process.cc (right): https://codereview.chromium.org/12217099/diff/18011/webkit/gpu/context_provider_in_process.cc#newcode34 webkit/gpu/context_provider_in_process.cc:34: MemoryAllocationCallbackProxy(ContextProviderInProcess* provider) On 2013/02/26 19:18:11, jamesr wrote: > explicit ...
7 years, 10 months ago (2013-02-26 19:23:02 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/12217099/14014
7 years, 10 months ago (2013-02-26 19:23:41 UTC) #20
danakj
I guess this needs the webkit roll for the GrContext forward declaration in Platform.h. I'll ...
7 years, 10 months ago (2013-02-26 19:35:18 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/12217099/14014
7 years, 10 months ago (2013-02-27 02:10:25 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-02-27 02:27:09 UTC) #23
danakj
I solved the mac crisis by moving webkit_gpu into its own .gyp file. The cycle ...
7 years, 9 months ago (2013-02-28 05:28:10 UTC) #24
piman
On 2013/02/28 05:28:10, danakj wrote: > I solved the mac crisis by moving webkit_gpu into ...
7 years, 9 months ago (2013-02-28 05:48:41 UTC) #25
jamesr
The gyp stuff lgtm but I don't understand what you are trying to achieve with ...
7 years, 9 months ago (2013-02-28 19:30:09 UTC) #26
danakj
On 2013/02/28 19:30:09, jamesr wrote: > The gyp stuff lgtm but I don't understand what ...
7 years, 9 months ago (2013-02-28 19:31:33 UTC) #27
jamesr
On 2013/02/28 19:31:33, danakj wrote: > On 2013/02/28 19:30:09, jamesr wrote: > > The gyp ...
7 years, 9 months ago (2013-02-28 20:04:49 UTC) #28
danakj
On 2013/02/28 20:04:49, jamesr wrote: > On 2013/02/28 19:31:33, danakj wrote: > > On 2013/02/28 ...
7 years, 9 months ago (2013-02-28 20:06:58 UTC) #29
jamesr
> Would you prefer to just init don't cleanup on shutdown? Yes
7 years, 9 months ago (2013-02-28 20:08:10 UTC) #30
danakj
On 2013/02/28 20:08:10, jamesr wrote: > > Would you prefer to just init don't cleanup ...
7 years, 9 months ago (2013-02-28 20:11:50 UTC) #31
danakj
On Thu, Feb 28, 2013 at 3:11 PM, <danakj@chromium.org> wrote: > On 2013/02/28 20:08:10, jamesr ...
7 years, 9 months ago (2013-02-28 20:16:02 UTC) #32
jamesr
lgtm2 !
7 years, 9 months ago (2013-02-28 20:20:54 UTC) #33
danakj
+darin TBRing darin for the chrome/chrome_renderer.gypi change to use webkit_gpu.gyp insead of webkit_support.gyp:webkit_gpu.
7 years, 9 months ago (2013-02-28 20:22:33 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/12217099/41070
7 years, 9 months ago (2013-02-28 20:28:06 UTC) #35
danakj
7 years, 9 months ago (2013-02-28 23:08:24 UTC) #36
Message was sent while issue was closed.
Committed patchset #15 manually as r185357 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698