aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-02-18 20:20:51 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-02-18 20:20:51 +0000
commit11a5ff376be94d15daf5bc66cdf857f5f2f297af (patch)
treec43a8920083e0d491a06d9e6515c0b1738592941
parent4868e6b221a4a98e40f977851af5fcf09631ea15 (diff)
use new high-quality blur in samples
git-svn-id: http://skia.googlecode.com/svn/trunk@819 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--gm/blurs.cpp2
-rw-r--r--samplecode/SampleBlur.cpp2
-rw-r--r--xcode/gpu/gpu.xcodeproj/project.pbxproj4
3 files changed, 6 insertions, 2 deletions
diff --git a/gm/blurs.cpp b/gm/blurs.cpp
index 8250d76fce..26fdc7995e 100644
--- a/gm/blurs.cpp
+++ b/gm/blurs.cpp
@@ -74,7 +74,7 @@ protected:
canvas->drawText("Hamburgefons Style", 18, x, y, paint);
}
canvas->restore();
-// flags = SkBlurMaskFilter::kHighQuality_BlurFlag;
+ flags = SkBlurMaskFilter::kHighQuality_BlurFlag;
canvas->translate(350, 0);
}
}
diff --git a/samplecode/SampleBlur.cpp b/samplecode/SampleBlur.cpp
index 6487121ba9..8fbcc71852 100644
--- a/samplecode/SampleBlur.cpp
+++ b/samplecode/SampleBlur.cpp
@@ -115,7 +115,7 @@ protected:
canvas->drawText("Hamburgefons Style", 18, x, y, paint);
}
canvas->restore();
-// flags = SkBlurMaskFilter::kHighQuality_BlurFlag;
+ flags = SkBlurMaskFilter::kHighQuality_BlurFlag;
canvas->translate(350, 0);
}
}
diff --git a/xcode/gpu/gpu.xcodeproj/project.pbxproj b/xcode/gpu/gpu.xcodeproj/project.pbxproj
index 96128bcb65..55a65f1a00 100644
--- a/xcode/gpu/gpu.xcodeproj/project.pbxproj
+++ b/xcode/gpu/gpu.xcodeproj/project.pbxproj
@@ -87,6 +87,7 @@
00115EA812C116CA008296FE /* GrTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 00115E6C12C116CA008296FE /* GrTypes.h */; };
00115EA912C116CA008296FE /* GrUserConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = 00115E6D12C116CA008296FE /* GrUserConfig.h */; };
00115EAA12C116CA008296FE /* GrVertexBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 00115E6E12C116CA008296FE /* GrVertexBuffer.h */; };
+ 00216E5E130F0B03009A2160 /* GrGLIRect.h in Headers */ = {isa = PBXBuildFile; fileRef = 00216E5D130F0B03009A2160 /* GrGLIRect.h */; };
D539049B12EA01E30025F3D6 /* GrContext_impl.h in Headers */ = {isa = PBXBuildFile; fileRef = D539049A12EA01E30025F3D6 /* GrContext_impl.h */; };
D53904A112EA026E0025F3D6 /* GrPaint.h in Headers */ = {isa = PBXBuildFile; fileRef = D53904A012EA026E0025F3D6 /* GrPaint.h */; };
D58CAF9A12E7212100CB9277 /* GrGLUtil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D58CAF9812E7212100CB9277 /* GrGLUtil.cpp */; };
@@ -176,6 +177,7 @@
00115E6C12C116CA008296FE /* GrTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GrTypes.h; path = ../../gpu/include/GrTypes.h; sourceTree = SOURCE_ROOT; };
00115E6D12C116CA008296FE /* GrUserConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GrUserConfig.h; path = ../../gpu/include/GrUserConfig.h; sourceTree = SOURCE_ROOT; };
00115E6E12C116CA008296FE /* GrVertexBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GrVertexBuffer.h; path = ../../gpu/include/GrVertexBuffer.h; sourceTree = SOURCE_ROOT; };
+ 00216E5D130F0B03009A2160 /* GrGLIRect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GrGLIRect.h; path = ../../gpu/include/GrGLIRect.h; sourceTree = SOURCE_ROOT; };
D2AAC046055464E500DB518D /* libgpu.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libgpu.a; sourceTree = BUILT_PRODUCTS_DIR; };
D539049A12EA01E30025F3D6 /* GrContext_impl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GrContext_impl.h; path = ../../gpu/include/GrContext_impl.h; sourceTree = SOURCE_ROOT; };
D53904A012EA026E0025F3D6 /* GrPaint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GrPaint.h; path = ../../gpu/include/GrPaint.h; sourceTree = SOURCE_ROOT; };
@@ -199,6 +201,7 @@
00115E3712C116B7008296FE /* include */ = {
isa = PBXGroup;
children = (
+ 00216E5D130F0B03009A2160 /* GrGLIRect.h */,
00115E3912C116CA008296FE /* GrAllocator.h */,
00115E3A12C116CA008296FE /* GrAllocPool.h */,
00115E3B12C116CA008296FE /* GrAPI.h */,
@@ -390,6 +393,7 @@
D53904A112EA026E0025F3D6 /* GrPaint.h in Headers */,
D5FAF20C130726C6001550A4 /* GrGeometryBuffer.h in Headers */,
D5FAF22413072C27001550A4 /* GrBufferAllocPool.h in Headers */,
+ 00216E5E130F0B03009A2160 /* GrGLIRect.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};