robertphillips@google.com [Mon, 12 Nov 2012 20:42:12 +0000 (20:42 +0000)]
Update debugger GUI to have profile button & list widget to optionally display time
https://codereview.appspot.com/6813117/
git-svn-id: http://skia.googlecode.com/svn/trunk@6385
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Mon, 12 Nov 2012 19:41:02 +0000 (19:41 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6381
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 12 Nov 2012 18:04:51 +0000 (18:04 +0000)]
Add a self-test for gm, similar to our self-test for skdiff.
Review URL: https://codereview.appspot.com/6827068
git-svn-id: http://skia.googlecode.com/svn/trunk@6380
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 12 Nov 2012 18:03:19 +0000 (18:03 +0000)]
Update filter tool to handle PNG encoded SkBitmaps
https://codereview.appspot.com/6813094/
git-svn-id: http://skia.googlecode.com/svn/trunk@6379
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Mon, 12 Nov 2012 16:18:43 +0000 (16:18 +0000)]
Tell CG ImageEncoder that a bitmap is opaque if it is.
Review URL: https://codereview.appspot.com/6819110
git-svn-id: http://skia.googlecode.com/svn/trunk@6378
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 12 Nov 2012 13:38:57 +0000 (13:38 +0000)]
Revert 6351 due to bugs.
git-svn-id: http://skia.googlecode.com/svn/trunk@6377
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sat, 10 Nov 2012 02:01:26 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6376
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 9 Nov 2012 22:14:19 +0000 (22:14 +0000)]
shape ops work in progress
first cut at getting binary ops to work
(union/intersection/diff/xor)
git-svn-id: http://skia.googlecode.com/svn/trunk@6375
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 9 Nov 2012 21:59:52 +0000 (21:59 +0000)]
use SKIRect::centerX,Y
git-svn-id: http://skia.googlecode.com/svn/trunk@6374
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 9 Nov 2012 21:39:48 +0000 (21:39 +0000)]
add explicit mapScalars and mapMScalars entry-points, instead of just map()
git-svn-id: http://skia.googlecode.com/svn/trunk@6373
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 9 Nov 2012 21:28:55 +0000 (21:28 +0000)]
simplify macros, since we no longer support scalar == fixed
git-svn-id: http://skia.googlecode.com/svn/trunk@6372
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 9 Nov 2012 21:25:06 +0000 (21:25 +0000)]
add quick-n-dirty test for concat on matrix44
Review URL: https://codereview.appspot.com/6827069
git-svn-id: http://skia.googlecode.com/svn/trunk@6371
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 9 Nov 2012 17:07:42 +0000 (17:07 +0000)]
When looking for the head table directory entry, compare against the current entry and not the name table entry.
git-svn-id: http://skia.googlecode.com/svn/trunk@6368
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 9 Nov 2012 14:51:18 +0000 (14:51 +0000)]
report max pixel error on failure, rather than the hex of the first mismatched pixel
Review URL: https://codereview.appspot.com/6826080
git-svn-id: http://skia.googlecode.com/svn/trunk@6365
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 9 Nov 2012 14:30:48 +0000 (14:30 +0000)]
add entry-point to SkMaskFilter to fast-path rectangles.
have blurmaskfilter override this new method.
#define SK_IGNORE_FAST_BLURRECT if you want to disable this (not sure if we'll need this)
Review URL: https://codereview.appspot.com/6815087
git-svn-id: http://skia.googlecode.com/svn/trunk@6363
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Fri, 9 Nov 2012 02:01:24 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6362
2bbb7eff-a529-9590-31e7-
b0007b416f81
bensong@google.com [Fri, 9 Nov 2012 02:00:03 +0000 (02:00 +0000)]
Adds a file for revision annotations on dashboard.
git-svn-id: http://skia.googlecode.com/svn/trunk@6361
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 8 Nov 2012 22:36:19 +0000 (22:36 +0000)]
add centerX() and centerY() to SkIRect (because they made me)
Review URL: https://codereview.appspot.com/6826078
git-svn-id: http://skia.googlecode.com/svn/trunk@6360
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 8 Nov 2012 20:51:57 +0000 (20:51 +0000)]
use DEF_BENCH to simplify lots of registrations
git-svn-id: http://skia.googlecode.com/svn/trunk@6358
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 8 Nov 2012 20:32:13 +0000 (20:32 +0000)]
Fix texture domain clipping assertion. It is OK to have a degenerate domain.
Review URL: https://codereview.appspot.com/6812101
git-svn-id: http://skia.googlecode.com/svn/trunk@6356
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 8 Nov 2012 15:30:53 +0000 (15:30 +0000)]
Apply intersect rects to earlier clip elements and skip rects when possible.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6814105
git-svn-id: http://skia.googlecode.com/svn/trunk@6351
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 8 Nov 2012 15:06:52 +0000 (15:06 +0000)]
Update WIC Image decoder to unpremul colors before save
https://codereview.appspot.com/6826069/
git-svn-id: http://skia.googlecode.com/svn/trunk@6349
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 8 Nov 2012 13:46:32 +0000 (13:46 +0000)]
Update SampleApp to handle PNG encoded skps
https://codereview.appspot.com/6816105/
git-svn-id: http://skia.googlecode.com/svn/trunk@6347
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Thu, 8 Nov 2012 02:03:56 +0000 (02:03 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6344
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 8 Nov 2012 00:38:22 +0000 (00:38 +0000)]
Fix for Chrome mac_gpu compiler failure
unreviewed
git-svn-id: http://skia.googlecode.com/svn/trunk@6343
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Wed, 7 Nov 2012 22:32:12 +0000 (22:32 +0000)]
Add Git support to the simple rebaseline tool. Do SVN commands only in an svn checkout.
Review URL: https://codereview.appspot.com/6814099
git-svn-id: http://skia.googlecode.com/svn/trunk@6341
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 7 Nov 2012 22:06:55 +0000 (22:06 +0000)]
check to see if CGImage already knows if we're opaque
Review URL: https://codereview.appspot.com/6838043
git-svn-id: http://skia.googlecode.com/svn/trunk@6340
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 7 Nov 2012 21:19:10 +0000 (21:19 +0000)]
Combine multiple intersecting rects in SkClipStack::Iter.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6816104
git-svn-id: http://skia.googlecode.com/svn/trunk@6339
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Wed, 7 Nov 2012 21:18:59 +0000 (21:18 +0000)]
Whitespace change to trigger bots after r6337
git-svn-id: http://skia.googlecode.com/svn/trunk@6338
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 7 Nov 2012 18:30:18 +0000 (18:30 +0000)]
CG imagedecoder never sets isOpaque, so add method to SkBitmap to compute that,
and call it from CG imagedecoder.
Review URL: https://codereview.appspot.com/6816101
git-svn-id: http://skia.googlecode.com/svn/trunk@6334
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 7 Nov 2012 18:01:46 +0000 (18:01 +0000)]
Add a new PictureRenderer that draws the picture then breaks up into tiles.
Review URL: https://codereview.appspot.com/6820103
git-svn-id: http://skia.googlecode.com/svn/trunk@6333
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 7 Nov 2012 17:52:48 +0000 (17:52 +0000)]
Add an option to render_pictures to rerecord the pictures with PNG encoded bitmaps.
Review URL: https://codereview.appspot.com/6821092
git-svn-id: http://skia.googlecode.com/svn/trunk@6332
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Wed, 7 Nov 2012 17:38:38 +0000 (17:38 +0000)]
Unit testing for SkTileGrid
Review URL: https://codereview.appspot.com/6827053
git-svn-id: http://skia.googlecode.com/svn/trunk@6331
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Wed, 7 Nov 2012 16:42:17 +0000 (16:42 +0000)]
Add low blur and AAClip options to picture bench.
Copy the settings instead of pointing to the
original set on the stack.
Review URL: https://codereview.appspot.com/6818103
git-svn-id: http://skia.googlecode.com/svn/trunk@6330
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 7 Nov 2012 16:17:24 +0000 (16:17 +0000)]
Some improvements to reduce the number of pixels touched in generating alpha clip masks
Review URL: https://codereview.appspot.com/6828043
git-svn-id: http://skia.googlecode.com/svn/trunk@6329
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Wed, 7 Nov 2012 14:54:49 +0000 (14:54 +0000)]
Add temporary interfaces in blur and clip to
permit testing if it is to our advantage
to selectively disable soft clipping and
high quality blurs during animations.
Review URL: https://codereview.appspot.com/6812092
git-svn-id: http://skia.googlecode.com/svn/trunk@6328
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 7 Nov 2012 14:23:42 +0000 (14:23 +0000)]
fix SkRegion::intersects(rect) where the part of the rgn that we intersect is
the last run. The old bug was that we did an early exit from the loop because
we were comparing against the next rgn.bottom, instead of the current one.
inspired and fixed by danakj http://code.google.com/p/skia/issues/detail?id=958
Review URL: https://codereview.appspot.com/6812099
git-svn-id: http://skia.googlecode.com/svn/trunk@6327
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 7 Nov 2012 13:01:25 +0000 (13:01 +0000)]
Convert clipPaths to clipRects where possible in pictureRecord
https://codereview.appspot.com/6820104/
git-svn-id: http://skia.googlecode.com/svn/trunk@6325
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Wed, 7 Nov 2012 03:39:46 +0000 (03:39 +0000)]
fix SkRegion::contains(rect), thanks to danakj and code.google.com/p/skia/issues/detail?id=958
git-svn-id: http://skia.googlecode.com/svn/trunk@6324
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Wed, 7 Nov 2012 01:57:32 +0000 (01:57 +0000)]
add SkRegion tests, inspired by code.google.com/p/skia/issues/detail?id=958
git-svn-id: http://skia.googlecode.com/svn/trunk@6323
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Tue, 6 Nov 2012 23:10:09 +0000 (23:10 +0000)]
Decode images during deserialization in the picture debugger.
Necessary now that our checked in SKPs have encoded bitmaps in them (since https://code.google.com/p/skia/source/detail?r=6317)
Review URL: https://codereview.appspot.com/6812093
git-svn-id: http://skia.googlecode.com/svn/trunk@6322
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 6 Nov 2012 22:14:54 +0000 (22:14 +0000)]
include SkPaint.h
git-svn-id: http://skia.googlecode.com/svn/trunk@6321
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 6 Nov 2012 22:02:51 +0000 (22:02 +0000)]
add more utilities: roundIn(), offsetTo()
git-svn-id: http://skia.googlecode.com/svn/trunk@6320
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 6 Nov 2012 21:29:16 +0000 (21:29 +0000)]
leading character accidentally deleted on merge
git-svn-id: http://skia.googlecode.com/svn/trunk@6319
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 6 Nov 2012 21:26:13 +0000 (21:26 +0000)]
add draw filter option to picture_bench
Option allows adding a draw filter option per type
or for all types. All SkPaint flags may be filtered,
plus disabling blur and setting the hint level.
Review URL: https://codereview.appspot.com/6816092
git-svn-id: http://skia.googlecode.com/svn/trunk@6318
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Tue, 6 Nov 2012 20:29:39 +0000 (20:29 +0000)]
Break out SkOffsetImageFilter into its own file, and derive it from
SkSingleInputImageFilter, to make it DAG-friendly.
Review URL: https://codereview.appspot.com/6822086
git-svn-id: http://skia.googlecode.com/svn/trunk@6315
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Tue, 6 Nov 2012 18:58:43 +0000 (18:58 +0000)]
Adding SkTileGrid: a new subclass of BBoxHierarchy, optimized for tiled playback.
Review URL: https://codereview.appspot.com/6820093
git-svn-id: http://skia.googlecode.com/svn/trunk@6314
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Tue, 6 Nov 2012 18:36:33 +0000 (18:36 +0000)]
Avoid re-definition of STDC symbols, needed for my ffmpeg work.
See changes to build/common.gypi in https://codereview.chromium.org/
11364077/
BUG=118986, 91970
Review URL: https://codereview.appspot.com/6810088
Patch from Paweł Hajdan, Jr. <phajdan.jr@chromium.org>.
git-svn-id: http://skia.googlecode.com/svn/trunk@6313
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Tue, 6 Nov 2012 16:55:24 +0000 (16:55 +0000)]
Minimal changes to SkFontHost_fontconfig to not crash in normal use.
git-svn-id: http://skia.googlecode.com/svn/trunk@6312
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Tue, 6 Nov 2012 16:54:40 +0000 (16:54 +0000)]
Fix the PictureRecord step of BenchPictures.
Review URL: https://codereview.appspot.com/6820100
git-svn-id: http://skia.googlecode.com/svn/trunk@6311
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 6 Nov 2012 16:45:36 +0000 (16:45 +0000)]
Enhanced debugger with command indenting and Path Bound print out
https://codereview.appspot.com/6820099/
git-svn-id: http://skia.googlecode.com/svn/trunk@6309
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Tue, 6 Nov 2012 15:51:26 +0000 (15:51 +0000)]
Whitespace change to trigger bots after r6307
Builds which skipped failing steps are showing successes; this is addressed in
https://code.google.com/p/skia/issues/detail?id=955
git-svn-id: http://skia.googlecode.com/svn/trunk@6308
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Tue, 6 Nov 2012 13:18:25 +0000 (13:18 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6306
2bbb7eff-a529-9590-31e7-
b0007b416f81
thakis@chromium.org [Tue, 6 Nov 2012 00:22:56 +0000 (00:22 +0000)]
Remove a pointless anonymous namespace in a header.
Review URL: https://codereview.appspot.com/6827047
git-svn-id: http://skia.googlecode.com/svn/trunk@6304
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 5 Nov 2012 21:00:26 +0000 (21:00 +0000)]
Remove assert to allow Android bots (that don't support NPOT textures) to continue in Debug mode
https://codereview.appspot.com/6820094/
git-svn-id: http://skia.googlecode.com/svn/trunk@6303
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 5 Nov 2012 19:28:12 +0000 (19:28 +0000)]
Fix dumb mistake of passing the same matrix to both matrix params of GrGLMatrixEffect::GenKey in texture domain effect.
Review: Over-the-shoulder review from robertphillips@google.com
git-svn-id: http://skia.googlecode.com/svn/trunk@6298
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 5 Nov 2012 16:36:02 +0000 (16:36 +0000)]
Remove default texture coords / texture matrix
Review URL: https://codereview.appspot.com/6775100
git-svn-id: http://skia.googlecode.com/svn/trunk@6293
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 5 Nov 2012 01:31:44 +0000 (01:31 +0000)]
Attempt to patch Chrome compiler failures
git-svn-id: http://skia.googlecode.com/svn/trunk@6289
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Fri, 2 Nov 2012 22:01:26 +0000 (22:01 +0000)]
Make bench_pictures output a meaningful config name.
Review URL: https://codereview.appspot.com/6813074
git-svn-id: http://skia.googlecode.com/svn/trunk@6288
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 2 Nov 2012 21:45:01 +0000 (21:45 +0000)]
Make all remaining effects use GrGLEffectMatrix
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6817079
git-svn-id: http://skia.googlecode.com/svn/trunk@6286
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Fri, 2 Nov 2012 21:28:12 +0000 (21:28 +0000)]
In bench_pictures --multi, maintain thread local caches.
Builds on https://codereview.appspot.com/6718046/ by mtklein.
Previously, each iteration of drawing a picture started new threads to draw the picture. Since each thread is using thread local storage for the font cache, this means that each iteration had to start with an empty font cache.
The newly added MultiCorePictureRenderer, separated from TiledPictureRenderer, now starts the drawing threads at the beginning of the test using an SkThreadPool, and keeps them alive through all iterations, so the font cache can be reused.
For now, I have removed the pipe version of the threaded renderer.
Updated bench_pictures_main and render_pictures_main to use the new
renderer, and to unref a renderer before early exit.
Review URL: https://codereview.appspot.com/6777063
git-svn-id: http://skia.googlecode.com/svn/trunk@6285
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 2 Nov 2012 21:11:12 +0000 (21:11 +0000)]
add blurrect gm
git-svn-id: http://skia.googlecode.com/svn/trunk@6284
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Fri, 2 Nov 2012 20:51:19 +0000 (20:51 +0000)]
When cloning into an SkPicture, clear its data.
Prevents a memory leak if the caller clones into an SkPicture
that already has a playback or record.
Review URL: https://codereview.appspot.com/6813081
git-svn-id: http://skia.googlecode.com/svn/trunk@6282
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 2 Nov 2012 20:45:37 +0000 (20:45 +0000)]
Make morphology, convolution, and table color filter opt out of default texture matrices.
Review URL: https://codereview.appspot.com/6817077
git-svn-id: http://skia.googlecode.com/svn/trunk@6280
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 2 Nov 2012 19:59:18 +0000 (19:59 +0000)]
add 'c' toggle to test clipping
git-svn-id: http://skia.googlecode.com/svn/trunk@6278
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 2 Nov 2012 19:50:26 +0000 (19:50 +0000)]
Make GrGLTextureDomainEffect use GrGLEffectMatrix.
Also, don't send redundant domain.
Review URL: https://codereview.appspot.com/6820082
git-svn-id: http://skia.googlecode.com/svn/trunk@6276
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Fri, 2 Nov 2012 19:16:22 +0000 (19:16 +0000)]
Fixing crash in render_pictures. Uninitialized member in PictureRenderer
TBR=scroggo
git-svn-id: http://skia.googlecode.com/svn/trunk@6272
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 2 Nov 2012 18:35:04 +0000 (18:35 +0000)]
Split off SkConsistentChecksum from SkChecksum
as part of https://goto.google.com/ImprovingTheSkiaRebaseliningProcess
Review URL: https://codereview.appspot.com/6820074
git-svn-id: http://skia.googlecode.com/svn/trunk@6270
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 2 Nov 2012 18:23:45 +0000 (18:23 +0000)]
Make GrGLConfigConversionEffect use GrGLEffectMatrix
Review URL: https://codereview.appspot.com/6815074
git-svn-id: http://skia.googlecode.com/svn/trunk@6268
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Fri, 2 Nov 2012 18:11:49 +0000 (18:11 +0000)]
Adding rtree support to the bench_pictures utility
Review URL: https://codereview.appspot.com/6775080
git-svn-id: http://skia.googlecode.com/svn/trunk@6267
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 2 Nov 2012 17:38:28 +0000 (17:38 +0000)]
Fix for 2 parallel gpu rendering issues (bigbitmaprect & image-surface)
https://codereview.appspot.com/6816079/
git-svn-id: http://skia.googlecode.com/svn/trunk@6266
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Fri, 2 Nov 2012 12:46:23 +0000 (12:46 +0000)]
Another whitespace change to trigger bots
git-svn-id: http://skia.googlecode.com/svn/trunk@6263
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Fri, 2 Nov 2012 12:23:00 +0000 (12:23 +0000)]
Whitespace change to trigger bots
Fixed chicken-and-egg problem where the update_scripts step couldn't run
because the script hadn't been downloaded yet.
git-svn-id: http://skia.googlecode.com/svn/trunk@6261
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Fri, 2 Nov 2012 11:37:26 +0000 (11:37 +0000)]
Whitespace change to trigger rebuild after r6259
git-svn-id: http://skia.googlecode.com/svn/trunk@6260
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Fri, 2 Nov 2012 02:01:24 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6258
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 1 Nov 2012 22:18:10 +0000 (22:18 +0000)]
Disable static asserts to get Chrome compiling
git-svn-id: http://skia.googlecode.com/svn/trunk@6257
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Thu, 1 Nov 2012 20:07:33 +0000 (20:07 +0000)]
Support render_pdfs in iOS too (add tool_main()).
git-svn-id: http://skia.googlecode.com/svn/trunk@6254
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Thu, 1 Nov 2012 19:52:38 +0000 (19:52 +0000)]
Add utility to convert skp files to pdf files. Code compatible with render_pictures_main.cpp. I could have refactored the code to avoid code duplication, but it does not seem right, and it will overcomplicate the code.
Review URL: https://codereview.appspot.com/6615073
git-svn-id: http://skia.googlecode.com/svn/trunk@6253
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 1 Nov 2012 18:03:48 +0000 (18:03 +0000)]
Check modulo values passed to GM.
R=reed@google.com
Review URL: https://codereview.appspot.com/6820073
git-svn-id: http://skia.googlecode.com/svn/trunk@6248
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 1 Nov 2012 18:02:54 +0000 (18:02 +0000)]
Replace GrMatrix with SkMatrix.
Review URL: https://codereview.appspot.com/6814067
git-svn-id: http://skia.googlecode.com/svn/trunk@6247
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Thu, 1 Nov 2012 18:01:08 +0000 (18:01 +0000)]
Fix NoGPU build
Some link settings were set in the wrong targets
git-svn-id: http://skia.googlecode.com/svn/trunk@6246
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Thu, 1 Nov 2012 17:43:44 +0000 (17:43 +0000)]
Improve NaCl support
- Add nacl_make script to build Skia targets for NaCl using gyp
- Add nacl_interface for command-line apps
- Add nacl_sample as front-end for SampleApp
- Add freetype to DEPS
- Various gyp tweaks for NaCl
TODO:
- Implement GL interface
- Implement font host
- Fix plumbing so that SampleApp works properly
Review URL: https://codereview.appspot.com/6671044
git-svn-id: http://skia.googlecode.com/svn/trunk@6245
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 1 Nov 2012 17:31:02 +0000 (17:31 +0000)]
Fix leaks in SkSurface_Gpu.cpp
https://codereview.appspot.com/6826046/
git-svn-id: http://skia.googlecode.com/svn/trunk@6244
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 1 Nov 2012 17:12:34 +0000 (17:12 +0000)]
Remove GrScalar, replace with SkScalar.
Review URL: https://codereview.appspot.com/6812064
git-svn-id: http://skia.googlecode.com/svn/trunk@6243
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Thu, 1 Nov 2012 17:10:32 +0000 (17:10 +0000)]
Refactoring RTree integration to support SkBBoxHierarchy polymorphism in SkPicture.
This moves the rtree creation into a virtual method.
Review URL: https://codereview.appspot.com/6811057
git-svn-id: http://skia.googlecode.com/svn/trunk@6242
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 1 Nov 2012 17:02:46 +0000 (17:02 +0000)]
Reland r6233 with fix.
git-svn-id: http://skia.googlecode.com/svn/trunk@6241
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 1 Nov 2012 16:28:23 +0000 (16:28 +0000)]
Use SkToBool to fix a warning.
Review URL: https://codereview.appspot.com/6818069
git-svn-id: http://skia.googlecode.com/svn/trunk@6240
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 1 Nov 2012 15:47:55 +0000 (15:47 +0000)]
Re-revert r6233.
git-svn-id: http://skia.googlecode.com/svn/trunk@6239
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 1 Nov 2012 15:40:47 +0000 (15:40 +0000)]
Reland r6233 with fix for config conversion texture matrices.
git-svn-id: http://skia.googlecode.com/svn/trunk@6238
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 1 Nov 2012 14:02:43 +0000 (14:02 +0000)]
Revert r6233 while investigating bot failures.
git-svn-id: http://skia.googlecode.com/svn/trunk@6235
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 1 Nov 2012 13:50:50 +0000 (13:50 +0000)]
Checkpoint in moving texture matrices out of GrGLProgram and into GrGLEffect.
Review URL: https://codereview.appspot.com/6818064
git-svn-id: http://skia.googlecode.com/svn/trunk@6233
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 1 Nov 2012 12:15:12 +0000 (12:15 +0000)]
Fix asserts in SkPathMeasure to honor documented API
Review URL: https://codereview.appspot.com/6822061
git-svn-id: http://skia.googlecode.com/svn/trunk@6232
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Thu, 1 Nov 2012 02:01:27 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6228
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Wed, 31 Oct 2012 20:53:49 +0000 (20:53 +0000)]
GDI fonthost to serialize using correct font name.
https://codereview.appspot.com/6822060/
git-svn-id: http://skia.googlecode.com/svn/trunk@6227
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 31 Oct 2012 19:59:23 +0000 (19:59 +0000)]
add SkScalarsEqual() so we don't have to use memcmp for arrays of floats.
git-svn-id: http://skia.googlecode.com/svn/trunk@6226
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 31 Oct 2012 19:29:13 +0000 (19:29 +0000)]
Implement SkCondVar for windows.
Only works on Vista or later, since it uses condition variables.
Review URL: https://codereview.appspot.com/6812062
git-svn-id: http://skia.googlecode.com/svn/trunk@6225
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Wed, 31 Oct 2012 19:00:20 +0000 (19:00 +0000)]
shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@6223
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 31 Oct 2012 18:09:01 +0000 (18:09 +0000)]
Make SkShader store localM directly rather than as a separate alloc.
May cause very slight GM changes in gpu two pt radial/conical radients.
Review URL: https://codereview.appspot.com/6821056
git-svn-id: http://skia.googlecode.com/svn/trunk@6221
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 31 Oct 2012 17:57:01 +0000 (17:57 +0000)]
catch case where clipping shortened the line down to a single pixel, but our
state variables made us draw twice... with different fractional positions (yikes).
Inspired by http://code.google.com/p/chromium/issues/detail?id=148638
tho not necessarily a fix for that issue (can't repro the issue yet).
git-svn-id: http://skia.googlecode.com/svn/trunk@6220
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 31 Oct 2012 16:50:38 +0000 (16:50 +0000)]
Shortcut inverting the identity matrix.
Review URL: https://codereview.appspot.com/6775087/
git-svn-id: http://skia.googlecode.com/svn/trunk@6218
2bbb7eff-a529-9590-31e7-
b0007b416f81