platform/upstream/libSkiaSharp.git
12 years agoFix texture ref/unref bug in GrContext::createResizedTexture
robertphillips@google.com [Tue, 11 Sep 2012 21:25:51 +0000 (21:25 +0000)]
Fix texture ref/unref bug in GrContext::createResizedTexture

https://codereview.appspot.com/6500107/

git-svn-id: http://skia.googlecode.com/svn/trunk@5502 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoRevert r5491, r5495, r5497, and r5498.
borenet@google.com [Tue, 11 Sep 2012 20:39:09 +0000 (20:39 +0000)]
Revert r5491, r5495, r5497, and r5498.
Review URL: https://codereview.appspot.com/6499097

git-svn-id: http://skia.googlecode.com/svn/trunk@5501 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd SkBBoxRecord subclass that builds up a BBoxHierarchy and PictureStateTree.
rileya@google.com [Tue, 11 Sep 2012 20:21:44 +0000 (20:21 +0000)]
Add SkBBoxRecord subclass that builds up a BBoxHierarchy and PictureStateTree.
Review URL: https://codereview.appspot.com/6490104

git-svn-id: http://skia.googlecode.com/svn/trunk@5500 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix GrGLCreateNativeInterface_android
borenet@google.com [Tue, 11 Sep 2012 20:01:04 +0000 (20:01 +0000)]
Fix GrGLCreateNativeInterface_android
Review URL: https://codereview.appspot.com/6503101

git-svn-id: http://skia.googlecode.com/svn/trunk@5499 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd more logging to GrGLInterface. Temporary.
borenet@google.com [Tue, 11 Sep 2012 19:36:43 +0000 (19:36 +0000)]
Add more logging to GrGLInterface.  Temporary.

git-svn-id: http://skia.googlecode.com/svn/trunk@5498 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd lots of logging to GrGLInterface.cpp. Temporary.
borenet@google.com [Tue, 11 Sep 2012 19:29:34 +0000 (19:29 +0000)]
Add lots of logging to GrGLInterface.cpp.  Temporary.

git-svn-id: http://skia.googlecode.com/svn/trunk@5497 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd -logPerIter, -timers, and -min to bench_pictures.
scroggo@google.com [Tue, 11 Sep 2012 19:15:32 +0000 (19:15 +0000)]
Add -logPerIter, -timers, and -min to bench_pictures.

Additional changes:

Add instance count to bench_pictures.

Remove various PictureBenchmark subclasses which did not do
anything besides have a different PictureRenderer.

BUG=https://code.google.com/p/skia/issues/detail?id=856

Review URL: https://codereview.appspot.com/6496109

git-svn-id: http://skia.googlecode.com/svn/trunk@5496 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoprintf->SkDebugf for r5491
borenet@google.com [Tue, 11 Sep 2012 19:00:37 +0000 (19:00 +0000)]
printf->SkDebugf for r5491

Over-the-shoulder review by robertphillips@

git-svn-id: http://skia.googlecode.com/svn/trunk@5495 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix 5492.
bungeman@google.com [Tue, 11 Sep 2012 18:47:43 +0000 (18:47 +0000)]
Fix 5492.

git-svn-id: http://skia.googlecode.com/svn/trunk@5493 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoReduce SkMaskGamma cache thrashing.
bungeman@google.com [Tue, 11 Sep 2012 18:44:55 +0000 (18:44 +0000)]
Reduce SkMaskGamma cache thrashing.
https://codereview.appspot.com/6497114/

git-svn-id: http://skia.googlecode.com/svn/trunk@5492 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoTemporarily add logging to GrContextFactory and SkNativeGLContext_android
borenet@google.com [Tue, 11 Sep 2012 18:35:35 +0000 (18:35 +0000)]
Temporarily add logging to GrContextFactory and SkNativeGLContext_android

Over-the-shoulder review from robertphillips@ and bsalomon@

Will revert soon.
Review URL: https://codereview.appspot.com/6496110

git-svn-id: http://skia.googlecode.com/svn/trunk@5491 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agorm temp slides
reed@google.com [Tue, 11 Sep 2012 17:46:42 +0000 (17:46 +0000)]
rm temp slides

git-svn-id: http://skia.googlecode.com/svn/trunk@5488 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoBaseline DirectWrite.
bungeman@google.com [Tue, 11 Sep 2012 17:29:37 +0000 (17:29 +0000)]
Baseline DirectWrite.

git-svn-id: http://skia.googlecode.com/svn/trunk@5487 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoWrap all GrCustomStage textures in GrTextureAccess, remove StageDesc::fInConfigFlags
bsalomon@google.com [Tue, 11 Sep 2012 15:45:20 +0000 (15:45 +0000)]
Wrap all GrCustomStage textures in GrTextureAccess, remove StageDesc::fInConfigFlags

Review URL: https://codereview.appspot.com/6494114

git-svn-id: http://skia.googlecode.com/svn/trunk@5485 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoMake BBoxHierarchy ref-counted, fix leak in RTreeTest.
rileya@google.com [Tue, 11 Sep 2012 15:41:50 +0000 (15:41 +0000)]
Make BBoxHierarchy ref-counted, fix leak in RTreeTest.
Review URL: https://codereview.appspot.com/6489108

git-svn-id: http://skia.googlecode.com/svn/trunk@5484 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd helper for maintaining clip/matrix state in non-contiguous picture playback.
rileya@google.com [Tue, 11 Sep 2012 14:57:33 +0000 (14:57 +0000)]
Add helper for maintaining clip/matrix state in non-contiguous picture playback.
Review URL: https://codereview.appspot.com/6509043

git-svn-id: http://skia.googlecode.com/svn/trunk@5483 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoMove GrTextureAccess decl/defn to separate files
bsalomon@google.com [Tue, 11 Sep 2012 13:29:29 +0000 (13:29 +0000)]
Move GrTextureAccess decl/defn to separate files

Review URL: https://codereview.appspot.com/6500104/

git-svn-id: http://skia.googlecode.com/svn/trunk@5482 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoExtended instance counting to all GrResource-derived classes
robertphillips@google.com [Tue, 11 Sep 2012 13:02:31 +0000 (13:02 +0000)]
Extended instance counting to all GrResource-derived classes

http://codereview.appspot.com/6489109/

git-svn-id: http://skia.googlecode.com/svn/trunk@5480 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoRemoved access of freed memory in GrContext dtor
robertphillips@google.com [Tue, 11 Sep 2012 12:50:53 +0000 (12:50 +0000)]
Removed access of freed memory in GrContext dtor

http://codereview.appspot.com/6488111/

git-svn-id: http://skia.googlecode.com/svn/trunk@5479 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFixed memory leak in RTreeBench
robertphillips@google.com [Tue, 11 Sep 2012 11:54:07 +0000 (11:54 +0000)]
Fixed memory leak in RTreeBench

http://codereview.appspot.com/6500101/

git-svn-id: http://skia.googlecode.com/svn/trunk@5478 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Tue, 11 Sep 2012 02:01:14 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@5477 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix for DEPS compiler issue in SkGrFontScaler.cpp
robertphillips@google.com [Mon, 10 Sep 2012 22:57:42 +0000 (22:57 +0000)]
Fix for DEPS compiler issue in SkGrFontScaler.cpp

unreviewed

git-svn-id: http://skia.googlecode.com/svn/trunk@5476 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoInit graphics in bench_pictures.
scroggo@google.com [Mon, 10 Sep 2012 20:29:13 +0000 (20:29 +0000)]
Init graphics in bench_pictures.

Should fix http://code.google.com/p/skia/issues/detail?id=858
Review URL: https://codereview.appspot.com/6490100

git-svn-id: http://skia.googlecode.com/svn/trunk@5475 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoland https://codereview.appspot.com/6492099/ -- fix for iOS
reed@google.com [Mon, 10 Sep 2012 20:18:24 +0000 (20:18 +0000)]
land https://codereview.appspot.com/6492099/ -- fix for iOS

git-svn-id: http://skia.googlecode.com/svn/trunk@5474 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdded Qt 4.8.1 moc files for precise builds
robertphillips@google.com [Mon, 10 Sep 2012 19:24:47 +0000 (19:24 +0000)]
Added Qt 4.8.1 moc files for precise builds

http://codereview.appspot.com/6488108/

git-svn-id: http://skia.googlecode.com/svn/trunk@5473 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix ordering of initializer list to fix compiler complaints.
rileya@google.com [Mon, 10 Sep 2012 19:01:38 +0000 (19:01 +0000)]
Fix ordering of initializer list to fix compiler complaints.

git-svn-id: http://skia.googlecode.com/svn/trunk@5472 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoWhitespace change to trigger rebuild after skp checkin
borenet@google.com [Mon, 10 Sep 2012 18:56:56 +0000 (18:56 +0000)]
Whitespace change to trigger rebuild after skp checkin

git-svn-id: http://skia.googlecode.com/svn/trunk@5471 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd per-picture logging to render_pictures
borenet@google.com [Mon, 10 Sep 2012 18:18:38 +0000 (18:18 +0000)]
Add per-picture logging to render_pictures

This will be helpful for debugging crashes
Review URL: https://codereview.appspot.com/6495112

git-svn-id: http://skia.googlecode.com/svn/trunk@5469 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix bug in R-Tree bulk-load. Unreviewed.
rileya@google.com [Mon, 10 Sep 2012 18:11:17 +0000 (18:11 +0000)]
Fix bug in R-Tree bulk-load. Unreviewed.

git-svn-id: http://skia.googlecode.com/svn/trunk@5468 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd optional aspect ratio parameter to R-Tree, this helps the bulk load algorithm...
rileya@google.com [Mon, 10 Sep 2012 17:31:05 +0000 (17:31 +0000)]
Add optional aspect ratio parameter to R-Tree, this helps the bulk load algorithm create more square tiles.
Review URL: https://codereview.appspot.com/6489102

git-svn-id: http://skia.googlecode.com/svn/trunk@5466 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix render_pictures for skia_static_initializers=0
borenet@google.com [Mon, 10 Sep 2012 17:19:06 +0000 (17:19 +0000)]
Fix render_pictures for skia_static_initializers=0
Review URL: https://codereview.appspot.com/6500097

git-svn-id: http://skia.googlecode.com/svn/trunk@5465 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix Android build of render_pictures (Again)
borenet@google.com [Mon, 10 Sep 2012 16:20:47 +0000 (16:20 +0000)]
Fix Android build of render_pictures (Again)

picture_renderer was somehow picking up effects as a dependency, but effects
was not present in the shared library on Android at load time.
Review URL: https://codereview.appspot.com/6498113

git-svn-id: http://skia.googlecode.com/svn/trunk@5464 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agodisable replay for now
reed@google.com [Mon, 10 Sep 2012 16:06:18 +0000 (16:06 +0000)]
disable replay for now

git-svn-id: http://skia.googlecode.com/svn/trunk@5463 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix Android build of render_pictures
borenet@google.com [Mon, 10 Sep 2012 14:41:26 +0000 (14:41 +0000)]
Fix Android build of render_pictures
Review URL: https://codereview.appspot.com/6501113

git-svn-id: http://skia.googlecode.com/svn/trunk@5462 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoadd techtalk slide for now (can remove it tomorrow)
reed@google.com [Mon, 10 Sep 2012 14:27:37 +0000 (14:27 +0000)]
add techtalk slide for now (can remove it tomorrow)

git-svn-id: http://skia.googlecode.com/svn/trunk@5461 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix issue where bw bitmask uploaded to gr 565, 8888 glyph cache
bsalomon@google.com [Mon, 10 Sep 2012 13:28:00 +0000 (13:28 +0000)]
Fix issue where bw bitmask uploaded to gr 565, 8888 glyph cache

Review URL: https://codereview.appspot.com/6498105/

git-svn-id: http://skia.googlecode.com/svn/trunk@5459 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoupdate MS counter to show actual milliseconds
reed@google.com [Mon, 10 Sep 2012 11:52:52 +0000 (11:52 +0000)]
update MS counter to show actual milliseconds

git-svn-id: http://skia.googlecode.com/svn/trunk@5458 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agocache decoded bitmap in global for now
reed@google.com [Mon, 10 Sep 2012 11:50:26 +0000 (11:50 +0000)]
cache decoded bitmap in global for now

git-svn-id: http://skia.googlecode.com/svn/trunk@5457 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Mon, 10 Sep 2012 02:01:22 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@5456 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoenable lcdtext
mike@reedtribe.org [Mon, 10 Sep 2012 01:43:42 +0000 (01:43 +0000)]
enable lcdtext

git-svn-id: http://skia.googlecode.com/svn/trunk@5455 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoupdate
mike@reedtribe.org [Mon, 10 Sep 2012 01:01:51 +0000 (01:01 +0000)]
update

git-svn-id: http://skia.googlecode.com/svn/trunk@5454 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoRemoved old resource locking system
robertphillips@google.com [Sun, 9 Sep 2012 14:44:15 +0000 (14:44 +0000)]
Removed old resource locking system

https://codereview.appspot.com/6488098/

git-svn-id: http://skia.googlecode.com/svn/trunk@5453 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Sun, 9 Sep 2012 02:01:52 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@5452 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoapend sample_grab file name with .png
reed@google.com [Sat, 8 Sep 2012 21:20:33 +0000 (21:20 +0000)]
apend sample_grab file name with .png

git-svn-id: http://skia.googlecode.com/svn/trunk@5451 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agochange duration of transition animation to 1, effectively removing it (for now)
reed@google.com [Sat, 8 Sep 2012 20:14:23 +0000 (20:14 +0000)]
change duration of transition animation to 1, effectively removing it (for now)

git-svn-id: http://skia.googlecode.com/svn/trunk@5450 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoupdate
reed@google.com [Sat, 8 Sep 2012 20:00:36 +0000 (20:00 +0000)]
update

git-svn-id: http://skia.googlecode.com/svn/trunk@5449 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoexperimental
reed@google.com [Sat, 8 Sep 2012 16:52:23 +0000 (16:52 +0000)]
experimental

git-svn-id: http://skia.googlecode.com/svn/trunk@5448 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Sat, 8 Sep 2012 02:06:44 +0000 (02:06 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@5447 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix mask gamma rounding issues on x87.
bungeman@google.com [Fri, 7 Sep 2012 21:45:19 +0000 (21:45 +0000)]
Fix mask gamma rounding issues on x87.
https://codereview.appspot.com/6497091/

May require rebaselines.

git-svn-id: http://skia.googlecode.com/svn/trunk@5446 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdded explicit cache clearing
robertphillips@google.com [Fri, 7 Sep 2012 19:44:33 +0000 (19:44 +0000)]
Added explicit cache clearing

http://codereview.appspot.com/6492094/

git-svn-id: http://skia.googlecode.com/svn/trunk@5444 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoWhitespace change to cycle the bots after master restart
borenet@google.com [Fri, 7 Sep 2012 19:28:11 +0000 (19:28 +0000)]
Whitespace change to cycle the bots after master restart

git-svn-id: http://skia.googlecode.com/svn/trunk@5443 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdded cache stats printout to tests
robertphillips@google.com [Fri, 7 Sep 2012 18:24:43 +0000 (18:24 +0000)]
Added cache stats printout to tests

http://codereview.appspot.com/6495104/

git-svn-id: http://skia.googlecode.com/svn/trunk@5438 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoRemove extraneous const qualifier.
bsalomon@google.com [Fri, 7 Sep 2012 16:52:24 +0000 (16:52 +0000)]
Remove extraneous const qualifier.

Found by clang:
[293/898] CXX obj/src/gpu/gl/gr.GrGpuGL.o
../../src/gpu/gl/GrGpuGL.cpp:2031:1: warning: 'const' type qualifier on return
type has no effect [-Wignored-qualifiers]
const GrGLenum tile_to_gl_wrap(SkShader::TileMode tm) {
        ^~~~~

Signed-off-by: Thiago Farina <tfarina@chromium.org>
Review URL: https://codereview.appspot.com/6492093/

git-svn-id: http://skia.googlecode.com/svn/trunk@5437 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agodownload_baselines: allow user to select which builder's images to download
epoger@google.com [Fri, 7 Sep 2012 16:05:34 +0000 (16:05 +0000)]
download_baselines: allow user to select which builder's images to download
BUG=806
Review URL: https://codereview.appspot.com/6492091

git-svn-id: http://skia.googlecode.com/svn/trunk@5435 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix for Windows build.
scroggo@google.com [Fri, 7 Sep 2012 15:57:18 +0000 (15:57 +0000)]
Fix for Windows build.

Review URL: https://codereview.appspot.com/6494098

git-svn-id: http://skia.googlecode.com/svn/trunk@5434 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoSkPathRef: one allocation for pts+verbs, path GenID, copy-on-write
bsalomon@google.com [Fri, 7 Sep 2012 15:35:06 +0000 (15:35 +0000)]
SkPathRef: one allocation for pts+verbs, path GenID, copy-on-write

Review URL: https://codereview.appspot.com/6488063/

git-svn-id: http://skia.googlecode.com/svn/trunk@5433 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoReport data from bench_pictures in the same fashion as bench.
scroggo@google.com [Fri, 7 Sep 2012 15:21:18 +0000 (15:21 +0000)]
Report data from bench_pictures in the same fashion as bench.

Move SkBenchLogger into separate files and make bench_pictures use it.
Remove sk_tools::print_msg, since SkBenchLogger is now used instead.

Combine picture_benchmark with bench_pictures, since that is the
only project that uses it.

Refactor the aggregator for bench timer data into its own class and
make bench_pictures use it.

Consolidate the various virtual PictureBenchmark::run functions
into one for reuse.

BUG=https://code.google.com/p/skia/issues/detail?id=822

Review URL: https://codereview.appspot.com/6488086

git-svn-id: http://skia.googlecode.com/svn/trunk@5432 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoTry r5428 again with fix
bsalomon@google.com [Fri, 7 Sep 2012 14:47:31 +0000 (14:47 +0000)]
Try r5428 again with fix

git-svn-id: http://skia.googlecode.com/svn/trunk@5431 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoRevert 5428 and 5429.
bsalomon@google.com [Fri, 7 Sep 2012 14:20:32 +0000 (14:20 +0000)]
Revert 5428 and 5429.

git-svn-id: http://skia.googlecode.com/svn/trunk@5430 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix shader errors in r5428.
bsalomon@google.com [Fri, 7 Sep 2012 14:14:01 +0000 (14:14 +0000)]
Fix shader errors in r5428.

git-svn-id: http://skia.googlecode.com/svn/trunk@5429 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoConsolidate texture access functions, provide default GrTextureAccess
bsalomon@google.com [Fri, 7 Sep 2012 13:54:15 +0000 (13:54 +0000)]
Consolidate texture access functions, provide default GrTextureAccess

Review URL: https://codereview.appspot.com/6506086/

git-svn-id: http://skia.googlecode.com/svn/trunk@5428 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd SK_API to path == decl.
bsalomon@google.com [Fri, 7 Sep 2012 13:32:37 +0000 (13:32 +0000)]
Add SK_API to path == decl.
Over-the-shoulder review from robertphillips@

git-svn-id: http://skia.googlecode.com/svn/trunk@5426 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Fri, 7 Sep 2012 02:01:30 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@5425 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd SkPictureRecord subclass that computes bounding boxes.
rileya@google.com [Thu, 6 Sep 2012 20:50:11 +0000 (20:50 +0000)]
Add SkPictureRecord subclass that computes bounding boxes.
Review URL: https://codereview.appspot.com/6506082

git-svn-id: http://skia.googlecode.com/svn/trunk@5423 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoIntroduce GrGLShaderBuilder::TextureSampler
bsalomon@google.com [Thu, 6 Sep 2012 20:22:31 +0000 (20:22 +0000)]
Introduce GrGLShaderBuilder::TextureSampler

Review URL: https://codereview.appspot.com/6495099/

git-svn-id: http://skia.googlecode.com/svn/trunk@5422 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFixed Windows compiler complaints (esp. in debugger)
robertphillips@google.com [Thu, 6 Sep 2012 18:43:21 +0000 (18:43 +0000)]
Fixed Windows compiler complaints (esp. in debugger)

https://codereview.appspot.com/6497090/

git-svn-id: http://skia.googlecode.com/svn/trunk@5419 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoExport SkPath equality operator.
wjmaclean@chromium.org [Thu, 6 Sep 2012 18:42:03 +0000 (18:42 +0000)]
Export SkPath equality operator.

This change will allow external access to the SkPath equality operator.

BUG=none

Review URL: https://codereview.appspot.com/6500079

git-svn-id: http://skia.googlecode.com/svn/trunk@5418 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdded 4.6.2 prefix to existing debugger moc files
robertphillips@google.com [Thu, 6 Sep 2012 18:04:07 +0000 (18:04 +0000)]
Added 4.6.2 prefix to existing debugger moc files

http://codereview.appspot.com/6488090/

git-svn-id: http://skia.googlecode.com/svn/trunk@5416 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdding 4.8.2 moc files for debugger
robertphillips@google.com [Thu, 6 Sep 2012 18:02:52 +0000 (18:02 +0000)]
Adding 4.8.2 moc files for debugger

http://codereview.appspot.com/6494092/

git-svn-id: http://skia.googlecode.com/svn/trunk@5415 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFixed assert in unlockStencilBuffer
robertphillips@google.com [Thu, 6 Sep 2012 14:50:45 +0000 (14:50 +0000)]
Fixed assert in unlockStencilBuffer

http://codereview.appspot.com/6492088/

git-svn-id: http://skia.googlecode.com/svn/trunk@5413 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoRestore line breaking in SkTextBox.
bungeman@google.com [Thu, 6 Sep 2012 14:46:30 +0000 (14:46 +0000)]
Restore line breaking in SkTextBox.
https://codereview.appspot.com/6500078/

git-svn-id: http://skia.googlecode.com/svn/trunk@5412 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix rtree bench name bug. Unreviewed.
rileya@google.com [Thu, 6 Sep 2012 13:38:53 +0000 (13:38 +0000)]
Fix rtree bench name bug. Unreviewed.

git-svn-id: http://skia.googlecode.com/svn/trunk@5411 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Thu, 6 Sep 2012 02:01:13 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@5410 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoRecord the initial matrix when we begin picture-playback, and concat with
reed@google.com [Wed, 5 Sep 2012 23:14:07 +0000 (23:14 +0000)]
Record the initial matrix when we begin picture-playback, and concat with
that if we see a setMatrix command. In this way we can respect the caller's
overall playback matrix environment.
Review URL: https://codereview.appspot.com/6495092

git-svn-id: http://skia.googlecode.com/svn/trunk@5409 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoResource cache now explicitly takes ref of managed resources
robertphillips@google.com [Wed, 5 Sep 2012 19:44:18 +0000 (19:44 +0000)]
Resource cache now explicitly takes ref of managed resources

https://codereview.appspot.com/6489085/

git-svn-id: http://skia.googlecode.com/svn/trunk@5407 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd efffects to the list of dependencies for bench_pictures. Required on Android.
edisonn@google.com [Wed, 5 Sep 2012 19:43:46 +0000 (19:43 +0000)]
Add efffects to the list of dependencies for bench_pictures. Required on Android.
Review URL: http://codereview.appspot.com/6489078

git-svn-id: http://skia.googlecode.com/svn/trunk@5406 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoEnforce calling of inherited onRelease & onAbandon mthds in GrResource-derived classes
robertphillips@google.com [Wed, 5 Sep 2012 18:37:39 +0000 (18:37 +0000)]
Enforce calling of inherited onRelease & onAbandon mthds in GrResource-derived classes

http://codereview.appspot.com/6499077/

git-svn-id: http://skia.googlecode.com/svn/trunk@5405 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd R-Tree bench.
rileya@google.com [Wed, 5 Sep 2012 18:36:17 +0000 (18:36 +0000)]
Add R-Tree bench.
Review URL: https://codereview.appspot.com/6497086

git-svn-id: http://skia.googlecode.com/svn/trunk@5404 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoShut up some Mac (xcode 3) warnings
bsalomon@google.com [Wed, 5 Sep 2012 17:40:04 +0000 (17:40 +0000)]
Shut up some Mac (xcode 3) warnings

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

git-svn-id: http://skia.googlecode.com/svn/trunk@5402 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd R-Tree data structure.
rileya@google.com [Wed, 5 Sep 2012 16:10:59 +0000 (16:10 +0000)]
Add R-Tree data structure.
Review URL: https://codereview.appspot.com/6489055

git-svn-id: http://skia.googlecode.com/svn/trunk@5401 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoSimplified stencil buffer caching
robertphillips@google.com [Wed, 5 Sep 2012 15:46:34 +0000 (15:46 +0000)]
Simplified stencil buffer caching

https://codereview.appspot.com/6503073/

git-svn-id: http://skia.googlecode.com/svn/trunk@5400 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Wed, 5 Sep 2012 02:01:29 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@5399 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd NaCl port of Skia
borenet@google.com [Tue, 4 Sep 2012 21:09:40 +0000 (21:09 +0000)]
Add NaCl port of Skia

Initial commit. This is far from done.
Review URL: https://codereview.appspot.com/6428064

git-svn-id: http://skia.googlecode.com/svn/trunk@5398 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoadd more cases to dashline: circle-vs-square, 0,1,2 stroke_width
reed@google.com [Tue, 4 Sep 2012 20:19:35 +0000 (20:19 +0000)]
add more cases to dashline: circle-vs-square, 0,1,2 stroke_width

git-svn-id: http://skia.googlecode.com/svn/trunk@5397 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoadd bench for drawline + dashing
reed@google.com [Tue, 4 Sep 2012 20:07:23 +0000 (20:07 +0000)]
add bench for drawline + dashing

git-svn-id: http://skia.googlecode.com/svn/trunk@5396 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd ANGLE to DEPS, integrate build
borenet@google.com [Tue, 4 Sep 2012 16:45:05 +0000 (16:45 +0000)]
Add ANGLE to DEPS, integrate build
Review URL: https://codereview.appspot.com/6494052

git-svn-id: http://skia.googlecode.com/svn/trunk@5387 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoUpstream Clank's SkFontHost_Android DRT infinite loop fix.
tomhudson@google.com [Tue, 4 Sep 2012 16:37:09 +0000 (16:37 +0000)]
Upstream Clank's SkFontHost_Android DRT infinite loop fix.

We may have to do future work to reconcile this with Android native; probably pending
Android OS adding a font manager API.

http://codereview.appspot.com/6497081/

git-svn-id: http://skia.googlecode.com/svn/trunk@5386 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoUpstream clank: fix build on platforms (Clang/ARM) that don't support 'optimize'
tomhudson@google.com [Tue, 4 Sep 2012 16:25:27 +0000 (16:25 +0000)]
Upstream clank: fix build on platforms (Clang/ARM) that don't support 'optimize'

http://codereview.appspot.com/6496082/

git-svn-id: http://skia.googlecode.com/svn/trunk@5385 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdd effects/core.gypi to 'sources' to make them appear in VS projects
bsalomon@google.com [Tue, 4 Sep 2012 14:37:12 +0000 (14:37 +0000)]
Add effects/core.gypi to 'sources' to make them appear in VS projects

Review URL: https://codereview.appspot.com/6493075/

git-svn-id: http://skia.googlecode.com/svn/trunk@5384 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix compile error in SkFontHost_none.cpp
borenet@google.com [Tue, 4 Sep 2012 14:32:50 +0000 (14:32 +0000)]
Fix compile error in SkFontHost_none.cpp
Review URL: https://codereview.appspot.com/6501083

git-svn-id: http://skia.googlecode.com/svn/trunk@5383 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFuture proof luminance caches.
bungeman@google.com [Tue, 4 Sep 2012 13:49:59 +0000 (13:49 +0000)]
Future proof luminance caches.
https://codereview.appspot.com/6495071/

git-svn-id: http://skia.googlecode.com/svn/trunk@5382 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoAdded bench to test multiple readPixels case
robertphillips@google.com [Tue, 4 Sep 2012 13:39:01 +0000 (13:39 +0000)]
Added bench to test multiple readPixels case

https://codereview.appspot.com/6501081/

git-svn-id: http://skia.googlecode.com/svn/trunk@5381 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoDon't purge resources from cache if they have > 1 ref
robertphillips@google.com [Tue, 4 Sep 2012 13:36:31 +0000 (13:36 +0000)]
Don't purge resources from cache if they have > 1 ref

https://codereview.appspot.com/6494069/

git-svn-id: http://skia.googlecode.com/svn/trunk@5380 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoSwitch GrGpu's GrResource list over to using SkTDLinkedList
robertphillips@google.com [Tue, 4 Sep 2012 13:34:32 +0000 (13:34 +0000)]
Switch GrGpu's GrResource list over to using SkTDLinkedList

https://codereview.appspot.com/6500062/

git-svn-id: http://skia.googlecode.com/svn/trunk@5379 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoReverting r5364 (Update ARM and NEON optimizations for S32A_Opaque_BlitRow32)
robertphillips@google.com [Tue, 4 Sep 2012 12:48:01 +0000 (12:48 +0000)]
Reverting r5364 (Update ARM and NEON optimizations for S32A_Opaque_BlitRow32)

git-svn-id: http://skia.googlecode.com/svn/trunk@5378 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Sat, 1 Sep 2012 02:00:58 +0000 (02:00 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@5377 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoshape ops work in progress
caryclark@google.com [Fri, 31 Aug 2012 20:55:07 +0000 (20:55 +0000)]
shape ops work in progress

git-svn-id: http://skia.googlecode.com/svn/trunk@5376 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agotruncate our llist w/ null during rewind.
reed@google.com [Fri, 31 Aug 2012 20:17:56 +0000 (20:17 +0000)]
truncate our llist w/ null during rewind.

git-svn-id: http://skia.googlecode.com/svn/trunk@5375 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoFix windows build of tools.
scroggo@google.com [Fri, 31 Aug 2012 18:34:09 +0000 (18:34 +0000)]
Fix windows build of tools.

Review URL: https://codereview.appspot.com/6494068

git-svn-id: http://skia.googlecode.com/svn/trunk@5374 2bbb7eff-a529-9590-31e7-b0007b416f81

12 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Fri, 31 Aug 2012 17:14:46 +0000 (17:14 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@5373 2bbb7eff-a529-9590-31e7-b0007b416f81