epoger@google.com
8d0bc52330
whitespace change to tri
...
gger Skia buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@3047 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-17 17:23:22 +00:00
bsalomon@google.com
5cc90d1322
Incorporate changes related to Tom's post-hoc comments on the convex path renderer.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3045 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-17 16:28:34 +00:00
bsalomon@google.com
90d344adc2
fix assert
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3044 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-17 16:16:49 +00:00
bsalomon@google.com
52a5dcb43b
Add GrDrawState reset
...
Review URL: http://codereview.appspot.com/5543059/
git-svn-id: http://skia.googlecode.com/svn/trunk@3043 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-17 16:01:37 +00:00
bsalomon@google.com
5e9bf82814
second try to fix assert
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3042 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-17 14:39:21 +00:00
bsalomon@google.com
5ce2796854
Change static asserts of scalar type to runtime asserts (re r3040)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3041 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-17 14:31:23 +00:00
bsalomon@google.com
69cc6ad20e
Add convex path renderer (disabled)
...
Review URL: http://codereview.appspot.com/5533061/
git-svn-id: http://skia.googlecode.com/svn/trunk@3040 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-17 14:25:10 +00:00
skyostil@google.com
0eb7576c65
Modify SkBitmap::extractSubset() to respect volatility
...
The resulting subset bitmap will always have the same volatility flag as the
source bitmap.
BUG=452
Review URL: http://codereview.appspot.com/5544052
git-svn-id: http://skia.googlecode.com/svn/trunk@3039 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-16 10:45:53 +00:00
bungeman@google.com
ff25e3e3a0
Rebaseline for 3037.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3038 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-13 16:07:11 +00:00
bungeman@google.com
2211b62327
Subpixel text 3/8 of a pixel too far to the right.
...
http://codereview.appspot.com/5502097/
git-svn-id: http://skia.googlecode.com/svn/trunk@3037 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-13 15:02:58 +00:00
skyostil@google.com
ce7adb580e
Modify SkBitmap::extractSubset() to respect opaqueness
...
The resulting subset bitmap will always have the same opaqueness flag as the
source bitmap.
BUG=439
Review URL: http://codereview.appspot.com/5534051
git-svn-id: http://skia.googlecode.com/svn/trunk@3036 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-13 14:56:51 +00:00
bsalomon@google.com
9f169a4b01
Add gyp variable to disable OSAA
...
Review URL: http://codereview.appspot.com/5539047
git-svn-id: http://skia.googlecode.com/svn/trunk@3033 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-12 20:56:52 +00:00
bsalomon@google.com
5db3b6cce4
Fix vs2010 int to scalar warnings
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3032 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-12 20:38:57 +00:00
bsalomon@google.com
150d28465d
Add code path to SW rasterize paths and upload as a mask texture
...
Review URL: http://codereview.appspot.com/5542043/
git-svn-id: http://skia.googlecode.com/svn/trunk@3031 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-12 20:19:56 +00:00
tomhudson@google.com
6a8df70f44
Create floating-point square root path for 16b mirrored radial gradients
...
(6x-16x speedup). Create specialized dy=0 path for clamped radial gradients
(25% speedup). Make 16b radial gradient proc signature similar to 32b,
passing in SkScalar instead of SkFixed and/or SkFloat.
git-svn-id: http://skia.googlecode.com/svn/trunk@3030 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-12 20:13:49 +00:00
schenney@chromium.org
510c6b186d
Adding new SkPathMeasure tests, defined out for now as they fail.
...
Review URL: http://codereview.appspot.com/5529078
git-svn-id: http://skia.googlecode.com/svn/trunk@3029 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-12 20:04:06 +00:00
senorblanco@chromium.org
e50f7361b4
Add a wide stroked line path benchmark to bench. It uses the same stroke width
...
and endcap style as the stroked curved path.
Review URL: http://codereview.appspot.com/5529069/
git-svn-id: http://skia.googlecode.com/svn/trunk@3028 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-12 19:10:35 +00:00
reed@google.com
d335d1d784
automatically inject a moveTo if we see a close followed by a line/quad/cubic
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3027 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-12 18:17:11 +00:00
tomhudson@google.com
51a283b4ad
Convert 32b radial gradient procs to take SkScalar instead of
...
SkFixed AND SkFloat.
http://codereview.appspot.com/5532083/
git-svn-id: http://skia.googlecode.com/svn/trunk@3026 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-12 16:21:43 +00:00
reed@google.com
dcbd6e358a
remove unused bool param to SkMutex constructor
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3025 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-12 15:21:16 +00:00
bsalomon@google.com
2eba795bcd
Remove supports per-vertex coverage caps bit
...
Review URL: http://codereview.appspot.com/5529071/
git-svn-id: http://skia.googlecode.com/svn/trunk@3024 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-12 13:47:37 +00:00
tomhudson@google.com
f925ba4332
Remove obsolete SK_USE_FLOAT_SQRT
...
http://codereview.appspot.com/5535053/
git-svn-id: http://skia.googlecode.com/svn/trunk@3023 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 21:54:26 +00:00
reed@google.com
0032dad616
update baseline
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3022 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 21:04:50 +00:00
reed@google.com
cabaf1daf3
reenable direction test, fix handling of degenerate segments in the non-convex case
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3021 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 21:03:05 +00:00
epoger@google.com
dc7a506018
Fix SkScalar values in ClipperTest.cpp; these were breaking one Windows buildbot
...
TBR=reed
Review URL: http://codereview.appspot.com/5535052
git-svn-id: http://skia.googlecode.com/svn/trunk@3020 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 20:43:29 +00:00
tomhudson@google.com
054ff1efa4
Fix the string we're checking for in the #if defined(), so that loops actually do get unrolled on Windows (15% perf win claimed many months ago).
...
http://codereview.appspot.com/5528078
git-svn-id: http://skia.googlecode.com/svn/trunk@3019 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 19:29:08 +00:00
reed@google.com
47628314a1
disable test until I can fix it
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3018 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 19:17:23 +00:00
bungeman@google.com
81f41d75cd
Roll gyp to 1139.
...
http://codereview.appspot.com/5529070/
git-svn-id: http://skia.googlecode.com/svn/trunk@3017 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 19:17:20 +00:00
bsalomon@google.com
46579e03a2
Fix variable renaming in asserts related to r3015
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3016 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 18:51:15 +00:00
bsalomon@google.com
dafde9e2c1
Remove shadersupport caps bit
...
Review URL: http://codereview.appspot.com/5528076/
git-svn-id: http://skia.googlecode.com/svn/trunk@3015 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 18:45:39 +00:00
reed@google.com
3d19c385e7
fix cheapComputeDirection() in the non-convex case to pivot on the y-max point
...
rather than pivoting on the next. Also remove the loop, as it is just logically
wrong to think we can use this trick only a non-extrema pt.
git-svn-id: http://skia.googlecode.com/svn/trunk@3014 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 18:16:39 +00:00
bungeman@google.com
b9349e1cb5
Rebaseline for 3010.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3013 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 17:54:25 +00:00
digit@google.com
f66436cff7
android: optimize atomics routines
...
This patch provides a slightly optimized implementation of
atomic increment/decrement functions by using static inlined
versions of the gcc intrinsics.
Review URL: http://codereview.appspot.com/5498069
git-svn-id: http://skia.googlecode.com/svn/trunk@3012 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 17:44:41 +00:00
reed@google.com
6da3d1757c
improve clamping logic when handling imprecise chopping of cubics
...
http://code.google.com/p/skia/issues/detail?id=444
git-svn-id: http://skia.googlecode.com/svn/trunk@3011 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 16:41:26 +00:00
bungeman@google.com
15865a710a
Correct GPU glyph positioning.
...
http://codereview.appspot.com/5522050/
git-svn-id: http://skia.googlecode.com/svn/trunk@3010 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 16:28:04 +00:00
bsalomon@google.com
337af1777a
fix compilation error in GrContext.cpp when PREFER_MSAA_OFFSCREEN_AA is enabled
...
http://codereview.appspot.com/5534068/
git-svn-id: http://skia.googlecode.com/svn/trunk@3009 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 16:00:42 +00:00
bsalomon@google.com
cff5608394
fix comment
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3008 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 15:33:20 +00:00
reed@google.com
e582869023
detect (and reject) if radius ia NaN, by using !(radius > 0) instead of (radius <= 0)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3007 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-11 14:07:27 +00:00
senorblanco@chromium.org
c79fd6ea3f
Export SkColorMatrixFilter via SK_API.
...
Review URL: http://codereview.appspot.com/5534064/
git-svn-id: http://skia.googlecode.com/svn/trunk@3006 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 21:56:40 +00:00
caryclark@google.com
639df89148
work in progress for shape operations
...
A experimental/Intersection
A experimental/Intersection/Intersections.h
A experimental/Intersection/DataTypes.cpp
A experimental/Intersection/QuadraticReduceOrder.cpp
A experimental/Intersection/IntersectionUtilities.cpp
A experimental/Intersection/CubicIntersection_Tests.h
A experimental/Intersection/LineParameteters_Test.cpp
A experimental/Intersection/ReduceOrder.cpp
A experimental/Intersection/QuadraticIntersection.cpp
A experimental/Intersection/Extrema.h
A experimental/Intersection/CubicIntersection_TestData.h
A experimental/Intersection/QuadraticParameterization_Test.cpp
A experimental/Intersection/TestUtilities.cpp
A experimental/Intersection/CubicRoots.cpp
A experimental/Intersection/QuadraticParameterization.cpp
A experimental/Intersection/QuadraticSubDivide.cpp
A experimental/Intersection/LineIntersection_Test.cpp
A experimental/Intersection/LineIntersection.cpp
A experimental/Intersection/CubicParameterizationCode.cpp
A experimental/Intersection/LineParameters.h
A experimental/Intersection/CubicIntersection.h
A experimental/Intersection/CubeRoot.cpp
A experimental/Intersection/SkAntiEdge.h
A experimental/Intersection/ConvexHull_Test.cpp
A experimental/Intersection/CubicBezierClip_Test.cpp
A experimental/Intersection/CubicIntersection_Tests.cpp
A experimental/Intersection/CubicBezierClip.cpp
A experimental/Intersection/CubicIntersectionT.cpp
A experimental/Intersection/Inline_Tests.cpp
A experimental/Intersection/ReduceOrder_Test.cpp
A experimental/Intersection/QuadraticIntersection_TestData.h
A experimental/Intersection/DataTypes.h
A experimental/Intersection/Extrema.cpp
A experimental/Intersection/EdgeApp.cpp
A experimental/Intersection/CubicIntersection_TestData.cpp
A experimental/Intersection/IntersectionUtilities.h
A experimental/Intersection/CubicReduceOrder.cpp
A experimental/Intersection/CubicCoincidence.cpp
A experimental/Intersection/CubicIntersection_Test.cpp
A experimental/Intersection/CubicIntersection.cpp
A experimental/Intersection/QuadraticUtilities.h
A experimental/Intersection/SkAntiEdge.cpp
A experimental/Intersection/TestUtilities.h
A experimental/Intersection/CubicParameterization_Test.cpp
A experimental/Intersection/LineIntersection.h
A experimental/Intersection/CubicSubDivide.cpp
A experimental/Intersection/CubicParameterization.cpp
A experimental/Intersection/QuadraticBezierClip_Test.cpp
A experimental/Intersection/QuadraticBezierClip.cpp
A experimental/Intersection/BezierClip_Test.cpp
A experimental/Intersection/ConvexHull.cpp
A experimental/Intersection/BezierClip.cpp
A experimental/Intersection/QuadraticIntersection_TestData.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@3005 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 21:46:10 +00:00
reed@google.com
1ae2090d3a
stroking wants CW, so we reverse if the orig was CCW
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3004 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 21:30:57 +00:00
reed@google.com
b435bd7d49
use SkIntToScalar
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3003 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 19:28:01 +00:00
reed@google.com
e354397dd9
use SkIntToScalar(10) instead of 10 for parameters (for scalar==fixed)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3002 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 18:59:22 +00:00
reed@google.com
3e71a88762
add gm for reverseAddPath
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3001 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 18:44:37 +00:00
reed@google.com
d1ab9320b0
restore (debugged) cheapComputeDirection
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3000 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 18:40:03 +00:00
reed@google.com
df6bcb1412
disable for now
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2999 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 18:13:23 +00:00
reed@google.com
f6962e458c
disable cheap check while its being debugged
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2998 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 18:02:09 +00:00
bsalomon@google.com
547e5be01c
Remove accidentally checked in printf
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2997 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 18:01:01 +00:00
reed@google.com
69a9943b67
add SkPath::cheapComputeDirection() plus unittests
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2996 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 18:00:10 +00:00
reed@google.com
63d73749fb
add SkPath::reverseAddPath()
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2995 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 15:33:12 +00:00