Commit Graph

3520 Commits

Author SHA1 Message Date
reed@google.com
75a0972dd7 move SkStrokePathEffect into hiding for now, as its functionality is rethought.
git-svn-id: http://skia.googlecode.com/svn/trunk@3890 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-10 12:56:16 +00:00
tomhudson@google.com
f1d88064bc Windows build fixes from r3887.
git-svn-id: http://skia.googlecode.com/svn/trunk@3889 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-10 12:43:21 +00:00
robertphillips@google.com
bf5cad4e9c Added documentation of stage/TU allocation
http://codereview.appspot.com/6199058/



git-svn-id: http://skia.googlecode.com/svn/trunk@3888 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-10 12:40:40 +00:00
tomhudson@google.com
d8f856c32b Move convolution from code in GrGLProgram to new GrConvolutionEffect
class. This is the first test of the new Ganesh shader pipeline.

Also includes some cleanup of the gpu.gyp file: added src/gpu, allowing
us to remove ../ from many #include directives.

http://codereview.appspot.com/6199053/



git-svn-id: http://skia.googlecode.com/svn/trunk@3887 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-10 12:13:36 +00:00
robertphillips@google.com
96a162eb71 Disabled new ClipCache unit test pending investigation of Android failures
git-svn-id: http://skia.googlecode.com/svn/trunk@3886 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 21:47:03 +00:00
robertphillips@google.com
beeb97c94d Added stack to AA clip mask cache
http://codereview.appspot.com/6201058/



git-svn-id: http://skia.googlecode.com/svn/trunk@3885 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 21:15:28 +00:00
vandebo@chromium.org
683001ce0d [PDF] Ensure that filling single line paths (with no area) does not draw anything.
Add a test to a gm to confirm the new behavior.

Fixes http://crbug.com/123072

Review URL: https://codereview.appspot.com/6137060

git-svn-id: http://skia.googlecode.com/svn/trunk@3884 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 17:17:51 +00:00
robertphillips@google.com
b1af07aa43 Dialed back complexity of nested clip bench to bring time down to a reasonable level
git-svn-id: http://skia.googlecode.com/svn/trunk@3883 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 16:27:10 +00:00
reed@google.com
ffde1e3126 rebaseline for MacPro after EXACT aa coverage change
git-svn-id: http://skia.googlecode.com/svn/trunk@3882 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 16:05:50 +00:00
reed@google.com
996498e2fa rebaseline MacPro gm images from EXACT aa coverage change
git-svn-id: http://skia.googlecode.com/svn/trunk@3881 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 15:55:49 +00:00
robertphillips@google.com
6bb99e36ca Added new bench test for nested clips
http://codereview.appspot.com/6199055/



git-svn-id: http://skia.googlecode.com/svn/trunk@3880 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 15:48:31 +00:00
reed@google.com
de3613273b rebaseline after switching to EXACT aa coverage
git-svn-id: http://skia.googlecode.com/svn/trunk@3879 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 15:19:00 +00:00
reed@google.com
5aff0ef9d7 commented-out test for exact aa coverage
git-svn-id: http://skia.googlecode.com/svn/trunk@3878 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 15:04:11 +00:00
reed@google.com
cd4e9fb538 don't define SK_USE_LEGACY_AA_COVERAGE, so that we can get the more exact
coverage values (which also unifies our RLE and MASK supersampler results).

Chrome will want to define SK_USE_LEGACY_AA_COVERAGE for now, until it can
rebaseline its affected images.

A rebaseline of skia gm images will follow.



git-svn-id: http://skia.googlecode.com/svn/trunk@3877 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 14:33:02 +00:00
reed@google.com
5b7d603e17 invert sense of conditional EXACT_COVERAGE, renaming to LEGACY_AA_COVERAGE
git-svn-id: http://skia.googlecode.com/svn/trunk@3876 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 14:07:34 +00:00
reed@google.com
a869248bf8 remove obsolete comments
git-svn-id: http://skia.googlecode.com/svn/trunk@3875 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 14:01:03 +00:00
reed@google.com
08e791194a add assert
git-svn-id: http://skia.googlecode.com/svn/trunk@3874 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 13:58:38 +00:00
reed@google.com
6997e5d282 remove dead conditional
Review URL: https://codereview.appspot.com/6197065

git-svn-id: http://skia.googlecode.com/svn/trunk@3873 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 13:48:50 +00:00
reed@google.com
0a71a9cc37 experimental faster sort
git-svn-id: http://skia.googlecode.com/svn/trunk@3872 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-09 12:07:31 +00:00
reed@google.com
331e2dc8eb add flag/hint to PlatformGetSpecific. If true, then the caller requires that
the tls slot be allocated even if this is the first, to ensure that it can
later call PlatformSetSpecific. When this is false (which is most of the time)
the implementation may optimize by not even creating the slot, and just
returning null.



git-svn-id: http://skia.googlecode.com/svn/trunk@3871 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-08 21:45:03 +00:00
reed@google.com
f51018d8f9 allow SkAutoTUnref to be used syntactially as the object is refs
Review URL: https://codereview.appspot.com/6189059

git-svn-id: http://skia.googlecode.com/svn/trunk@3870 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-08 18:08:49 +00:00
epoger@google.com
4b5d78c9b0 Check in lists of trybots that are appropriate to run in various circumstances.
Usage: gcl try --bot=$(svn cat http://skia.googlecode.com/svn/trunk/trybots_to_run/depsroll)
Review URL: https://codereview.appspot.com/6192060

git-svn-id: http://skia.googlecode.com/svn/trunk@3868 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-08 15:26:58 +00:00
robertphillips@google.com
c6ce750c73 Fixed some fixed point build Windows compiler complaints
http://codereview.appspot.com/6197063/



git-svn-id: http://skia.googlecode.com/svn/trunk@3867 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-08 13:15:37 +00:00
reed@google.com
83edde21f3 mirror of https://codereview.appspot.com/6188054/
fix double->float conversion warning



git-svn-id: http://skia.googlecode.com/svn/trunk@3866 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-08 12:14:22 +00:00
bsalomon@google.com
cc61b17628 Comment improvements to GrGLInterface
git-svn-id: http://skia.googlecode.com/svn/trunk@3865 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 21:45:48 +00:00
bsalomon@google.com
637d5e9297 Move GL function prototype typdefs to a separate header
Review URL: http://codereview.appspot.com/6189054/



git-svn-id: http://skia.googlecode.com/svn/trunk@3864 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 21:33:56 +00:00
caryclark@google.com
fcd4f3e5bf shape ops: more work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@3863 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 21:09:32 +00:00
reed@google.com
0389d93314 remove unused ptr/len parameters from CreateTypeface
Review URL: https://codereview.appspot.com/6201056

git-svn-id: http://skia.googlecode.com/svn/trunk@3862 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 21:06:55 +00:00
caryclark@google.com
15fa138f22 shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@3861 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 20:49:36 +00:00
reed@google.com
e22a421e3a must include SkTLS.h
git-svn-id: http://skia.googlecode.com/svn/trunk@3860 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 20:28:00 +00:00
reed@google.com
48ca7e37ef impl SkTLS for windows, refactoring to share code with pthread impl
git-svn-id: http://skia.googlecode.com/svn/trunk@3859 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 20:23:27 +00:00
reed@google.com
82d447d4f1 revert TLS change (until we impl windows backend)
git-svn-id: http://skia.googlecode.com/svn/trunk@3858 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 19:27:18 +00:00
reed@google.com
09dcf754ff allow thread-local font cache
Review URL: https://codereview.appspot.com/6101053

git-svn-id: http://skia.googlecode.com/svn/trunk@3857 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 19:12:04 +00:00
bsalomon@google.com
2717d56b22 move more stuff that should be private out from GrGLConfig.h
Review URL: http://codereview.appspot.com/6202053/




git-svn-id: http://skia.googlecode.com/svn/trunk@3856 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 19:10:52 +00:00
reed@google.com
92fde90d9b add SkTQSort (stolen from cary's experimental work)
git-svn-id: http://skia.googlecode.com/svn/trunk@3854 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 18:10:15 +00:00
robertphillips@google.com
6d62df404b First pass at accelerating gpu-based AA clipping
http://codereview.appspot.com/6195051/



git-svn-id: http://skia.googlecode.com/svn/trunk@3853 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 18:07:36 +00:00
bsalomon@google.com
003a8b98ac Hopefully fixes linux + mac build breaks from r3851 by adding missing include in SkMesaGLContext.cpp.
git-svn-id: http://skia.googlecode.com/svn/trunk@3852 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 17:38:49 +00:00
bsalomon@google.com
91bcc94e87 Make GrGLDefines.h be a private header
Review URL: http://codereview.appspot.com/6198048/



git-svn-id: http://skia.googlecode.com/svn/trunk@3851 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 17:28:41 +00:00
bsalomon@google.com
68288c289c remove incorrect include
git-svn-id: http://skia.googlecode.com/svn/trunk@3850 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 17:15:08 +00:00
bsalomon@google.com
9c1f1ac5d3 Move function decls and macros out of public headers that are meant for internal use.
git-svn-id: http://skia.googlecode.com/svn/trunk@3849 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 17:09:37 +00:00
reed@google.com
aa99c9e85f use std qsort instead of our (now gone) version
git-svn-id: http://skia.googlecode.com/svn/trunk@3847 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 15:04:18 +00:00
reed@google.com
c7a67cb57e Just use std qsort
Review URL: https://codereview.appspot.com/6195052

git-svn-id: http://skia.googlecode.com/svn/trunk@3846 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 14:52:12 +00:00
reed@google.com
e3987da2d2 make CanNormalize inline for the float build (big speedup for PathIter)
git-svn-id: http://skia.googlecode.com/svn/trunk@3845 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 13:51:05 +00:00
reed@google.com
c56a83ca9c add bench for SkPath::Iter and SkPath::RawIter
git-svn-id: http://skia.googlecode.com/svn/trunk@3844 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-07 13:46:32 +00:00
mike@reedtribe.org
99a6ef48e3 add different stroke-widths to dash bench
git-svn-id: http://skia.googlecode.com/svn/trunk@3843 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-05 13:46:10 +00:00
reed@google.com
35a81dfdb2 add gm for dashing variations
git-svn-id: http://skia.googlecode.com/svn/trunk@3842 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-04 21:49:27 +00:00
reed@google.com
4aa1a70ab7 add initial bench for dashing (more work to do)
git-svn-id: http://skia.googlecode.com/svn/trunk@3841 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-04 16:37:45 +00:00
robertphillips@google.com
28b4bce1b1 Fix for performance regression due to r3832
http://codereview.appspot.com/6188045/



git-svn-id: http://skia.googlecode.com/svn/trunk@3840 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-04 16:34:52 +00:00
reed@google.com
c1992933f1 fix/revert the unsigned-shift change made to clamp in 3836. For clamp we want
to see the negatives, so we must have a signed shift.



git-svn-id: http://skia.googlecode.com/svn/trunk@3839 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-04 12:54:20 +00:00
djsollen@google.com
548674f69a Upstream font changes from Android repository.
Review URL: https://codereview.appspot.com/6166043

git-svn-id: http://skia.googlecode.com/svn/trunk@3838 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-05-04 12:03:48 +00:00