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
epoger@google.com
d6256557cd
Add --add-new-files option to download-baselines.py script
...
This will allow the user to determine whether the script downloads just
updates for baselines that are already checked in, or all available baselines.
BUG=436
addresses http://code.google.com/p/skia/issues/detail?id=436 ('add "update" flag to download-baselines script')
Review URL: http://codereview.appspot.com/5523050
git-svn-id: http://skia.googlecode.com/svn/trunk@2993 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 14:10:34 +00:00
digit@google.com
70ccffe0e7
Android: disable static global initializers
...
Review URL: http://codereview.appspot.com/5503066
git-svn-id: http://skia.googlecode.com/svn/trunk@2992 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 10:28:30 +00:00
digit@google.com
3e05f29116
remove one un-needed static initializer
...
This patch removes the use of a static C++ object in the
implementation of SkMatrix44::isIdentity(). Instead, we rely
on direct comparison with a statically allocated array of
SkMScalar values, which is completely equivalent.
Review URL: http://codereview.appspot.com/5502067
git-svn-id: http://skia.googlecode.com/svn/trunk@2991 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-10 10:00:59 +00:00
djsollen@google.com
fa394d491b
Change remaining ANDROID ifdefs to SK_BUILD_FOR_ANDROID
...
Review URL: http://codereview.appspot.com/5528050
git-svn-id: http://skia.googlecode.com/svn/trunk@2990 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-09 20:40:25 +00:00
djsollen@google.com
a44e6c6b53
Add ARM optimizations to the build.
...
Also had to fix a problem in the ARM memset code that was
causing some tests and bench to fail.
Review URL: http://codereview.appspot.com/5522052
git-svn-id: http://skia.googlecode.com/svn/trunk@2989 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-09 14:38:25 +00:00
tomhudson@google.com
e8c984d11a
Code cleanup: move gradient inner loops into procs.
...
http://codereview.appspot.com/5523048/
git-svn-id: http://skia.googlecode.com/svn/trunk@2988 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-09 13:45:36 +00:00
djsollen@google.com
8688e5b7d1
Exclude BGRA readPixel tests on Android until bug 438 is resolved.
...
Review URL: http://codereview.appspot.com/5522053
git-svn-id: http://skia.googlecode.com/svn/trunk@2987 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-09 13:02:20 +00:00
reed@google.com
25634e08bb
remove obsolete file
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2986 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-09 12:55:23 +00:00
mike@reedtribe.org
c52b1927c2
add unittest for sk_memset16 and sk_memset32
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2985 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-07 03:49:13 +00:00
mike@reedtribe.org
f23f5f7f49
override asComponentTable()
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2984 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-07 03:48:45 +00:00
bsalomon@google.com
cadbcb8e53
Towards enabling -Werror in skia on Linux
...
Review URL: http://codereview.appspot.com/5516044/
git-svn-id: http://skia.googlecode.com/svn/trunk@2983 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-06 19:22:11 +00:00
bsalomon@google.com
baa9ea10f9
Fix check for glTexStorage2D fn ptr
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2982 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-06 19:05:43 +00:00
reed@google.com
b55deeb1c7
add allowImageFilter() so a device can allow/disallow filters
...
(esp. for printing)
git-svn-id: http://skia.googlecode.com/svn/trunk@2981 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-06 14:43:09 +00:00
bungeman@google.com
3c10a0871b
Rebaseline mac fixed poly2poly.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2980 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 22:10:45 +00:00
bungeman@google.com
88f57d7a5d
Mac generateFontMetrics not converting to scalar.
...
http://codereview.appspot.com/5519045/
git-svn-id: http://skia.googlecode.com/svn/trunk@2979 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 21:21:34 +00:00
reed@google.com
bff989bdfe
baselines for macpro
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2978 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 21:18:43 +00:00
reed@google.com
76dd277b1f
add filterImage() entry-point to SkDevice, to allow it to specialize on subclasses
...
of SkImageFilter. If that returns false, then the filter itself is invoked.
git-svn-id: http://skia.googlecode.com/svn/trunk@2977 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 21:15:07 +00:00
bungeman@google.com
c84547a8d3
Remove attempt at subpixel handling from GDI font host.
...
http://codereview.appspot.com/5515046/
git-svn-id: http://skia.googlecode.com/svn/trunk@2976 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 20:18:06 +00:00
vandebo@chromium.org
663515bc59
[PDF] Fix some scalar/int assumptions.
...
Review URL: http://codereview.appspot.com/5516043
git-svn-id: http://skia.googlecode.com/svn/trunk@2975 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 18:45:27 +00:00
senorblanco@chromium.org
b3a39b5b01
When applying a color matrix, unpremultiply the source, and premultiply the
...
result. If the input color is missing, set to all-zeros or all-ones as
appropriate. Add an alpha test case to the colormatrix GM.
Review URL: http://codereview.appspot.com/5520046/
git-svn-id: http://skia.googlecode.com/svn/trunk@2974 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 18:28:56 +00:00
bungeman@google.com
a682b93736
Make font scaler gm work correctly in fixed point.
...
http://codereview.appspot.com/5509049/
git-svn-id: http://skia.googlecode.com/svn/trunk@2973 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 18:10:48 +00:00
senorblanco@chromium.org
8ff9c74892
Reverting r2969, since it broke the GLPrograms RunTests step.
...
Unreviewed; build fix.
git-svn-id: http://skia.googlecode.com/svn/trunk@2972 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 17:34:38 +00:00
reed@google.com
7191840eec
add asComponentTable() query (will impl in SkTableColorFilter next)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2971 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 17:24:35 +00:00
caryclark@google.com
d53f7c28bf
make getOrigin() public so callers can adjust layer
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2970 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 17:05:05 +00:00
senorblanco@chromium.org
c3e159a325
When applying a color matrix, unpremultiply the source, and premultiply
...
the result.
Review URL: http://codereview.appspot.com/5520046/
git-svn-id: http://skia.googlecode.com/svn/trunk@2969 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 16:59:27 +00:00
bungeman@google.com
dc9a695a62
The units used to setup XPS should be SkScalars.
...
http://codereview.appspot.com/5509050/
git-svn-id: http://skia.googlecode.com/svn/trunk@2968 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 16:56:29 +00:00
bsalomon@google.com
8192095eea
Fix Mac build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2967 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 16:25:46 +00:00
bsalomon@google.com
280e99f1a6
Add support for GL texture storage
...
Review URL: http://codereview.appspot.com/5462046/
git-svn-id: http://skia.googlecode.com/svn/trunk@2966 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 16:17:38 +00:00
mike@reedtribe.org
f58f9f62d7
remove as these are replaced by SkJSON
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2965 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-05 03:10:59 +00:00
bsalomon@google.com
0e9b41a863
Trash cached render target when creating a new FBO and its ID is bound.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2964 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-04 22:11:43 +00:00
senorblanco@chromium.org
a0b0c122b5
Fix incorrect use of the SK_RESTRICT macro in SkColorMatrixFilter, and re-enable
...
the colormatrix GM test.
Review URL: http://codereview.appspot.com/5509048/
git-svn-id: http://skia.googlecode.com/svn/trunk@2963 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-04 22:00:34 +00:00