aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-05-27 01:20:10 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-05-27 01:20:10 +0000
commitaa5a7db64a7cb5d1d2b03dadb85e7052dd61879a (patch)
tree6dbfa87614238f36f91969ba07858d9082ff3704
parentc3a8c5fb385dca5c57f8002e5331360f21c1a61f (diff)
move shapes subclasses into effects
git-svn-id: http://skia.googlecode.com/svn/trunk@188 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--include/effects/SkGroupShape.h (renamed from src/shapes/SkGroupShape.h)0
-rw-r--r--include/effects/SkRectShape.h (renamed from src/shapes/SkRectShape.h)0
-rw-r--r--samplecode/SampleAll.cpp5
-rw-r--r--src/effects/SkGroupShape.cpp (renamed from src/shapes/SkGroupShape.cpp)0
-rw-r--r--src/effects/SkRectShape.cpp (renamed from src/shapes/SkRectShape.cpp)0
-rw-r--r--src/effects/effects_files.mk4
-rw-r--r--xcode/effects/effects.xcodeproj/project.pbxproj12
-rw-r--r--xcode/sampleapp/SampleApp.xcodeproj/project.pbxproj52
-rw-r--r--xcode/sampleapp_sdl/SDLApp.xcodeproj/project.pbxproj24
9 files changed, 77 insertions, 20 deletions
diff --git a/src/shapes/SkGroupShape.h b/include/effects/SkGroupShape.h
index 708f306abb..708f306abb 100644
--- a/src/shapes/SkGroupShape.h
+++ b/include/effects/SkGroupShape.h
diff --git a/src/shapes/SkRectShape.h b/include/effects/SkRectShape.h
index dfc07e95c7..dfc07e95c7 100644
--- a/src/shapes/SkRectShape.h
+++ b/include/effects/SkRectShape.h
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp
index 968263bef5..8719e67892 100644
--- a/samplecode/SampleAll.cpp
+++ b/samplecode/SampleAll.cpp
@@ -18,7 +18,7 @@
#include "SkPath.h"
#include "SkRegion.h"
#include "SkShader.h"
-#include "SkShaderExtras.h"
+#include "SkComposeShader.h"
#include "SkCornerPathEffect.h"
#include "SkPathMeasure.h"
#include "SkPicture.h"
@@ -718,7 +718,8 @@ SkCornerPathEffect.h:28:class SkCornerPathEffect : public SkPathEffect {
paint.setAntiAlias(true);
paint.setTextSize(SkIntToScalar(48));
- paint.setTypeface(SkTypeface::Create("sans-serif", SkTypeface::kBold));
+ paint.setTypeface(SkTypeface::CreateFromName("sans-serif",
+ SkTypeface::kBold));
SkString str("GOOGLE");
diff --git a/src/shapes/SkGroupShape.cpp b/src/effects/SkGroupShape.cpp
index 3baa3152ed..3baa3152ed 100644
--- a/src/shapes/SkGroupShape.cpp
+++ b/src/effects/SkGroupShape.cpp
diff --git a/src/shapes/SkRectShape.cpp b/src/effects/SkRectShape.cpp
index 16886d4806..16886d4806 100644
--- a/src/shapes/SkRectShape.cpp
+++ b/src/effects/SkRectShape.cpp
diff --git a/src/effects/effects_files.mk b/src/effects/effects_files.mk
index 5cee7051b3..6fa43f5ade 100644
--- a/src/effects/effects_files.mk
+++ b/src/effects/effects_files.mk
@@ -14,8 +14,10 @@ SOURCE := \
SkEmbossMask.cpp \
SkEmbossMaskFilter.cpp \
SkGradientShader.cpp \
+ SkGroupShape.cpp \
SkKernel33MaskFilter.cpp \
SkLayerDrawLooper.cpp \
SkLayerRasterizer.cpp \
SkPaintFlagsDrawFilter.cpp \
- SkPixelXorXfermode.cpp
+ SkPixelXorXfermode.cpp \
+ SkRectShape.cpp
diff --git a/xcode/effects/effects.xcodeproj/project.pbxproj b/xcode/effects/effects.xcodeproj/project.pbxproj
index 7c19d00eda..00d0a69789 100644
--- a/xcode/effects/effects.xcodeproj/project.pbxproj
+++ b/xcode/effects/effects.xcodeproj/project.pbxproj
@@ -39,6 +39,9 @@
002886D20EFAEA260083E387 /* SkNinePatch.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 002886CA0EFAEA260083E387 /* SkNinePatch.cpp */; };
002886D30EFAEA260083E387 /* SkProxyCanvas.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 002886CB0EFAEA260083E387 /* SkProxyCanvas.cpp */; };
002886D40EFAEA260083E387 /* SkUnitMappers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 002886CC0EFAEA260083E387 /* SkUnitMappers.cpp */; };
+ 2762F61D0FCCC92C002BD8B4 /* SkGroupShape.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2762F61A0FCCC92C002BD8B4 /* SkGroupShape.cpp */; };
+ 2762F61E0FCCC92C002BD8B4 /* SkNWayCanvas.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2762F61B0FCCC92C002BD8B4 /* SkNWayCanvas.cpp */; };
+ 2762F61F0FCCC92C002BD8B4 /* SkRectShape.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2762F61C0FCCC92C002BD8B4 /* SkRectShape.cpp */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -74,6 +77,9 @@
002886CA0EFAEA260083E387 /* SkNinePatch.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkNinePatch.cpp; path = ../../src/utils/SkNinePatch.cpp; sourceTree = SOURCE_ROOT; };
002886CB0EFAEA260083E387 /* SkProxyCanvas.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkProxyCanvas.cpp; path = ../../src/utils/SkProxyCanvas.cpp; sourceTree = SOURCE_ROOT; };
002886CC0EFAEA260083E387 /* SkUnitMappers.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkUnitMappers.cpp; path = ../../src/utils/SkUnitMappers.cpp; sourceTree = SOURCE_ROOT; };
+ 2762F61A0FCCC92C002BD8B4 /* SkGroupShape.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkGroupShape.cpp; path = ../../src/effects/SkGroupShape.cpp; sourceTree = SOURCE_ROOT; };
+ 2762F61B0FCCC92C002BD8B4 /* SkNWayCanvas.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkNWayCanvas.cpp; path = ../../src/effects/SkNWayCanvas.cpp; sourceTree = SOURCE_ROOT; };
+ 2762F61C0FCCC92C002BD8B4 /* SkRectShape.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkRectShape.cpp; path = ../../src/effects/SkRectShape.cpp; sourceTree = SOURCE_ROOT; };
D2AAC046055464E500DB518D /* libeffects.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libeffects.a; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
@@ -117,6 +123,9 @@
08FB7795FE84155DC02AAC07 /* effects */ = {
isa = PBXGroup;
children = (
+ 2762F61A0FCCC92C002BD8B4 /* SkGroupShape.cpp */,
+ 2762F61B0FCCC92C002BD8B4 /* SkNWayCanvas.cpp */,
+ 2762F61C0FCCC92C002BD8B4 /* SkRectShape.cpp */,
002886620EFAE7500083E387 /* Sk1DPathEffect.cpp */,
002886630EFAE7500083E387 /* Sk2DPathEffect.cpp */,
002886640EFAE7500083E387 /* SkAvoidXfermode.cpp */,
@@ -244,6 +253,9 @@
002886D20EFAEA260083E387 /* SkNinePatch.cpp in Sources */,
002886D30EFAEA260083E387 /* SkProxyCanvas.cpp in Sources */,
002886D40EFAEA260083E387 /* SkUnitMappers.cpp in Sources */,
+ 2762F61D0FCCC92C002BD8B4 /* SkGroupShape.cpp in Sources */,
+ 2762F61E0FCCC92C002BD8B4 /* SkNWayCanvas.cpp in Sources */,
+ 2762F61F0FCCC92C002BD8B4 /* SkRectShape.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
diff --git a/xcode/sampleapp/SampleApp.xcodeproj/project.pbxproj b/xcode/sampleapp/SampleApp.xcodeproj/project.pbxproj
index 9edb16d099..49152fad2f 100644
--- a/xcode/sampleapp/SampleApp.xcodeproj/project.pbxproj
+++ b/xcode/sampleapp/SampleApp.xcodeproj/project.pbxproj
@@ -28,9 +28,7 @@
00003CA40EFC235F000FF73A /* SkXMLParser_empty.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 00003CA30EFC235F000FF73A /* SkXMLParser_empty.cpp */; };
0028847B0EFAB46A0083E387 /* libcore.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 002884510EFAA35C0083E387 /* libcore.a */; };
002884BD0EFAB6A30083E387 /* libmaccore.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 002884BC0EFAB69F0083E387 /* libmaccore.a */; };
- 003145200FB99CCE00B10956 /* SkRectShape.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0031451F0FB99CCE00B10956 /* SkRectShape.cpp */; };
003145320FB9B48F00B10956 /* SampleShapes.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 003145310FB9B48F00B10956 /* SampleShapes.cpp */; };
- 003145370FB9BA4000B10956 /* SkGroupShape.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 003145360FB9BA4000B10956 /* SkGroupShape.cpp */; };
0041CDDB0F00975E00695E8C /* SampleImageDir.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0041CDDA0F00975E00695E8C /* SampleImageDir.cpp */; };
0041CDF30F009ED100695E8C /* SkImageRef.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0041CDF20F009ED100695E8C /* SkImageRef.cpp */; };
0041CDF60F009EED00695E8C /* SkImageRef_GlobalPool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0041CDF50F009EED00695E8C /* SkImageRef_GlobalPool.cpp */; };
@@ -76,6 +74,10 @@
00FF39140FC6ED2C00915187 /* SampleEffects.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 00FF39130FC6ED2C00915187 /* SampleEffects.cpp */; };
0156F80407C56A3000C6122B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0156F80307C56A3000C6122B /* Foundation.framework */; };
01FC44D507BD3BB800D228F4 /* Quartz.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 01FC44D407BD3BB800D228F4 /* Quartz.framework */; };
+ 2762F66D0FCCCABE002BD8B4 /* SkFlipPixelRef.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2762F66B0FCCCABE002BD8B4 /* SkFlipPixelRef.cpp */; };
+ 2762F66E0FCCCABE002BD8B4 /* SkPageFlipper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2762F66C0FCCCABE002BD8B4 /* SkPageFlipper.cpp */; };
+ 2762F67D0FCCCB01002BD8B4 /* SamplePageFlip.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2762F6770FCCCB01002BD8B4 /* SamplePageFlip.cpp */; };
+ 2762F6800FCCCB07002BD8B4 /* SampleAll.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2762F6740FCCCB01002BD8B4 /* SampleAll.cpp */; };
8D0C4E8D0486CD37000505A6 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0867D6AAFE840B52C02AAC07 /* InfoPlist.strings */; };
8D0C4E8E0486CD37000505A6 /* main.nib in Resources */ = {isa = PBXBuildFile; fileRef = 02345980000FD03B11CA0E72 /* main.nib */; };
8D0C4E920486CD37000505A6 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 20286C33FDCF999611CA2CEA /* Carbon.framework */; };
@@ -148,11 +150,7 @@
00003CA30EFC235F000FF73A /* SkXMLParser_empty.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkXMLParser_empty.cpp; path = ../../src/ports/SkXMLParser_empty.cpp; sourceTree = SOURCE_ROOT; };
002884490EFAA35C0083E387 /* core.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = core.xcodeproj; path = ../core/core.xcodeproj; sourceTree = SOURCE_ROOT; };
002884B40EFAB69F0083E387 /* maccore.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = maccore.xcodeproj; path = ../maccore/maccore.xcodeproj; sourceTree = SOURCE_ROOT; };
- 0031451D0FB99C9700B10956 /* SkRectShape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkRectShape.h; path = ../../src/shapes/SkRectShape.h; sourceTree = SOURCE_ROOT; };
- 0031451F0FB99CCE00B10956 /* SkRectShape.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkRectShape.cpp; path = ../../src/shapes/SkRectShape.cpp; sourceTree = SOURCE_ROOT; };
003145310FB9B48F00B10956 /* SampleShapes.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SampleShapes.cpp; path = ../../samplecode/SampleShapes.cpp; sourceTree = SOURCE_ROOT; };
- 003145340FB9B62D00B10956 /* SkGroupShape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkGroupShape.h; path = ../../src/shapes/SkGroupShape.h; sourceTree = SOURCE_ROOT; };
- 003145360FB9BA4000B10956 /* SkGroupShape.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkGroupShape.cpp; path = ../../src/shapes/SkGroupShape.cpp; sourceTree = SOURCE_ROOT; };
0041CDDA0F00975E00695E8C /* SampleImageDir.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SampleImageDir.cpp; path = ../../samplecode/SampleImageDir.cpp; sourceTree = SOURCE_ROOT; };
0041CDF20F009ED100695E8C /* SkImageRef.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkImageRef.cpp; path = ../../src/images/SkImageRef.cpp; sourceTree = SOURCE_ROOT; };
0041CDF50F009EED00695E8C /* SkImageRef_GlobalPool.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkImageRef_GlobalPool.cpp; path = ../../src/images/SkImageRef_GlobalPool.cpp; sourceTree = SOURCE_ROOT; };
@@ -204,6 +202,14 @@
0867D6ABFE840B52C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
1870340FFE93FCAF11CA0CD7 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/main.nib; sourceTree = "<group>"; };
20286C33FDCF999611CA2CEA /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
+ 2762F66B0FCCCABE002BD8B4 /* SkFlipPixelRef.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkFlipPixelRef.cpp; path = ../../src/images/SkFlipPixelRef.cpp; sourceTree = SOURCE_ROOT; };
+ 2762F66C0FCCCABE002BD8B4 /* SkPageFlipper.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkPageFlipper.cpp; path = ../../src/images/SkPageFlipper.cpp; sourceTree = SOURCE_ROOT; };
+ 2762F6740FCCCB01002BD8B4 /* SampleAll.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SampleAll.cpp; path = ../../samplecode/SampleAll.cpp; sourceTree = SOURCE_ROOT; };
+ 2762F6750FCCCB01002BD8B4 /* SampleGL.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SampleGL.cpp; path = ../../samplecode/SampleGL.cpp; sourceTree = SOURCE_ROOT; };
+ 2762F6760FCCCB01002BD8B4 /* SampleMovie.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SampleMovie.cpp; path = ../../samplecode/SampleMovie.cpp; sourceTree = SOURCE_ROOT; };
+ 2762F6770FCCCB01002BD8B4 /* SamplePageFlip.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SamplePageFlip.cpp; path = ../../samplecode/SamplePageFlip.cpp; sourceTree = SOURCE_ROOT; };
+ 2762F6780FCCCB01002BD8B4 /* SamplePolyToPoly.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SamplePolyToPoly.cpp; path = ../../samplecode/SamplePolyToPoly.cpp; sourceTree = SOURCE_ROOT; };
+ 2762F6790FCCCB01002BD8B4 /* SampleTests.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SampleTests.cpp; path = ../../samplecode/SampleTests.cpp; sourceTree = SOURCE_ROOT; };
32DBCF6D0370B57F00C91783 /* CICarbonSample_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CICarbonSample_Prefix.pch; sourceTree = "<group>"; };
4A9504C8FFE6A3BC11CA0CBA /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = /System/Library/Frameworks/ApplicationServices.framework; sourceTree = "<absolute>"; };
4A9504CAFFE6A41611CA0CBA /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = "<absolute>"; };
@@ -231,6 +237,12 @@
00003C610EFC2287000FF73A /* samples */ = {
isa = PBXGroup;
children = (
+ 2762F6740FCCCB01002BD8B4 /* SampleAll.cpp */,
+ 2762F6750FCCCB01002BD8B4 /* SampleGL.cpp */,
+ 2762F6760FCCCB01002BD8B4 /* SampleMovie.cpp */,
+ 2762F6770FCCCB01002BD8B4 /* SamplePageFlip.cpp */,
+ 2762F6780FCCCB01002BD8B4 /* SamplePolyToPoly.cpp */,
+ 2762F6790FCCCB01002BD8B4 /* SampleTests.cpp */,
00FF39130FC6ED2C00915187 /* SampleEffects.cpp */,
007A7CA40F01658C00A2D6EE /* SamplePicture.cpp */,
00D6B5CB0F72DC4300C466B9 /* SampleFuzz.cpp */,
@@ -337,12 +349,10 @@
20286C29FDCF999611CA2CEA /* CICarbonSample */ = {
isa = PBXGroup;
children = (
- 0041CDF90F009F0700695E8C /* SkImageRefPool.cpp */,
- 0041CDF50F009EED00695E8C /* SkImageRef_GlobalPool.cpp */,
- 0041CDF20F009ED100695E8C /* SkImageRef.cpp */,
+ 2762F66A0FCCCAA2002BD8B4 /* images */,
+ 00003CA30EFC235F000FF73A /* SkXMLParser_empty.cpp */,
00003C6A0EFC22AD000FF73A /* views */,
00003C610EFC2287000FF73A /* samples */,
- 00003CA30EFC235F000FF73A /* SkXMLParser_empty.cpp */,
20286C2AFDCF999611CA2CEA /* Sources */,
20286C2CFDCF999611CA2CEA /* Resources */,
20286C32FDCF999611CA2CEA /* External Frameworks and Libraries */,
@@ -351,10 +361,6 @@
002884B40EFAB69F0083E387 /* maccore.xcodeproj */,
00003C8C0EFC230E000FF73A /* effects.xcodeproj */,
0053528A0F8C4DFF00EE34B6 /* SkFontHost_tables.cpp */,
- 0031451D0FB99C9700B10956 /* SkRectShape.h */,
- 0031451F0FB99CCE00B10956 /* SkRectShape.cpp */,
- 003145360FB9BA4000B10956 /* SkGroupShape.cpp */,
- 003145340FB9B62D00B10956 /* SkGroupShape.h */,
);
name = CICarbonSample;
sourceTree = "<group>";
@@ -389,6 +395,18 @@
name = "External Frameworks and Libraries";
sourceTree = "<group>";
};
+ 2762F66A0FCCCAA2002BD8B4 /* images */ = {
+ isa = PBXGroup;
+ children = (
+ 2762F66B0FCCCABE002BD8B4 /* SkFlipPixelRef.cpp */,
+ 2762F66C0FCCCABE002BD8B4 /* SkPageFlipper.cpp */,
+ 0041CDF90F009F0700695E8C /* SkImageRefPool.cpp */,
+ 0041CDF50F009EED00695E8C /* SkImageRef_GlobalPool.cpp */,
+ 0041CDF20F009ED100695E8C /* SkImageRef.cpp */,
+ );
+ name = images;
+ sourceTree = "<group>";
+ };
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@@ -545,10 +563,12 @@
00C55DA10F8552DC000CAC09 /* SampleGradients.cpp in Sources */,
009490320FB0A5B90063C792 /* SampleLayerMask.cpp in Sources */,
007A7CB60F01658C00A2D6EE /* SampleRegion.cpp in Sources */,
- 003145200FB99CCE00B10956 /* SkRectShape.cpp in Sources */,
003145320FB9B48F00B10956 /* SampleShapes.cpp in Sources */,
- 003145370FB9BA4000B10956 /* SkGroupShape.cpp in Sources */,
00FF39140FC6ED2C00915187 /* SampleEffects.cpp in Sources */,
+ 2762F66D0FCCCABE002BD8B4 /* SkFlipPixelRef.cpp in Sources */,
+ 2762F66E0FCCCABE002BD8B4 /* SkPageFlipper.cpp in Sources */,
+ 2762F67D0FCCCB01002BD8B4 /* SamplePageFlip.cpp in Sources */,
+ 2762F6800FCCCB07002BD8B4 /* SampleAll.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
diff --git a/xcode/sampleapp_sdl/SDLApp.xcodeproj/project.pbxproj b/xcode/sampleapp_sdl/SDLApp.xcodeproj/project.pbxproj
index 654ff2b576..f2177dae41 100644
--- a/xcode/sampleapp_sdl/SDLApp.xcodeproj/project.pbxproj
+++ b/xcode/sampleapp_sdl/SDLApp.xcodeproj/project.pbxproj
@@ -76,6 +76,11 @@
006DC7EA0FC7475D00BF5F45 /* libeffects.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 006DC7D90FC7475400BF5F45 /* libeffects.a */; };
006DC7EB0FC7475E00BF5F45 /* libmaccore.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 006DC7E10FC7475700BF5F45 /* libmaccore.a */; };
006DC7EC0FC7475F00BF5F45 /* libcore.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 006DC7E90FC7475900BF5F45 /* libcore.a */; };
+ 2762F6040FCCC832002BD8B4 /* SampleShapes.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0064EE190FC72BEE00D71FB0 /* SampleShapes.cpp */; };
+ 2762F6350FCCCA00002BD8B4 /* SamplePageFlip.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0064EE0F0FC72BEE00D71FB0 /* SamplePageFlip.cpp */; };
+ 2762F6420FCCCA6C002BD8B4 /* SkFlipPixelRef.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2762F6400FCCCA6C002BD8B4 /* SkFlipPixelRef.cpp */; };
+ 2762F6430FCCCA6C002BD8B4 /* SkPageFlipper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2762F6410FCCCA6C002BD8B4 /* SkPageFlipper.cpp */; };
+ 2762F6C20FCCCBC0002BD8B4 /* SampleAll.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0064EDF00FC72BEE00D71FB0 /* SampleAll.cpp */; };
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
/* End PBXBuildFile section */
@@ -200,6 +205,8 @@
0096585B0FC7201800C3AE15 /* maccore.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = maccore.xcodeproj; path = ../maccore/maccore.xcodeproj; sourceTree = SOURCE_ROOT; };
089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
+ 2762F6400FCCCA6C002BD8B4 /* SkFlipPixelRef.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkFlipPixelRef.cpp; path = ../../src/images/SkFlipPixelRef.cpp; sourceTree = SOURCE_ROOT; };
+ 2762F6410FCCCA6C002BD8B4 /* SkPageFlipper.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkPageFlipper.cpp; path = ../../src/images/SkPageFlipper.cpp; sourceTree = SOURCE_ROOT; };
29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
@@ -362,12 +369,22 @@
name = Products;
sourceTree = "<group>";
};
- 29B97314FDCFA39411CA2CEA /* «PROJECTNAMEASXML» */ = {
+ 2762F63F0FCCCA45002BD8B4 /* images */ = {
isa = PBXGroup;
children = (
+ 2762F6400FCCCA6C002BD8B4 /* SkFlipPixelRef.cpp */,
+ 2762F6410FCCCA6C002BD8B4 /* SkPageFlipper.cpp */,
0064EE930FC7318500D71FB0 /* SkImageRefPool.cpp */,
0064EE940FC7318500D71FB0 /* SkImageRef_GlobalPool.cpp */,
0064EE950FC7318500D71FB0 /* SkImageRef.cpp */,
+ );
+ name = images;
+ sourceTree = "<group>";
+ };
+ 29B97314FDCFA39411CA2CEA /* «PROJECTNAMEASXML» */ = {
+ isa = PBXGroup;
+ children = (
+ 2762F63F0FCCCA45002BD8B4 /* images */,
0064EEB20FC7333300D71FB0 /* SkXMLParser_empty.cpp */,
0064EEB60FC7336100D71FB0 /* views */,
0064EE5E0FC72C9600D71FB0 /* effects.xcodeproj */,
@@ -568,6 +585,11 @@
0064EED10FC7336100D71FB0 /* SkViewPriv.cpp in Sources */,
0064EED20FC7336100D71FB0 /* SkWindow.cpp in Sources */,
0064EFA60FC7467C00D71FB0 /* skia_sdl_main.cpp in Sources */,
+ 2762F6040FCCC832002BD8B4 /* SampleShapes.cpp in Sources */,
+ 2762F6350FCCCA00002BD8B4 /* SamplePageFlip.cpp in Sources */,
+ 2762F6420FCCCA6C002BD8B4 /* SkFlipPixelRef.cpp in Sources */,
+ 2762F6430FCCCA6C002BD8B4 /* SkPageFlipper.cpp in Sources */,
+ 2762F6C20FCCCBC0002BD8B4 /* SampleAll.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};