reed@google.com [Wed, 14 Sep 2011 16:13:58 +0000 (16:13 +0000)]
make string's reference counting thread-safe
git-svn-id: http://skia.googlecode.com/svn/trunk@2268
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 14 Sep 2011 14:29:18 +0000 (14:29 +0000)]
Workaround crash in cmd buffer validation code when GL shaders/programs fail
Review URL: http://codereview.appspot.com/5012046/
git-svn-id: http://skia.googlecode.com/svn/trunk@2267
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 14 Sep 2011 14:01:31 +0000 (14:01 +0000)]
Fix compilation error related to using nonexistent sk_malloc instead of sk_malloc_throw. VC++ lazy template code compilation let this work on windows since the wrong function name was only in currently unused templated functions.
git-svn-id: http://skia.googlecode.com/svn/trunk@2266
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 14 Sep 2011 13:54:05 +0000 (13:54 +0000)]
GrTArray->SkTArray & docs
Review URL: http://codereview.appspot.com/5005045/
git-svn-id: http://skia.googlecode.com/svn/trunk@2265
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 14 Sep 2011 12:52:28 +0000 (12:52 +0000)]
Remove unnecessary forward decl that was causing a warning.
git-svn-id: http://skia.googlecode.com/svn/trunk@2264
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 14 Sep 2011 12:44:13 +0000 (12:44 +0000)]
Shutup strict aliasing warnings in SkTLazy
Review URL: http://codereview.appspot.com/5020042/
git-svn-id: http://skia.googlecode.com/svn/trunk@2263
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 13 Sep 2011 20:57:33 +0000 (20:57 +0000)]
remove nonexistent files from gyps and make AdditionalOptions a list rather than str
ReviewURL: http://codereview.appspot.com/5022042/
git-svn-id: http://skia.googlecode.com/svn/trunk@2262
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 13 Sep 2011 20:56:48 +0000 (20:56 +0000)]
add filltypepersp baselines for linux
git-svn-id: http://skia.googlecode.com/svn/trunk@2261
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 13 Sep 2011 18:49:13 +0000 (18:49 +0000)]
Use push_back_n() in place of multiple push_back()s
Review URL: http://codereview.appspot.com/5018041/
git-svn-id: http://skia.googlecode.com/svn/trunk@2260
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@google.com [Tue, 13 Sep 2011 18:15:52 +0000 (18:15 +0000)]
SampleApp: fixing bad ref counting on non dynamically allocated object
REVIEW=http://codereview.appspot.com/4969079/
git-svn-id: http://skia.googlecode.com/svn/trunk@2259
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 13 Sep 2011 17:20:30 +0000 (17:20 +0000)]
add override for max-text-size for lcd
git-svn-id: http://skia.googlecode.com/svn/trunk@2258
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 13 Sep 2011 15:39:00 +0000 (15:39 +0000)]
Remove wrong file, add right file
git-svn-id: http://skia.googlecode.com/svn/trunk@2257
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 13 Sep 2011 15:27:18 +0000 (15:27 +0000)]
Fix some issues in gpu device with perspective. Add a gm that would have caught them.
Review URL: http://codereview.appspot.com/4994048/
git-svn-id: http://skia.googlecode.com/svn/trunk@2256
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Tue, 13 Sep 2011 15:07:58 +0000 (15:07 +0000)]
Add SkCanvas::getClipDescription() and getClipDeviceBounds() so clients don't
need to explicitly get the exact clip & compute those values themselves. (We
may be able to provide description/bounds more cheaply than the exact clip.)
git-svn-id: http://skia.googlecode.com/svn/trunk@2255
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Tue, 13 Sep 2011 14:41:06 +0000 (14:41 +0000)]
Revert r2250 - removal of setMatrixClip() - because Chrome makes heavy use
of those functions in a way we're not yet ready to clean up.
git-svn-id: http://skia.googlecode.com/svn/trunk@2254
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 13 Sep 2011 13:56:57 +0000 (13:56 +0000)]
add SK_RESTRICT to mask procs
separate out opaque and non for lcd16 blits
git-svn-id: http://skia.googlecode.com/svn/trunk@2253
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 13 Sep 2011 13:23:26 +0000 (13:23 +0000)]
set max size for lcdtext
git-svn-id: http://skia.googlecode.com/svn/trunk@2252
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 12 Sep 2011 19:54:12 +0000 (19:54 +0000)]
write 0 to our refcnt in the destructor, in the off-chance of it helping us
catch reuse-after-delete bugs (debug only)
git-svn-id: http://skia.googlecode.com/svn/trunk@2251
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Mon, 12 Sep 2011 19:52:44 +0000 (19:52 +0000)]
Replaces SkDevice::setMatrixClip() with markMatrixDirty() and markClipDirty(),
which require no arguments and so may be called without requiring the matrix
and clip to be completely evaluated.
De-inlines virtual functions in SkDevice interface.
git-svn-id: http://skia.googlecode.com/svn/trunk@2250
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 12 Sep 2011 14:59:34 +0000 (14:59 +0000)]
Add perspective support to the gpu aa hairline renderer.
Review URL: http://codereview.appspot.com/4969071/
git-svn-id: http://skia.googlecode.com/svn/trunk@2249
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 12 Sep 2011 14:30:27 +0000 (14:30 +0000)]
Add operator = to GrPaint
Review URL: http://codereview.appspot.com/4997045/
git-svn-id: http://skia.googlecode.com/svn/trunk@2248
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 12 Sep 2011 13:52:51 +0000 (13:52 +0000)]
Fix GrContext::drawPaint with perspective, also never apply AA
Review URL: http://codereview.appspot.com/4969074/
git-svn-id: http://skia.googlecode.com/svn/trunk@2247
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 9 Sep 2011 19:32:04 +0000 (19:32 +0000)]
[gpu] Remove getMaxStretch for perspective, use mapRadius for perspective path subdiv tol, add test
Review URL: http://codereview.appspot.com/4975063/
git-svn-id: http://skia.googlecode.com/svn/trunk@2246
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 9 Sep 2011 14:59:59 +0000 (14:59 +0000)]
cache offscreen HDC
git-svn-id: http://skia.googlecode.com/svn/trunk@2245
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 8 Sep 2011 18:48:12 +0000 (18:48 +0000)]
Add 'K' to SampleApp to trigger animated perspective rendering
Review URL: http://codereview.appspot.com/4967061/
git-svn-id: http://skia.googlecode.com/svn/trunk@2244
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 8 Sep 2011 13:37:07 +0000 (13:37 +0000)]
fix INHERITED to match class
git-svn-id: http://skia.googlecode.com/svn/trunk@2243
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 8 Sep 2011 13:36:30 +0000 (13:36 +0000)]
add test for hairlines and xfermodes
git-svn-id: http://skia.googlecode.com/svn/trunk@2242
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 7 Sep 2011 18:51:31 +0000 (18:51 +0000)]
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
bsalomon@google.com [Wed, 7 Sep 2011 18:44:17 +0000 (18:44 +0000)]
Revert accidental change to sample code
git-svn-id: http://skia.googlecode.com/svn/trunk@2240
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 7 Sep 2011 18:42:30 +0000 (18:42 +0000)]
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
reed@google.com [Wed, 7 Sep 2011 13:52:17 +0000 (13:52 +0000)]
use templated skipT() for skipping structs within a reader
git-svn-id: http://skia.googlecode.com/svn/trunk@2238
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 7 Sep 2011 12:27:43 +0000 (12:27 +0000)]
use drawBitmapNine instead of SkNinePatch utils
git-svn-id: http://skia.googlecode.com/svn/trunk@2237
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 7 Sep 2011 12:23:41 +0000 (12:23 +0000)]
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
reed@google.com [Wed, 7 Sep 2011 12:17:05 +0000 (12:17 +0000)]
add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@2235
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 7 Sep 2011 11:57:52 +0000 (11:57 +0000)]
add impl for drawBitmapNine
git-svn-id: http://skia.googlecode.com/svn/trunk@2234
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 7 Sep 2011 11:57:34 +0000 (11:57 +0000)]
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
bsalomon@google.com [Tue, 6 Sep 2011 22:10:52 +0000 (22:10 +0000)]
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
bsalomon@google.com [Tue, 6 Sep 2011 21:04:36 +0000 (21:04 +0000)]
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
reed@google.com [Tue, 6 Sep 2011 21:02:36 +0000 (21:02 +0000)]
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
epoger@google.com [Tue, 6 Sep 2011 20:42:47 +0000 (20:42 +0000)]
whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2229
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 6 Sep 2011 19:34:13 +0000 (19:34 +0000)]
reimage ninepatch-stretch with white bg (for easier printing)
git-svn-id: http://skia.googlecode.com/svn/trunk@2225
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 6 Sep 2011 19:23:41 +0000 (19:23 +0000)]
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
bsalomon@google.com [Tue, 6 Sep 2011 19:05:24 +0000 (19:05 +0000)]
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
reed@google.com [Tue, 6 Sep 2011 18:54:54 +0000 (18:54 +0000)]
update sample to test stretching + and - amounds
git-svn-id: http://skia.googlecode.com/svn/trunk@2222
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 6 Sep 2011 18:14:51 +0000 (18:14 +0000)]
Add gm baseline images for Mac Mini
git-svn-id: http://skia.googlecode.com/svn/trunk@2221
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 6 Sep 2011 17:23:35 +0000 (17:23 +0000)]
whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2220
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Tue, 6 Sep 2011 15:34:31 +0000 (15:34 +0000)]
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
bsalomon@google.com [Tue, 6 Sep 2011 15:02:33 +0000 (15:02 +0000)]
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
reed@google.com [Tue, 6 Sep 2011 14:56:20 +0000 (14:56 +0000)]
add optional SK_OVERRIDE_GLOBAL_NEW for testing
git-svn-id: http://skia.googlecode.com/svn/trunk@2217
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 2 Sep 2011 22:14:16 +0000 (22:14 +0000)]
Fix realloc->reset rename missed in mac file
git-svn-id: http://skia.googlecode.com/svn/trunk@2216
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 2 Sep 2011 22:06:24 +0000 (22:06 +0000)]
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
reed@google.com [Fri, 2 Sep 2011 20:08:11 +0000 (20:08 +0000)]
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
bsalomon@google.com [Fri, 2 Sep 2011 17:28:06 +0000 (17:28 +0000)]
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
bungeman@google.com [Fri, 2 Sep 2011 15:46:17 +0000 (15:46 +0000)]
Fix BlurTest to work with fixed point.
git-svn-id: http://skia.googlecode.com/svn/trunk@2212
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 2 Sep 2011 15:06:44 +0000 (15:06 +0000)]
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
bsalomon@google.com [Thu, 1 Sep 2011 15:55:31 +0000 (15:55 +0000)]
Remove comment related to removed function.
git-svn-id: http://skia.googlecode.com/svn/trunk@2210
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 1 Sep 2011 15:34:14 +0000 (15:34 +0000)]
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
epoger@google.com [Thu, 1 Sep 2011 14:29:43 +0000 (14:29 +0000)]
whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2208
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 1 Sep 2011 13:28:16 +0000 (13:28 +0000)]
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
bungeman@google.com [Wed, 31 Aug 2011 19:47:59 +0000 (19:47 +0000)]
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
bsalomon@google.com [Wed, 31 Aug 2011 13:41:51 +0000 (13:41 +0000)]
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
bsalomon@google.com [Wed, 31 Aug 2011 13:33:40 +0000 (13:33 +0000)]
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
yangsu@google.com [Tue, 30 Aug 2011 19:14:13 +0000 (19:14 +0000)]
Added SimpleiOSApp and updated iOSSampleApp
git-svn-id: http://skia.googlecode.com/svn/trunk@2202
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 30 Aug 2011 19:05:52 +0000 (19:05 +0000)]
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
bsalomon@google.com [Tue, 30 Aug 2011 18:49:47 +0000 (18:49 +0000)]
Rebase complex clip for hairline renderer
git-svn-id: http://skia.googlecode.com/svn/trunk@2200
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 30 Aug 2011 18:35:18 +0000 (18:35 +0000)]
Fix GrAAHairLinePathRenderer fixed pt build
git-svn-id: http://skia.googlecode.com/svn/trunk@2199
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 30 Aug 2011 18:21:04 +0000 (18:21 +0000)]
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
bsalomon@google.com [Tue, 30 Aug 2011 18:17:35 +0000 (18:17 +0000)]
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
bsalomon@google.com [Tue, 30 Aug 2011 18:13:44 +0000 (18:13 +0000)]
Add GrAAHairLinePathRenderer
Review URL: http://codereview.appspot.com/4926045
git-svn-id: http://skia.googlecode.com/svn/trunk@2196
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 30 Aug 2011 18:05:17 +0000 (18:05 +0000)]
Fix multi-line macro by adding line continuation.
git-svn-id: http://skia.googlecode.com/svn/trunk@2195
2bbb7eff-a529-9590-31e7-
b0007b416f81
yangsu@google.com [Tue, 30 Aug 2011 17:08:08 +0000 (17:08 +0000)]
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
reed@google.com [Tue, 30 Aug 2011 15:56:11 +0000 (15:56 +0000)]
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
yangsu@google.com [Tue, 30 Aug 2011 15:27:57 +0000 (15:27 +0000)]
Fixed key handling code in Mac SampleApp
git-svn-id: http://skia.googlecode.com/svn/trunk@2192
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Tue, 30 Aug 2011 15:13:55 +0000 (15:13 +0000)]
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
yangsu@google.com [Tue, 30 Aug 2011 14:40:49 +0000 (14:40 +0000)]
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
epoger@google.com [Tue, 30 Aug 2011 13:18:45 +0000 (13:18 +0000)]
whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2189
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 29 Aug 2011 21:45:23 +0000 (21:45 +0000)]
[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
reed@google.com [Mon, 29 Aug 2011 19:02:39 +0000 (19:02 +0000)]
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
bsalomon@google.com [Mon, 29 Aug 2011 18:05:05 +0000 (18:05 +0000)]
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
reed@google.com [Mon, 29 Aug 2011 17:49:23 +0000 (17:49 +0000)]
add
git-svn-id: http://skia.googlecode.com/svn/trunk@2185
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 29 Aug 2011 17:41:02 +0000 (17:41 +0000)]
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
bsalomon@google.com [Mon, 29 Aug 2011 15:18:41 +0000 (15:18 +0000)]
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
epoger@google.com [Mon, 29 Aug 2011 13:55:11 +0000 (13:55 +0000)]
whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2182
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 26 Aug 2011 14:40:38 +0000 (14:40 +0000)]
rolling back the experimental rollbacks in r2178-2179
git-svn-id: http://skia.googlecode.com/svn/trunk@2180
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 26 Aug 2011 14:27:59 +0000 (14:27 +0000)]
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
tomhudson@google.com [Fri, 26 Aug 2011 13:19:39 +0000 (13:19 +0000)]
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
epoger@google.com [Thu, 25 Aug 2011 22:50:55 +0000 (22:50 +0000)]
whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2177
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 25 Aug 2011 21:52:10 +0000 (21:52 +0000)]
whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2176
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Aug 2011 21:12:57 +0000 (21:12 +0000)]
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
epoger@google.com [Thu, 25 Aug 2011 20:18:33 +0000 (20:18 +0000)]
whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2174
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Thu, 25 Aug 2011 19:56:04 +0000 (19:56 +0000)]
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
twiz@google.com [Thu, 25 Aug 2011 19:27:20 +0000 (19:27 +0000)]
Export SkPDFDevice::setDrawingArea as SK_API.
git-svn-id: http://skia.googlecode.com/svn/trunk@2172
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Thu, 25 Aug 2011 15:50:54 +0000 (15:50 +0000)]
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
tomhudson@google.com [Thu, 25 Aug 2011 15:37:03 +0000 (15:37 +0000)]
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
reed@google.com [Wed, 24 Aug 2011 15:38:46 +0000 (15:38 +0000)]
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
reed@google.com [Wed, 24 Aug 2011 13:14:47 +0000 (13:14 +0000)]
add more samples
git-svn-id: http://skia.googlecode.com/svn/trunk@2168
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 24 Aug 2011 03:29:11 +0000 (03:29 +0000)]
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
reed@google.com [Tue, 23 Aug 2011 21:34:51 +0000 (21:34 +0000)]
rebaseline now that subpixel position is respected
git-svn-id: http://skia.googlecode.com/svn/trunk@2166
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 23 Aug 2011 21:30:47 +0000 (21:30 +0000)]
respect subpixel positioning
git-svn-id: http://skia.googlecode.com/svn/trunk@2165
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 23 Aug 2011 20:54:07 +0000 (20:54 +0000)]
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