platform/upstream/libSkiaSharp.git
12 years agoCheck for invalid SkPictures
borenet@google.com [Mon, 17 Sep 2012 18:26:06 +0000 (18:26 +0000)]
Check for invalid SkPictures

- Remove hasRecorded() since nobody uses it.
- Add "success" boolean to SkPicture stream constructor
- Track failures in render_pictures and bench_pictures
Review URL: https://codereview.appspot.com/6493105

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

12 years agoAdd GrColor to RGBA float helper func
bsalomon@google.com [Mon, 17 Sep 2012 17:23:21 +0000 (17:23 +0000)]
Add GrColor to RGBA float helper func

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

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

12 years agoFix a Ref count bug in SkFontHost_win_dw.cpp
bungeman@google.com [Mon, 17 Sep 2012 14:25:42 +0000 (14:25 +0000)]
Fix a Ref count bug in SkFontHost_win_dw.cpp
https://codereview.appspot.com/6495133

Props tinytail.

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

12 years agoFixed unused variable compiler complaint
robertphillips@google.com [Mon, 17 Sep 2012 13:38:57 +0000 (13:38 +0000)]
Fixed unused variable compiler complaint

http://codereview.appspot.com/6496129/

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

12 years agoFixed valgrind complaint in MatrixBench
robertphillips@google.com [Mon, 17 Sep 2012 13:36:47 +0000 (13:36 +0000)]
Fixed valgrind complaint in MatrixBench

https://codereview.appspot.com/6492129/

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

12 years agofixed compiler complaints
robertphillips@google.com [Mon, 17 Sep 2012 12:05:40 +0000 (12:05 +0000)]
fixed compiler complaints

http://codereview.appspot.com/6499124/

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

12 years agoFixed memory leak in deferred_canvas_record bench
robertphillips@google.com [Mon, 17 Sep 2012 11:52:48 +0000 (11:52 +0000)]
Fixed memory leak in deferred_canvas_record bench

http://codereview.appspot.com/6499123/

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

12 years agoMade more benchs non-rendering
robertphillips@google.com [Mon, 17 Sep 2012 10:49:30 +0000 (10:49 +0000)]
Made more benchs non-rendering

http://codereview.appspot.com/6498132/

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

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

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

12 years agoTemporarily revert r5433 due to http://www.crbug.com/148637 until after M23 branch.
bsalomon@google.com [Fri, 14 Sep 2012 20:30:37 +0000 (20:30 +0000)]
Temporarily revert r5433 due to crbug.com/148637 until after M23 branch.

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

12 years agospeculative fix for crbug.com/147406 -- disabling save/clip/restore peephole
reed@google.com [Fri, 14 Sep 2012 19:07:28 +0000 (19:07 +0000)]
speculative fix for crbug.com/147406 -- disabling save/clip/restore peephole
optimization, to see if it reduces crash rates.

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

12 years agoDouble size of buffer for SkString::printf()
rileya@google.com [Fri, 14 Sep 2012 19:03:42 +0000 (19:03 +0000)]
Double size of buffer for SkString::printf()
Review URL: https://codereview.appspot.com/6503120

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

12 years agoAdd file I forgot in https://code.google.com/p/skia/source/detail?r=5552
epoger@google.com [Fri, 14 Sep 2012 18:52:10 +0000 (18:52 +0000)]
Add file I forgot in https://code.google.com/p/skia/source/detail?r=5552

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

12 years agoUpdate expected bench results for picture_playback_drawText_GPU_c
epoger@google.com [Fri, 14 Sep 2012 18:47:13 +0000 (18:47 +0000)]
Update expected bench results for picture_playback_drawText_GPU_c
to fix http://code.google.com/p/skia/issues/detail?id=877

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

12 years agoAdd a header file for TransitionView.cpp
epoger@google.com [Fri, 14 Sep 2012 18:42:01 +0000 (18:42 +0000)]
Add a header file for TransitionView.cpp
committed from https://codereview.appspot.com/6492119/ for Thiago Farina <tfarina@chromium.org>

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

12 years agoTurn serialization back on in GM.
scroggo@google.com [Fri, 14 Sep 2012 17:37:46 +0000 (17:37 +0000)]
Turn serialization back on in GM.

With https://codereview.appspot.com/6503106/ it is now safe to do
serialization by default.

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

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

12 years agoFor a picture playback with nothing written, use an empty SkData.
scroggo@google.com [Fri, 14 Sep 2012 17:26:37 +0000 (17:26 +0000)]
For a picture playback with nothing written, use an empty SkData.

This prevents crashing when attempting to access fOpData.

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

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

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

12 years agolanding https://codereview.appspot.com/6506117
reed@google.com [Fri, 14 Sep 2012 16:00:01 +0000 (16:00 +0000)]
landing https://codereview.appspot.com/6506117

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

12 years agoFix some nits from http://codereview.appspot.com/6506103/
rileya@google.com [Fri, 14 Sep 2012 15:52:47 +0000 (15:52 +0000)]
Fix some nits from codereview.appspot.com/6506103/

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

12 years agoScale even smaller in bench_pictures to get things green
borenet@google.com [Fri, 14 Sep 2012 15:27:41 +0000 (15:27 +0000)]
Scale even smaller in bench_pictures to get things green

Over-the-shoulder review from reed@
Review URL: https://codereview.appspot.com/6512043

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

12 years agofix fragile cubic stepper, where we want to assert that each tesselated segment
reed@google.com [Fri, 14 Sep 2012 15:18:41 +0000 (15:18 +0000)]
fix fragile cubic stepper, where we want to assert that each tesselated segment
is monotonically going down, but the finite math we use cannot ensure that...
so we explicitly pin the y-value after it is calculated.

add unittest that exercises the bug/assert that was found on an SVG site

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

12 years agoEnable automatic rescaling in bench_pictures
borenet@google.com [Fri, 14 Sep 2012 14:34:28 +0000 (14:34 +0000)]
Enable automatic rescaling in bench_pictures

bench_pictures with "--device gpu" is failing because we're trying to allocate
too much GPU memory.  Move the recently-added scaling code into picture_utils
and share it between render_pictures and bench_pictures.
Review URL: https://codereview.appspot.com/6495125

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

12 years agoFix picture refcnt bug in distantclip gm. Unreviewed.
rileya@google.com [Fri, 14 Sep 2012 14:24:14 +0000 (14:24 +0000)]
Fix picture refcnt bug in distantclip gm. Unreviewed.

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

12 years agoshape ops work in progress
caryclark@google.com [Fri, 14 Sep 2012 14:19:30 +0000 (14:19 +0000)]
shape ops work in progress
add quartic solution for intersecting quadratics

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

12 years agoAdd gm to test SkRegion/clipPath bug.
rileya@google.com [Fri, 14 Sep 2012 13:53:36 +0000 (13:53 +0000)]
Add gm to test SkRegion/clipPath bug.
Review URL: https://codereview.appspot.com/6501131

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

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

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

12 years agoFix for gcc compile error. Unreviewed.
rileya@google.com [Thu, 13 Sep 2012 21:47:48 +0000 (21:47 +0000)]
Fix for gcc compile error. Unreviewed.

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

12 years agoAdd R-Tree record flag to SkPicture, plus some cleanup/fixes in associated classes.
rileya@google.com [Thu, 13 Sep 2012 21:41:51 +0000 (21:41 +0000)]
Add R-Tree record flag to SkPicture, plus some cleanup/fixes in associated classes.
Review URL: https://codereview.appspot.com/6506103

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

12 years agoAdds bench expectation file and mechanism for triggering bench-out-of-range alerts...
bensong@google.com [Thu, 13 Sep 2012 21:08:52 +0000 (21:08 +0000)]
Adds bench expectation file and mechanism for triggering bench-out-of-range alerts from bench_graph_svg.

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

12 years agoDo not exit on failure to open logFile
borenet@google.com [Thu, 13 Sep 2012 18:54:48 +0000 (18:54 +0000)]
Do not exit on failure to open logFile

Temporary solution for write-protected Android devices.  Intention is to revert
in favor of a more permanent solution.
Review URL: https://codereview.appspot.com/6497132

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

12 years agoCheck if SK_BUILD_FOR_MAC is defined rather than whether it's 1
george@mozilla.com [Thu, 13 Sep 2012 17:55:34 +0000 (17:55 +0000)]
Check if SK_BUILD_FOR_MAC is defined rather than whether it's 1

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

12 years agoTo avoid running out of memory, we rescale very large pictures before we
reed@google.com [Thu, 13 Sep 2012 17:44:32 +0000 (17:44 +0000)]
To avoid running out of memory, we rescale very large pictures before we
render them.
Review URL: https://codereview.appspot.com/6504045

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

12 years agoMake all random path benchs non-rendering
robertphillips@google.com [Thu, 13 Sep 2012 16:39:08 +0000 (16:39 +0000)]
Make all random path benchs non-rendering

https://codereview.appspot.com/6490111/

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

12 years agoLet SkBenchmark classes specify that they do no rendering.
tomhudson@google.com [Thu, 13 Sep 2012 15:50:24 +0000 (15:50 +0000)]
Let SkBenchmark classes specify that they do no rendering.
Doing this gives us a 15-20% speedup in bench cycle time.
Here again I'm just picking the easy targets.

http://codereview.appspot.com/6500115/

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

12 years agoTurn down repeat count on ref counting and memory pool benches.
tomhudson@google.com [Thu, 13 Sep 2012 15:42:33 +0000 (15:42 +0000)]
Turn down repeat count on ref counting and memory pool benches.
No reason these things need to run for 10s of ms.

http://codereview.appspot.com/6501122/

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

12 years agoAdded GPU resource cache stats printing to render_pictures
robertphillips@google.com [Thu, 13 Sep 2012 15:40:37 +0000 (15:40 +0000)]
Added GPU resource cache stats printing to render_pictures

https://codereview.appspot.com/6492104/

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

12 years agoKeep the entries in .gitignore sorted in alphabetical order.
scroggo@google.com [Thu, 13 Sep 2012 15:26:51 +0000 (15:26 +0000)]
Keep the entries in .gitignore sorted in alphabetical order.

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

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

12 years agoRevert r5520
borenet@google.com [Thu, 13 Sep 2012 14:53:15 +0000 (14:53 +0000)]
Revert r5520

Unfortunately, since we can only build ANGLE by including a gypi, and since
gyp cannot process includes conditionally, we *have* to have a build_angle.gypi
file in the third_party/externals/ANGLE/src directory.  We could do a hack
where we create an empty gypi if ANGLE is not checked out, but for now we just
check out ANGLE on all platforms.

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

12 years agoOnly check out ANGLE on Windows
borenet@google.com [Thu, 13 Sep 2012 14:38:04 +0000 (14:38 +0000)]
Only check out ANGLE on Windows
Review URL: https://codereview.appspot.com/6500118

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

12 years agoAdded GPU resource cache stats printing to bench & removed some noise from inst count...
robertphillips@google.com [Thu, 13 Sep 2012 14:05:00 +0000 (14:05 +0000)]
Added GPU resource cache stats printing to bench & removed some noise from inst counting information

https://codereview.appspot.com/6497125/

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

12 years agoAddress warnings from clang build bot
robertphillips@google.com [Thu, 13 Sep 2012 13:25:30 +0000 (13:25 +0000)]
Address warnings from clang build bot

http://codereview.appspot.com/6506111/

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

12 years agore-apply 5508, but with the new compile-flag disabled for now
reed@google.com [Wed, 12 Sep 2012 21:08:33 +0000 (21:08 +0000)]
re-apply 5508, but with the new compile-flag disabled for now

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

12 years agoProvide labels for variant settings in bench graph.
bungeman@google.com [Wed, 12 Sep 2012 19:34:17 +0000 (19:34 +0000)]
Provide labels for variant settings in bench graph.
https://codereview.appspot.com/6494118/

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

12 years agoUse double dashes for bench options to be consistent.
scroggo@google.com [Wed, 12 Sep 2012 19:27:11 +0000 (19:27 +0000)]
Use double dashes for bench options to be consistent.

Breaks the bots, since the arguments being passed to bench have changed, but there is a change to fix it at https://codereview.appspot.com/6488114/

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

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

12 years agoMake texteffects gm work through serialization and pipe.
scroggo@google.com [Wed, 12 Sep 2012 18:53:49 +0000 (18:53 +0000)]
Make texteffects gm work through serialization and pipe.

Move Line2DPathEffect (now Sk_) into a separate header file so it can
be shared and initialized.

Switch to the shared version in SampleAll and SampleSlides.

Remove the skip pipe flag from texteffects, since it can now be serialized.

I have a separate change to turn serialization on by default at https://codereview.appspot.com/6498121/

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

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

12 years agorevert 5508 -- it broke most of the builds
reed@google.com [Wed, 12 Sep 2012 18:34:49 +0000 (18:34 +0000)]
revert 5508 -- it broke most of the builds

Use http://skia.googlecode.com/svn/buildbot/buildbots.html to see the state of the build.

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

12 years agoAdd some more things that should be ignored to .gitignore
scroggo@google.com [Wed, 12 Sep 2012 16:32:05 +0000 (16:32 +0000)]
Add some more things that should be ignored to .gitignore

Reviewed at https://codereview.appspot.com/6498119/

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

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

12 years agoUsing the device scale factor for glyph positioning
wjmaclean@chromium.org [Wed, 12 Sep 2012 15:53:20 +0000 (15:53 +0000)]
Using the device scale factor for glyph positioning

The master bug is http://code.google.com/p/chromium/issues/detail?id=138101 .
The corresponding WebKit changes for this CL are here:
https://bugs.webkit.org/show_bug.cgi?id=96137

BUG=

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

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

12 years agoAdd some untracked directories to gitignore.
epoger@google.com [Wed, 12 Sep 2012 15:03:27 +0000 (15:03 +0000)]
Add some untracked directories to gitignore.
(Landing https://codereview.appspot.com/6488100/ for tfarina)

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

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

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

12 years agoFix noisy Android build
borenet@google.com [Tue, 11 Sep 2012 21:37:28 +0000 (21:37 +0000)]
Fix noisy Android build
Review URL: https://codereview.appspot.com/6488107

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

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