Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(127)

Issue 4282042: Add option to build skia as a dll.... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by Chris Guillory
Modified:
13 years, 9 months ago
Reviewers:
bsalomon, twiz1, reed1
CC:
skia-review_googlegroups.com, Steve VanDeBogart, brettw
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Add code needed to build skia as a windows dll within the chromium project. - Export/import skia APIs if SKIA_DLL is defined. - This change has no effect on skia. Committed: http://code.google.com/p/skia/source/detail?r=944

Patch Set 1 #

Patch Set 2 : Minor cleanup #

Patch Set 3 : Using SK_API only on classes and functions needed to link chrome. #

Total comments: 10

Patch Set 4 : Updated with comments from Brian. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -50 lines) Patch
M include/core/SkBitmap.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkCanvas.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkClipStack.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkColor.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M include/core/SkColorPriv.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkColorShader.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkDeque.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkDevice.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkDrawLooper.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkFlattenable.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkFloatBits.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M include/core/SkGeometry.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkMatrix.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkPaint.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkPath.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkPathEffect.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkPoint.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkPreConfig.h View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
M include/core/SkRect.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkRefCnt.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkRefDict.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkRegion.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M include/core/SkShader.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkTDArray.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkTypeface.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkTypes.h View 1 2 3 4 4 chunks +9 lines, -9 lines 0 comments Download
M include/core/SkUnPreMultiply.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkXfermode.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkBlurDrawLooper.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkCornerPathEffect.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkDashPathEffect.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkGradientShader.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBitmapProcState_filter.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23
Chris Guillory
13 years, 9 months ago (2011-03-11 07:10:47 UTC) #1
brettw
I'll let Mike approve this or not. For background, this is basically what we did ...
13 years, 9 months ago (2011-03-11 18:39:53 UTC) #2
Chris Guillory
Brett, do you know if I should put SKIA_API on overrides of virtual functions that ...
13 years, 9 months ago (2011-03-11 18:58:08 UTC) #3
brettw
On Fri, Mar 11, 2011 at 10:57 AM, Chris Guillory <ctguil@chromium.org> wrote: > Brett, do ...
13 years, 9 months ago (2011-03-11 19:02:15 UTC) #4
reed1
adding more eyes... I do not have much experience with using this for dlls. Off ...
13 years, 9 months ago (2011-03-11 19:15:41 UTC) #5
bsalomon
Would it make sense to apply dllexport / dllimport at the class level? http://msdn.microsoft.com/en-us/library/81h27t8c(v=VS.100).aspx On ...
13 years, 9 months ago (2011-03-11 19:20:18 UTC) #6
Chris Guillory
On 2011/03/11 19:15:41, reed1 wrote: > adding more eyes... > > I do not have ...
13 years, 9 months ago (2011-03-11 19:22:35 UTC) #7
reed1
Hmmm. Not sure I buy the reasoning that we should put it everywhere, in case ...
13 years, 9 months ago (2011-03-11 19:29:35 UTC) #8
Chris Guillory
On 2011/03/11 19:20:18, bsalomon wrote: > Would it make sense to apply dllexport / dllimport ...
13 years, 9 months ago (2011-03-11 19:35:27 UTC) #9
Chris Guillory
On 2011/03/11 19:29:35, reed1 wrote: > Hmmm. Not sure I buy the reasoning that we ...
13 years, 9 months ago (2011-03-11 19:39:31 UTC) #10
bsalomon
Are you sure you did class __declspec(dllexport) SkCanvas : public SkRefCnt { and not: __declspec(dllexport) ...
13 years, 9 months ago (2011-03-11 19:48:05 UTC) #11
Chris Guillory
On 2011/03/11 19:48:05, bsalomon wrote: > Are you sure you did > > class __declspec(dllexport) ...
13 years, 9 months ago (2011-03-11 20:02:27 UTC) #12
Chris Guillory
Ready for another look. On 2011/03/11 20:02:27, Chris Guillory wrote: > On 2011/03/11 19:48:05, bsalomon ...
13 years, 9 months ago (2011-03-12 05:08:19 UTC) #13
bsalomon
Overall this seems OK to me, though I'm no expert on windows dll stuff. I ...
13 years, 9 months ago (2011-03-14 12:49:53 UTC) #14
reed1
I would feel better about the changes (and our ability to maintain/test it) if we ...
13 years, 9 months ago (2011-03-14 13:09:08 UTC) #15
reed1
Do we need to add SK_API to the template classes?
13 years, 9 months ago (2011-03-14 17:38:08 UTC) #16
twiz1
On 2011/03/14 17:38:08, reed1 wrote: > Do we need to add SK_API to the template ...
13 years, 9 months ago (2011-03-14 17:55:50 UTC) #17
Chris Guillory
http://codereview.appspot.com/4282042/diff/7002/include/core/SkColorPriv.h File include/core/SkColorPriv.h (right): http://codereview.appspot.com/4282042/diff/7002/include/core/SkColorPriv.h#newcode238 include/core/SkColorPriv.h:238: uint32_t mask = 0xFF00FF; On 2011/03/14 12:49:53, bsalomon wrote: ...
13 years, 9 months ago (2011-03-14 21:11:25 UTC) #18
Chris Guillory
On 2011/03/14 13:09:08, reed1 wrote: > I would feel better about the changes (and our ...
13 years, 9 months ago (2011-03-14 21:12:04 UTC) #19
Chris Guillory
On 2011/03/14 21:12:04, Chris Guillory wrote: > On 2011/03/14 13:09:08, reed1 wrote: > > I ...
13 years, 9 months ago (2011-03-15 01:07:52 UTC) #20
reed1
We may not choose to exercise this feature anywhere (for chrome) except on Windows, but ...
13 years, 9 months ago (2011-03-15 18:50:19 UTC) #21
Chris Guillory
On 2011/03/15 18:50:19, reed1 wrote: > We may not choose to exercise this feature anywhere ...
13 years, 9 months ago (2011-03-15 20:56:51 UTC) #22
reed1
13 years, 9 months ago (2011-03-15 21:05:36 UTC) #23
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b