bsalomon@google.com
7d4679a2e1
Rename existing nonpreserving reallocs to reset, add reset to SkAutoMalloc, use reset in GrBufferAllocPool
...
Review URL: http://codereview.appspot.com/4951058/
git-svn-id: http://skia.googlecode.com/svn/trunk@2215 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-02 22:06:24 +00:00
reed@google.com
f8cead5e08
outset 2 on all sides, as we now find some CJK fonts that are off by
...
that amount when we compare the bounds returned by GetGlyphOutline and what
GDI actually draws.
git-svn-id: http://skia.googlecode.com/svn/trunk@2214 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-02 20:08:11 +00:00
bsalomon@google.com
973b879dfd
Remove unneeded #define
...
Review URL: http://codereview.appspot.com/4973053/
git-svn-id: http://skia.googlecode.com/svn/trunk@2213 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-02 17:28:06 +00:00
bungeman@google.com
d16872c21f
Fix BlurTest to work with fixed point.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2212 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-02 15:46:17 +00:00
bungeman@google.com
5af16f8d67
Reduce size of filter mask.
...
http://codereview.appspot.com/4965057/
Reduce the size of filter masks, fix HQ blur when clipped, and add tests.
git-svn-id: http://skia.googlecode.com/svn/trunk@2211 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-02 15:06:44 +00:00
bsalomon@google.com
abb061acfe
Remove comment related to removed function.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2210 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-01 15:55:31 +00:00
bsalomon@google.com
e174ea4bb1
Fix some warnings when including some Skia headers in Chromium code under VS2008.
...
Review URL: http://codereview.appspot.com/4956058/
git-svn-id: http://skia.googlecode.com/svn/trunk@2209 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-01 15:34:14 +00:00
epoger@google.com
2869820cb5
whitespace change to trigger buildbots
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2208 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-01 14:29:43 +00:00
bsalomon@google.com
56bfc5acc2
Add optional per-gl-func client callback.
...
Review URL: http://codereview.appspot.com/4964055/
git-svn-id: http://skia.googlecode.com/svn/trunk@2207 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-01 13:28:16 +00:00
bungeman@google.com
9399cac0a1
Change no-op math bench to noOp.
...
http://codereview.appspot.com/4962047/
git-svn-id: http://skia.googlecode.com/svn/trunk@2206 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-31 19:47:59 +00:00
bsalomon@google.com
87fcfe0654
Compile option to perform GL logging by default debug.
...
Review URL: http://codereview.appspot.com/4964054/
git-svn-id: http://skia.googlecode.com/svn/trunk@2205 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-31 13:41:51 +00:00
bsalomon@google.com
9b09c9e91c
Abort AA rect path when index buffer allocation fails
...
Review URL http://codereview.appspot.com/4984041/
git-svn-id: http://skia.googlecode.com/svn/trunk@2204 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-31 13:33:40 +00:00
yangsu@google.com
688823f5d3
Added SimpleiOSApp and updated iOSSampleApp
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2202 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 19:14:13 +00:00
bsalomon@google.com
22269ed461
Rebase Mac PNGs (GrAAHairLineRenderer changed complexclip_gpu.png and rest have non-pixel changes due to migration from libpng to coregraphics)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2201 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 19:05:52 +00:00
bsalomon@google.com
01760d51b3
Rebase complex clip for hairline renderer
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2200 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-30 18:49:47 +00:00
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