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

Issue 6682011: Build skia as a dll in windows multi-dll build. (Closed)

Created:
9 years, 9 months ago by Chris Guillory
Modified:
9 years, 7 months ago
CC:
chromium-reviews, greggman, apatrick_chromium
Visibility:
Public.

Description

Build skia as a dll in windows multi-dll build. BUG=75686 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78510

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase. Cleanup. #

Patch Set 4 : Minor Cleanup. #

Patch Set 5 : Rebase. Some Cleanup. #

Patch Set 6 : Fix lint error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -12 lines) Patch
M ppapi/ppapi_shared_proxy.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/shared_impl/image_data_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M skia/config/SkUserConfig.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M skia/ext/google_logging.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M skia/ext/image_operations.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M skia/ext/platform_canvas.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M skia/ext/platform_device_win.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M skia/ext/skia_utils_win.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M skia/ext/vector_canvas.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M skia/skia.gyp View 1 2 3 4 4 chunks +23 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Chris Guillory
9 years, 9 months ago (2011-03-15 22:17:33 UTC) #1
bsalomon
LGTM. But maybe Brett or someone who has a better understanding of the skia/platform layer ...
9 years, 9 months ago (2011-03-16 12:41:38 UTC) #2
Chris Guillory
Brett, can you take a peek? Ken, Mike mentioned that you might have some comments ...
9 years, 9 months ago (2011-03-16 19:47:49 UTC) #3
brettw
LGTM
9 years, 9 months ago (2011-03-16 20:47:59 UTC) #4
Ken Russell (switch to Gerrit)
It looks fine to me as long as it works. I think there might be ...
9 years, 9 months ago (2011-03-16 20:54:08 UTC) #5
Chris Guillory
9 years, 9 months ago (2011-03-17 02:26:13 UTC) #6
On 2011/03/16 20:54:08, kbr wrote:
> It looks fine to me as long as it works. I think there might be problems with
> linking the command buffer client code into two different DLLs (chrome.dll and
> skia.dll). My recollection is that if the thread-local variables in those DLLs
> are multiply defined in the overall executable then things break. This is why
we
> had to change the Chromium port of WebKit's compositor to use the command
buffer
> client code compiled into the renderer rather than compiling a separate copy
> into the WebKit DLL in the Windows multi-DLL build.
The only reason we need to link command buffer client code into skia.dll is
because skia gpu depends on it. However, skia gpu is not a dependency of and
project needed to build chrome (perhaps it can be in another configuration?). If
I remove skia gpu code I can build chrome with skia.dll additionally depending
on just base.
http://codereview.chromium.org/6667071/

So command buffer client problems may occur if skia gpu is used in Chrome.

Powered by Google App Engine
This is Rietveld 408576698