Commit Graph

2082 Commits

Author SHA1 Message Date
reed@google.com
4ee1433844 fix INHERITED to match class
git-svn-id: http://skia.googlecode.com/svn/trunk@2243 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-08 13:37:07 +00:00
reed@google.com
1ec27a0211 add test for hairlines and xfermodes
git-svn-id: http://skia.googlecode.com/svn/trunk@2242 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-08 13:36:30 +00:00
reed@google.com
b423d49e3f disable premul check for now in 16bit blit, until we cleanup GDI's mess
git-svn-id: http://skia.googlecode.com/svn/trunk@2241 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-07 18:51:31 +00:00
bsalomon@google.com
e4123e9886 Revert accidental change to sample code
git-svn-id: http://skia.googlecode.com/svn/trunk@2240 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-07 18:44:17 +00:00
bsalomon@google.com
181e9bd948 Improve gpu path subdiv with perspective, remove tolerance scale, fix comment
Review URL: http://codereview.appspot.com/4993041/



git-svn-id: http://skia.googlecode.com/svn/trunk@2239 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-07 18:42:30 +00:00
reed@google.com
a5adf5385d use templated skipT() for skipping structs within a reader
git-svn-id: http://skia.googlecode.com/svn/trunk@2238 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-07 13:52:17 +00:00
reed@google.com
9c9b8d90c8 use drawBitmapNine instead of SkNinePatch utils
git-svn-id: http://skia.googlecode.com/svn/trunk@2237 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-07 12:27:43 +00:00
reed@google.com
55b5f4bd6a add SkPoint::CanNormalize to unify decisions about when a vector is degenerate
git-svn-id: http://skia.googlecode.com/svn/trunk@2236 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-07 12:23:41 +00:00
reed@google.com
11f6380510 add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@2235 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-07 12:17:05 +00:00
reed@google.com
9987ec3791 add impl for drawBitmapNine
git-svn-id: http://skia.googlecode.com/svn/trunk@2234 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-07 11:57:52 +00:00
reed@google.com
f0b5e1190a add drawBitmapNine to canvas
will add to device soon I think



git-svn-id: http://skia.googlecode.com/svn/trunk@2233 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-07 11:57:34 +00:00
bsalomon@google.com
46a2a1ee46 Make gpu hairline check for degenerate quad more robust
Review URL: http://codereview.appspot.com/4956067/



git-svn-id: http://skia.googlecode.com/svn/trunk@2232 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 22:10:52 +00:00
bsalomon@google.com
6defc04c30 Fix bitrot in GrGLDefaultInterface_android.cpp
Review URL: http://codereview.appspot.com/4960056/



git-svn-id: http://skia.googlecode.com/svn/trunk@2231 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 21:04:36 +00:00
reed@google.com
f244f901a9 detect when scale is really 1.0, and don't mis-mark our flags to kScale
git-svn-id: http://skia.googlecode.com/svn/trunk@2230 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 21:02:36 +00:00
epoger@google.com
867c0eaf95 whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2229 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 20:42:47 +00:00
reed@google.com
b636adf980 reimage ninepatch-stretch with white bg (for easier printing)
git-svn-id: http://skia.googlecode.com/svn/trunk@2225 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 19:34:13 +00:00
reed@google.com
b67052596f add gm test for ninepatch stretching
pdf output incorrect, so not checked in.



git-svn-id: http://skia.googlecode.com/svn/trunk@2224 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 19:23:41 +00:00
bsalomon@google.com
dca4aabd89 Make GL calls go through macro (and therefore trigger callback function if present)
Review URL: http://codereview.appspot.com/4986043/


git-svn-id: http://skia.googlecode.com/svn/trunk@2223 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 19:05:24 +00:00
reed@google.com
40a3772b27 update sample to test stretching + and - amounds
git-svn-id: http://skia.googlecode.com/svn/trunk@2222 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 18:54:54 +00:00
epoger@google.com
f0d7670158 Add gm baseline images for Mac Mini
git-svn-id: http://skia.googlecode.com/svn/trunk@2221 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 18:14:51 +00:00
epoger@google.com
c42b11e20e whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2220 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 17:23:35 +00:00
bungeman@google.com
1c8e874b92 Ignore blur margin fix flag for backward bug compatibility.
http://codereview.appspot.com/4981046/


git-svn-id: http://skia.googlecode.com/svn/trunk@2219 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 15:34:31 +00:00
bsalomon@google.com
6dcd27cd5e add detach back to SkAutoMalloc
Review URL: http://codereview.appspot.com/4956066/


git-svn-id: http://skia.googlecode.com/svn/trunk@2218 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 15:02:33 +00:00
reed@google.com
bdf736133b add optional SK_OVERRIDE_GLOBAL_NEW for testing
git-svn-id: http://skia.googlecode.com/svn/trunk@2217 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-06 14:56:20 +00:00
bsalomon@google.com
4fd0fb0b03 Fix realloc->reset rename missed in mac file
git-svn-id: http://skia.googlecode.com/svn/trunk@2216 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-02 22:14:16 +00:00
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