Commit Graph

1992 Commits

Author SHA1 Message Date
bsalomon@google.com
fcb0dbc0ab Fix GrAAHairLinePathRenderer fixed pt build
git-svn-id: http://skia.googlecode.com/svn/trunk@2199 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 18:35:18 +00:00
bsalomon@google.com
89ccd04bea Rebase complex clip GM for new hairline renderer on windows
git-svn-id: http://skia.googlecode.com/svn/trunk@2198 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 18:21:04 +00:00
bsalomon@google.com
542f5851e4 Fix file name in gyp (wasn't caught b/c of windows case insensitivity)
git-svn-id: http://skia.googlecode.com/svn/trunk@2197 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 18:17:35 +00:00
bsalomon@google.com
aeb2160b1d Add GrAAHairLinePathRenderer
Review URL: http://codereview.appspot.com/4926045



git-svn-id: http://skia.googlecode.com/svn/trunk@2196 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 18:13:44 +00:00
bsalomon@google.com
dec9f2d351 Fix multi-line macro by adding line continuation.
git-svn-id: http://skia.googlecode.com/svn/trunk@2195 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 18:05:17 +00:00
yangsu@google.com
69f2e05b58 Updated iOS SampleApp and the simple hello world Skia Cocoa App under experimental
git-svn-id: http://skia.googlecode.com/svn/trunk@2194 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 17:08:08 +00:00
reed@google.com
d51bfa0583 rename getBounds to getGlobalBounds, since it now takes the device's origin
into account. Remove unused intersects().



git-svn-id: http://skia.googlecode.com/svn/trunk@2193 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 15:56:11 +00:00
yangsu@google.com
849ad5af85 Fixed key handling code in Mac SampleApp
git-svn-id: http://skia.googlecode.com/svn/trunk@2192 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 15:27:57 +00:00
tomhudson@google.com
dd5f7442f6 Add SkMatrix::getPerspectiveTypeMaskOnly() and SkMatrix::isTriviallyIdentity().
Reduces profile time in setConcat() and computeTypeMask() for demos that
do a lot of matrix concatenation.



git-svn-id: http://skia.googlecode.com/svn/trunk@2191 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 15:13:55 +00:00
yangsu@google.com
a8540416f6 Switched Mac SampleApp to use Cocoa, removed the seperate CocoaSampleApp, moved dependencies out of experimental
git-svn-id: http://skia.googlecode.com/svn/trunk@2190 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 14:40:49 +00:00
epoger@google.com
1d388d7e27 whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2189 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 13:18:45 +00:00
senorblanco@chromium.org
7ccf460bb5 [committed on behalf of dmaclach@chromium.org.]
Add newline at end of file to get rid of warnings compiling Chromium on
the Mac.  Chromium build wants newline at end of files.

Review URL:  http://codereview.appspot.com/4951048/



git-svn-id: http://skia.googlecode.com/svn/trunk@2188 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-29 21:45:23 +00:00
reed@google.com
45482d1d2b fix pictures to not skip-over clip ops that might expand the clip
git-svn-id: http://skia.googlecode.com/svn/trunk@2187 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-29 19:02:39 +00:00
bsalomon@google.com
574f29dfa7 Add revisions to complexclip2.cpp from code review. Checkin windows baselines.
Review URL: http://codereview.appspot.com/4974048/



git-svn-id: http://skia.googlecode.com/svn/trunk@2186 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-29 18:05:05 +00:00
reed@google.com
ddc518b90f add
git-svn-id: http://skia.googlecode.com/svn/trunk@2185 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-29 17:49:23 +00:00
reed@google.com
30db599c1d add new test for complex clips
temp disable picture testing until I fix the bug w/ expanding clips



git-svn-id: http://skia.googlecode.com/svn/trunk@2184 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-29 17:41:02 +00:00
bsalomon@google.com
ab3dee5c8a Fix GPU assumption that clipstack begins with intersect or replace.
Review URL: http://codereview.appspot.com/4977043/



git-svn-id: http://skia.googlecode.com/svn/trunk@2183 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-29 15:18:41 +00:00
epoger@google.com
5b86a379e9 whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2182 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-29 13:55:11 +00:00
epoger@google.com
17b7894609 rolling back the experimental rollbacks in r2178-2179
git-svn-id: http://skia.googlecode.com/svn/trunk@2180 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-26 14:40:38 +00:00
epoger@google.com
5f226572b3 rolling tree back to its state as of r2169 to see if that fixes Windows buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2179 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-26 14:27:59 +00:00
tomhudson@google.com
fa510413c1 Experimental revert of 2170 to see if the buildbot issues are somehow related.
git-svn-id: http://skia.googlecode.com/svn/trunk@2178 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-26 13:19:39 +00:00
epoger@google.com
93a791d5de whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2177 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-25 22:50:55 +00:00
epoger@google.com
fa3ab3bd9d whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2176 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-25 21:52:10 +00:00
bsalomon@google.com
3a9eaeccb0 Don't intersect clipstack with root device bounds
Review URL: Don't intersect clipstack with root device bounds



git-svn-id: http://skia.googlecode.com/svn/trunk@2175 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-25 21:12:57 +00:00
epoger@google.com
fafe599284 whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2174 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-25 20:18:33 +00:00
tomhudson@google.com
3f088e3651 Move multiple calls to random() out of parameter lists so that the
evaluation order is consistent across compilers.



git-svn-id: http://skia.googlecode.com/svn/trunk@2173 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-25 19:56:04 +00:00
twiz@google.com
8185f33b38 Export SkPDFDevice::setDrawingArea as SK_API.
git-svn-id: http://skia.googlecode.com/svn/trunk@2172 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-25 19:27:20 +00:00
tomhudson@google.com
513909f9a2 Remove compiler warnings (Linux clang, mostly).
Fix indentation.
Remove unnecessary virtual destructor.
codereview.appspot.com/4965043/



git-svn-id: http://skia.googlecode.com/svn/trunk@2171 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-25 15:50:54 +00:00
tomhudson@google.com
32992605aa Remove compiler warnings (gcc on Linux).
codereview.appspot.com/4922052/



git-svn-id: http://skia.googlecode.com/svn/trunk@2170 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-25 15:37:03 +00:00
reed@google.com
2e68478d86 move SkComputeAxisAlignmentForHText(const SkMatrix& matrix) out of inline,
since that isn't really necessary, and it is generating a warning/error for
some builds ('defined but not used')



git-svn-id: http://skia.googlecode.com/svn/trunk@2169 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-24 15:38:46 +00:00
reed@google.com
b6ddf7a082 add more samples
git-svn-id: http://skia.googlecode.com/svn/trunk@2168 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-24 13:14:47 +00:00
bsalomon@google.com
9dfb7577c4 Skip test GLPrograms test when GL or Gr context can't be created.
TBR: http://codereview.appspot.com/4946041/



git-svn-id: http://skia.googlecode.com/svn/trunk@2167 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-24 03:29:11 +00:00
reed@google.com
fcac6725e0 rebaseline now that subpixel position is respected
git-svn-id: http://skia.googlecode.com/svn/trunk@2166 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-23 21:34:51 +00:00
reed@google.com
cb6ccdde51 respect subpixel positioning
git-svn-id: http://skia.googlecode.com/svn/trunk@2165 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-23 21:30:47 +00:00
bsalomon@google.com
1f221a7021 More prep work in Gr for landing AA hairline renderer.
Review URL: http://codereview.appspot.com/4944045



git-svn-id: http://skia.googlecode.com/svn/trunk@2164 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-23 20:54:07 +00:00
bungeman@google.com
9a87cee904 Clean up PDF code for text decoration change.
http://codereview.appspot.com/4939044/


git-svn-id: http://skia.googlecode.com/svn/trunk@2163 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-23 17:02:18 +00:00
bsalomon@google.com
471d471dcd Correctly determine whether HW AA lines can be used
Review URL: http://codereview.appspot.com/4937049/



git-svn-id: http://skia.googlecode.com/svn/trunk@2162 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-23 15:45:25 +00:00
reed@google.com
00245c94cd test subpixeltext
git-svn-id: http://skia.googlecode.com/svn/trunk@2161 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-23 15:30:44 +00:00
bsalomon@google.com
647a804c3d Core skia changes to prepare for Gr AA Hairline renderer
Review URL: http://codereview.appspot.com/4940045/



git-svn-id: http://skia.googlecode.com/svn/trunk@2160 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-23 14:39:01 +00:00
bsalomon@google.com
8214587a79 Exit early from 0 prim draws in GrDrawTarget
Review URL: http://codereview.appspot.com/4929045/



git-svn-id: http://skia.googlecode.com/svn/trunk@2159 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-23 14:32:40 +00:00
bungeman@google.com
52c748b169 Gpu can draw underlined text.
http://codereview.appspot.com/4919047/


git-svn-id: http://skia.googlecode.com/svn/trunk@2154 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-22 21:30:43 +00:00
reed@google.com
cf598b176d refactor utility code to create a mask (any format) from the path, for those
cases when we need to do that instead of the scalercontext subclass (e.g.
stroking, patheffects, etc.)

This also now keeps the LCD formats, rather than forcing those down to grayscale.

This also respects subpixel position when it requests the path from the subclass.
Note it is still up to the subclass to notice that, and potentially adjust their
hinting to respect subpixelness (e.g. hinting in Y but not X for horizontal text)



git-svn-id: http://skia.googlecode.com/svn/trunk@2153 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-22 21:13:23 +00:00
reed@google.com
ddc75dc216 Allow the y-baseline to float except when text is horizontal, as we were already
doing for the gpu case. Note: drawPosText was already behaving this way, this
change just brings drawText into line with drawPosText.



git-svn-id: http://skia.googlecode.com/svn/trunk@2152 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-22 20:09:13 +00:00
epoger@google.com
6b66c398f9 Fix gm/bitmapscroll.cpp to actually draw in both Debug and Release modes.
Review URL: http://codereview.appspot.com/4922047

git-svn-id: http://skia.googlecode.com/svn/trunk@2151 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-22 18:14:07 +00:00
epoger@google.com
2a151fe02b Remove bitmapscroll baseline images--they were drawn incorrectly.
Review URL: http://codereview.appspot.com/4924044

git-svn-id: http://skia.googlecode.com/svn/trunk@2150 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-22 18:03:14 +00:00
bsalomon@google.com
d361e7eaa6 silence end of file LF warning on chrome's mac builds
Review URL: http://codereview.appspot.com/4921042/



git-svn-id: http://skia.googlecode.com/svn/trunk@2149 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-22 17:32:24 +00:00
reed@google.com
ffd999fd91 add initial versions
git-svn-id: http://skia.googlecode.com/svn/trunk@2148 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-22 17:30:46 +00:00
bsalomon@google.com
e9a98942b4 Fix GrResourceCache::removeAll when one resource holds a lock on another
Review URL: http://codereview.appspot.com/4929042/


git-svn-id: http://skia.googlecode.com/svn/trunk@2147 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-22 17:06:16 +00:00
ctguil@chromium.org
769fa6a013 No effect cleanup in pdf code.
Review URL: http://codereview.appspot.com/4927042

git-svn-id: http://skia.googlecode.com/svn/trunk@2146 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-20 00:36:18 +00:00
bsalomon@google.com
971d0c8049 Get rid of createRenderTargetFrom3DAPIState and associated glGets necessary to support it.
Review URL: http://codereview.appspot.com/4928041/



git-svn-id: http://skia.googlecode.com/svn/trunk@2144 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-19 17:22:05 +00:00