platform/upstream/libSkiaSharp.git
11 years agoRemoved unused parameters
sugoi@google.com [Tue, 12 Mar 2013 14:36:57 +0000 (14:36 +0000)]
Removed unused parameters

I removed unused parameters wherever it was trivial to do so.
Review URL: https://codereview.chromium.org/12772003

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

11 years ago"Fix" case when bicubic filtering warps premultiplied color
robertphillips@google.com [Tue, 12 Mar 2013 13:13:07 +0000 (13:13 +0000)]
"Fix" case when bicubic filtering warps premultiplied color

https://codereview.appspot.com/7447048/

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

11 years agoNaCl Debugger: Implement overview and filters, cleanup
borenet@google.com [Tue, 12 Mar 2013 13:07:40 +0000 (13:07 +0000)]
NaCl Debugger: Implement overview and filters, cleanup

(SkipBuildbotRuns) since no bots build the debugger.
Review URL: https://codereview.chromium.org/12449006

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

11 years agofix handling of stroked cubics when we exhaust our recursion limit.
reed@google.com [Tue, 12 Mar 2013 12:57:04 +0000 (12:57 +0000)]
fix handling of stroked cubics when we exhaust our recursion limit.
Review URL: https://codereview.chromium.org/12567006

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

11 years agoAdd GrEllipseEdgeEffect.
commit-bot@chromium.org [Tue, 12 Mar 2013 12:26:08 +0000 (12:26 +0000)]
Add GrEllipseEdgeEffect.

Adds the effect that replaces the old oval rendering code. Also hooks in code to set attribute names and indices for effects.

Author: jvanverth@google.com

Review URL: https://chromiumcodereview.appspot.com/12462008

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Tue, 12 Mar 2013 07:12:32 +0000 (07:12 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agoAdd misc. optimizations to filter tool
robertphillips@google.com [Mon, 11 Mar 2013 22:53:11 +0000 (22:53 +0000)]
Add misc. optimizations to filter tool

https://codereview.appspot.com/7705043/

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

11 years agore-enable fast blur so I can rebaseline
humper@google.com [Mon, 11 Mar 2013 22:42:30 +0000 (22:42 +0000)]
re-enable fast blur so I can rebaseline

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

11 years agoadd proper support for solid style, and temporarily turn off my change so the bots...
humper@google.com [Mon, 11 Mar 2013 22:18:54 +0000 (22:18 +0000)]
add proper support for solid style, and temporarily turn off my change so the bots can go green |

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

11 years agofix preprocessor abuse on Windows
humper@google.com [Mon, 11 Mar 2013 21:23:36 +0000 (21:23 +0000)]
fix preprocessor abuse on Windows

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

11 years agofix pad bug introduced during code cleanup
humper@google.com [Mon, 11 Mar 2013 21:16:20 +0000 (21:16 +0000)]
fix pad bug introduced during code cleanup

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

11 years agofix missing ! typo when we switched to skip() helper function.
reed@google.com [Mon, 11 Mar 2013 20:38:59 +0000 (20:38 +0000)]
fix missing ! typo when we switched to skip() helper function.
caught by linux unittests.

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

11 years agoAdding more warning in core
sugoi@google.com [Mon, 11 Mar 2013 20:35:19 +0000 (20:35 +0000)]
Adding more warning in core

I figured out the reason for the lack of warnings on Linux that caused the Mac build break. Some warnings were explicitly disabled in "core" on Linux. I re-enabled them.
Review URL: https://codereview.chromium.org/12667012

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

11 years agoFix sign/unsigned warnings in benchmain.cpp and gmmain.cpp
bsalomon@google.com [Mon, 11 Mar 2013 20:33:45 +0000 (20:33 +0000)]
Fix sign/unsigned warnings in benchmain.cpp and gmmain.cpp

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

11 years agofix build warnings
humper@google.com [Mon, 11 Mar 2013 20:32:05 +0000 (20:32 +0000)]
fix build warnings

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

11 years agoSimplify the GL interface validation test.
bsalomon@google.com [Mon, 11 Mar 2013 20:22:38 +0000 (20:22 +0000)]
Simplify the GL interface validation test.
Review URL: https://codereview.chromium.org/12703003

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

11 years agoMake GPU cache size cmd line configurable in GM.
bsalomon@google.com [Mon, 11 Mar 2013 20:22:31 +0000 (20:22 +0000)]
Make GPU cache size cmd line configurable in GM.
Review URL: https://codereview.chromium.org/12717002

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

11 years agoAdd --gpucache size to bench.
bsalomon@google.com [Mon, 11 Mar 2013 20:22:15 +0000 (20:22 +0000)]
Add --gpucache size to bench.

R=robertphillips@google.com
Review URL: https://codereview.chromium.org/12635009

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

11 years agoPlumb fast rectangle blur code into the skia mask filter
humper@google.com [Mon, 11 Mar 2013 20:16:28 +0000 (20:16 +0000)]
Plumb fast rectangle blur code into the skia mask filter

Review URL: https://codereview.chromium.org/12387099

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

11 years agoadd (mac) test for ttcindex in SkFontStream
reed@google.com [Mon, 11 Mar 2013 20:13:36 +0000 (20:13 +0000)]
add (mac) test for ttcindex in SkFontStream

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

11 years agoChange submit_try to use checked-in master_host and master_port
borenet@google.com [Mon, 11 Mar 2013 20:09:40 +0000 (20:09 +0000)]
Change submit_try to use checked-in master_host and master_port

(SkipBuildbotRuns)
Review URL: https://codereview.appspot.com/7719044

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

11 years agoUnreviewed build fix.
sugoi@google.com [Mon, 11 Mar 2013 19:59:24 +0000 (19:59 +0000)]
Unreviewed build fix.

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

11 years agofix warning (as error on mac) around max file offset
reed@google.com [Mon, 11 Mar 2013 18:55:04 +0000 (18:55 +0000)]
fix warning (as error on mac) around max file offset

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

11 years agoUse correct metrics for GDI glyphs.
bungeman@google.com [Mon, 11 Mar 2013 18:51:19 +0000 (18:51 +0000)]
Use correct metrics for GDI glyphs.
https://codereview.appspot.com/7635045/

This will require rebaselining all GMs using GDI text.
On the Chromium side this will require rebaslining
fast/writing-mode/Kusa-Makura-background-canvas.html

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

11 years agoRemoved unused parameters
sugoi@google.com [Mon, 11 Mar 2013 18:50:03 +0000 (18:50 +0000)]
Removed unused parameters

I removed unused parameters wherever it was trivial to do so.
Review URL: https://codereview.chromium.org/12469002

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

11 years agoTurning on warning as error on Linux
sugoi@google.com [Mon, 11 Mar 2013 18:45:12 +0000 (18:45 +0000)]
Turning on warning as error on Linux

Fixed the few remaining warnings and turned on warning as error on Linux.

Explicitly turned off warning as error in libjpeg, cityhash and json.
Review URL: https://codereview.chromium.org/12521010

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

11 years agodoh. must dynamically allocate space for reading large(r) TTC header when ttcIndex > 0
reed@google.com [Mon, 11 Mar 2013 18:26:11 +0000 (18:26 +0000)]
doh. must dynamically allocate space for reading large(r) TTC header when ttcIndex > 0

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Mon, 11 Mar 2013 07:01:23 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agoAdd a map from index to SkFlatData* in SkFlatDictionary
robertphillips@google.com [Sun, 10 Mar 2013 17:16:41 +0000 (17:16 +0000)]
Add a map from index to SkFlatData* in SkFlatDictionary

https://codereview.appspot.com/7531043/

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Sat, 9 Mar 2013 07:01:15 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agoFix Windows build - revert r8056 and r8057
borenet@google.com [Fri, 8 Mar 2013 23:13:33 +0000 (23:13 +0000)]
Fix Windows build - revert r8056 and r8057

TBR=epoger,edisonn
Review URL: https://codereview.chromium.org/12421010

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

11 years agoFix build
borenet@google.com [Fri, 8 Mar 2013 22:22:44 +0000 (22:22 +0000)]
Fix build

Disable r8044 differently.
Unreviewed

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

11 years agoFix Windows build
borenet@google.com [Fri, 8 Mar 2013 22:14:32 +0000 (22:14 +0000)]
Fix Windows build

Temporarily disable skia_win_debuggers_path gyp variable.
Unreviewed.

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

11 years agoWhitespace change (wake up the Android bots)
borenet@google.com [Fri, 8 Mar 2013 20:07:11 +0000 (20:07 +0000)]
Whitespace change (wake up the Android bots)

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

11 years agoDon't sort extensions when there are none. Make an ANGLE context to validate the...
bsalomon@google.com [Fri, 8 Mar 2013 19:01:01 +0000 (19:01 +0000)]
Don't sort extensions when there are none. Make an ANGLE context to validate the ANGLE GrGLInterface with.

R=robertphillips@google.com

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

11 years agoupdate to use DEF_GM
reed@google.com [Fri, 8 Mar 2013 18:44:01 +0000 (18:44 +0000)]
update to use DEF_GM

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

11 years agoAdd build condition not to build in iOS an unused lib (failing to build empty lib...
edisonn@google.com [Fri, 8 Mar 2013 18:43:35 +0000 (18:43 +0000)]
Add build condition not to build in iOS an unused lib (failing to build empty lib in iOS). Unreviewed.
Review URL: https://codereview.chromium.org/12639008

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

11 years agoUpstream changes from Android.
djsollen@google.com [Fri, 8 Mar 2013 18:35:13 +0000 (18:35 +0000)]
Upstream changes from Android.

Review URL: https://codereview.chromium.org/12699002

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

11 years agoCollect minidump and print callstack if an app chrashes.
edisonn@google.com [Fri, 8 Mar 2013 18:00:16 +0000 (18:00 +0000)]
Collect minidump and print callstack if an app chrashes.
Review URL: https://codereview.chromium.org/12387018

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

11 years agoremove dead/#if 0/if (0) code blocks. no change to compiled output.
reed@google.com [Fri, 8 Mar 2013 16:47:39 +0000 (16:47 +0000)]
remove dead/#if 0/if (0) code blocks. no change to compiled output.

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

11 years agoRemove reset of SkTileGrid in PictureRenderer::init
robertphillips@google.com [Fri, 8 Mar 2013 16:27:19 +0000 (16:27 +0000)]
Remove reset of SkTileGrid in PictureRenderer::init

https://codereview.appspot.com/7641044/

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

11 years agoadd asScalars() to document when we want to treat SkPoint or SkRect as an array
reed@google.com [Fri, 8 Mar 2013 16:07:54 +0000 (16:07 +0000)]
add asScalars() to document when we want to treat SkPoint or SkRect as an array
of SkScalars.
Review URL: https://codereview.chromium.org/12530010

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

11 years agoMake extension string parsing robust.
bsalomon@google.com [Fri, 8 Mar 2013 16:06:28 +0000 (16:06 +0000)]
Make extension string parsing robust.
Review URL: https://codereview.chromium.org/12564003

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

11 years agospeculative fix for broken android bots : disable gm/fontscaler
reed@google.com [Fri, 8 Mar 2013 13:31:26 +0000 (13:31 +0000)]
speculative fix for broken android bots : disable gm/fontscaler

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

11 years agoadd flag to skip gpu test
reed@google.com [Fri, 8 Mar 2013 13:31:02 +0000 (13:31 +0000)]
add flag to skip gpu test

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

11 years agore-land r8028 without "special" Microsoft compiler warnings
epoger@google.com [Fri, 8 Mar 2013 09:39:36 +0000 (09:39 +0000)]
re-land r8028 without "special" Microsoft compiler warnings
TBR=borenet
Review URL: https://codereview.chromium.org/12685002

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

11 years agoPDF: add support for named destinations.
epoger@google.com [Fri, 8 Mar 2013 09:09:10 +0000 (09:09 +0000)]
PDF: add support for named destinations.

Landing patchset 7 from https://codereview.appspot.com/7374052 for dml@google.com
Review URL: https://codereview.chromium.org/12533009

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Fri, 8 Mar 2013 07:01:25 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agoAlways get proc address for gl functions on the mac.
bsalomon@google.com [Thu, 7 Mar 2013 22:23:35 +0000 (22:23 +0000)]
Always get proc address for gl functions on the mac.
Review URL: https://codereview.chromium.org/12628004

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

11 years agoRevert r8028... warnings-as-errors broke some builders
epoger@google.com [Thu, 7 Mar 2013 21:02:50 +0000 (21:02 +0000)]
Revert r8028... warnings-as-errors broke some builders
(I'm developing on Linux, which does not treat warnings as errors.)

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

11 years agoFixing some warnings on Linux
sugoi@google.com [Thu, 7 Mar 2013 20:52:59 +0000 (20:52 +0000)]
Fixing some warnings on Linux

There were only a few warnings left, so I fixed them and enabled the unused variable warning by removing the "-Wno-unused" flag. Only the -Wno-unused-parameter remains for now (could be removed later).
Review URL: https://codereview.chromium.org/12480002

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

11 years agoMake debugger 'text' output less useless.
bungeman@google.com [Thu, 7 Mar 2013 20:30:32 +0000 (20:30 +0000)]
Make debugger 'text' output less useless.
https://codereview.appspot.com/7588043/

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

11 years agocleanup: fix gm's use of ErrorBitfield to be consistent (it's a bitfield, not an...
epoger@google.com [Thu, 7 Mar 2013 20:28:37 +0000 (20:28 +0000)]
cleanup: fix gm's use of ErrorBitfield to be consistent (it's a bitfield, not an enum)
Review URL: https://codereview.chromium.org/12640004

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

11 years agoFix bench_pictures.cfg
borenet@google.com [Thu, 7 Mar 2013 20:18:27 +0000 (20:18 +0000)]
Fix bench_pictures.cfg

- Add configs for Razr I
- Don't run multithreaded with --timeIndividualTiles
Review URL: https://codereview.chromium.org/12636002

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

11 years agoNormalize the debugger's profile times by the repeat count
robertphillips@google.com [Thu, 7 Mar 2013 19:32:45 +0000 (19:32 +0000)]
Normalize the debugger's profile times by the repeat count

https://codereview.appspot.com/7520043/

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

11 years agoUse vertex array objects on core profiles.
bsalomon@google.com [Thu, 7 Mar 2013 19:09:11 +0000 (19:09 +0000)]
Use vertex array objects on core profiles.
Review URL: https://codereview.chromium.org/12533007

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

11 years agoRestart va_list in SkDebugf on win32.
bsalomon@google.com [Thu, 7 Mar 2013 18:44:34 +0000 (18:44 +0000)]
Restart va_list in SkDebugf on win32.
Review URL: https://codereview.chromium.org/12457019

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

11 years agoFix a warning in bitmap checksummer.
scroggo@google.com [Thu, 7 Mar 2013 18:14:11 +0000 (18:14 +0000)]
Fix a warning in bitmap checksummer.

Review URL: https://codereview.chromium.org/12629003

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

11 years agoAdd missing #include <stdarg.h> to SkString.h (fix Android build)
bsalomon@google.com [Thu, 7 Mar 2013 18:05:08 +0000 (18:05 +0000)]
Add missing #include <stdarg.h> to SkString.h (fix Android build)

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

11 years agoCodes for writing bench data to appengine datastore.
bensong@google.com [Thu, 7 Mar 2013 17:12:43 +0000 (17:12 +0000)]
Codes for writing bench data to appengine datastore.
To activate, add flag "-a https://skiadash.appspot.com/add_point" or URL to other chrome-perf app instances. Otherwise behavior will be same as before.
Review URL: https://codereview.chromium.org/12381088

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

11 years agoMake GrGLEffects use an interface to append their code.
bsalomon@google.com [Thu, 7 Mar 2013 17:06:57 +0000 (17:06 +0000)]
Make GrGLEffects use an interface to append their code.

A small step towards encapsulating GrGLShaderBuilder.
Review URL: https://codereview.chromium.org/12547012

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

11 years agoGyp changes for NaCl debugger
borenet@google.com [Thu, 7 Mar 2013 15:33:28 +0000 (15:33 +0000)]
Gyp changes for NaCl debugger
Review URL: https://codereview.chromium.org/12544011

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

11 years agoland https://chromiumcodereview.appspot.com/12440004/
reed@google.com [Thu, 7 Mar 2013 15:31:58 +0000 (15:31 +0000)]
land https://chromiumcodereview.appspot.com/12440004/

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

11 years agoPut SkPictureRecord saveLayer optimization behind a compiler flag
robertphillips@google.com [Wed, 6 Mar 2013 16:59:36 +0000 (16:59 +0000)]
Put SkPictureRecord saveLayer optimization behind a compiler flag

https://codereview.appspot.com/7508044/

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

11 years agoRemove unused vars
bsalomon@google.com [Wed, 6 Mar 2013 16:51:32 +0000 (16:51 +0000)]
Remove unused vars

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

11 years agoReduce the minimum scratch size to 16, don't look for next pow2 larger sizes.
bsalomon@google.com [Wed, 6 Mar 2013 16:35:49 +0000 (16:35 +0000)]
Reduce the minimum scratch size to 16, don't look for next pow2 larger sizes.
Review URL: https://codereview.chromium.org/12475007

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

11 years agochange FontIdentity to explicitly hold ttcIndex and ID, so we can use both in the
reed@google.com [Wed, 6 Mar 2013 13:06:03 +0000 (13:06 +0000)]
change FontIdentity to explicitly hold ttcIndex and ID, so we can use both in the
IPC version in chrome.

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

11 years agoWhitespace commit to trigger buildbots after skia-autogen reset
epoger@google.com [Wed, 6 Mar 2013 12:59:00 +0000 (12:59 +0000)]
Whitespace commit to trigger buildbots after skia-autogen reset

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Wed, 6 Mar 2013 07:01:46 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agoadd 'o' option to show fat-oval
mike@reedtribe.org [Wed, 6 Mar 2013 02:18:33 +0000 (02:18 +0000)]
add 'o' option to show fat-oval

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

11 years agoRevert r8000 due to failures on some buildbots
epoger@google.com [Wed, 6 Mar 2013 00:47:22 +0000 (00:47 +0000)]
Revert r8000 due to failures on some buildbots

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

11 years agoPDF: add support for named destinations
epoger@google.com [Wed, 6 Mar 2013 00:05:13 +0000 (00:05 +0000)]
PDF: add support for named destinations

Imported from https://codereview.appspot.com/7374052/ on behalf of dml@google.com
Review URL: https://codereview.chromium.org/12466008

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

11 years agoadd ttcIndex parameter to calls to SkFontStream
reed@google.com [Tue, 5 Mar 2013 22:33:16 +0000 (22:33 +0000)]
add ttcIndex parameter to calls to SkFontStream

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

11 years agostart to plumb ttcIndex into fonthost. For now just add to SkFontStream and its callers.
reed@google.com [Tue, 5 Mar 2013 22:12:11 +0000 (22:12 +0000)]
start to plumb ttcIndex into fonthost. For now just add to SkFontStream and its callers.
Review URL: https://codereview.chromium.org/12485002

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

11 years agorewind at the start of each FontStream api (since we rewinding internally anyway)
reed@google.com [Tue, 5 Mar 2013 20:50:47 +0000 (20:50 +0000)]
rewind at the start of each FontStream api (since we rewinding internally anyway)
Review URL: https://codereview.chromium.org/12465009

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

11 years agoFixed a few warnings
sugoi@google.com [Tue, 5 Mar 2013 20:40:52 +0000 (20:40 +0000)]
Fixed a few warnings

Removed a few warnings from the Skia code.
Review URL: https://codereview.chromium.org/12469003

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

11 years agoMake SkOSWindow return the sample count and stencil bit count for its GL context.
bsalomon@google.com [Tue, 5 Mar 2013 20:06:05 +0000 (20:06 +0000)]
Make SkOSWindow return the sample count and stencil bit count for its GL context.
Review URL: https://codereview.chromium.org/12437010

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

11 years agoRestore window creation code in SkNativeGLContext_win.cpp accidentally deleted in...
bsalomon@google.com [Tue, 5 Mar 2013 19:30:54 +0000 (19:30 +0000)]
Restore window creation code in SkNativeGLContext_win.cpp accidentally deleted in r7990.

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

11 years agoUnify wgl context creation.
bsalomon@google.com [Tue, 5 Mar 2013 19:13:09 +0000 (19:13 +0000)]
Unify wgl context creation.

R=robertphillips@google.com
Review URL: https://codereview.chromium.org/12455009

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

11 years agoBench : Unused parameters cleanup
sugoi@google.com [Tue, 5 Mar 2013 18:50:01 +0000 (18:50 +0000)]
Bench : Unused parameters cleanup

I removed unused parameters in bench wherever it was trivial to do so.
Review URL: https://codereview.appspot.com/7411046

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

11 years agoPDF : Unused parameters cleanup
sugoi@google.com [Tue, 5 Mar 2013 18:35:55 +0000 (18:35 +0000)]
PDF : Unused parameters cleanup

I removed unused parameters in the PDFs wherever it was trivial to do so. A few constructors had to change signature in the process to reflect the changes.
Review URL: https://codereview.appspot.com/7390056

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

11 years agoadd SK_API to more stream subclasses (for shared library use)
reed@google.com [Tue, 5 Mar 2013 17:49:10 +0000 (17:49 +0000)]
add SK_API to more stream subclasses (for shared library use)

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

11 years agoAdded support for non-separable blending modes.
commit-bot@chromium.org [Tue, 5 Mar 2013 16:23:59 +0000 (16:23 +0000)]
Added support for non-separable blending modes.
Fixed scalar issue from https://codereview.appspot.com/7346044

Review URL: https://chromiumcodereview.appspot.com/12393049

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

11 years agoValidate that VAO functions are present in ES2 interfaces and add bit to caps indicat...
bsalomon@google.com [Tue, 5 Mar 2013 14:14:58 +0000 (14:14 +0000)]
Validate that VAO functions are present in ES2 interfaces and add bit to caps indicating VAO support.
Review URL: https://codereview.chromium.org/12447003

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

11 years agoshape ops work in progress
caryclark@google.com [Tue, 5 Mar 2013 14:13:13 +0000 (14:13 +0000)]
shape ops work in progress

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

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Tue, 5 Mar 2013 07:09:08 +0000 (07:09 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

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

11 years agoFix an unused variable warning.
scroggo@google.com [Mon, 4 Mar 2013 21:51:24 +0000 (21:51 +0000)]
Fix an unused variable warning.

Review URL: https://codereview.chromium.org/12398026

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

11 years agoIf Ashmem cache fails pinCache, do not reallocate.
scroggo@google.com [Mon, 4 Mar 2013 21:38:50 +0000 (21:38 +0000)]
If Ashmem cache fails pinCache, do not reallocate.

Review URL: https://codereview.chromium.org/12398021

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

11 years agoProvide an option in bench_pictures to count pixel ram.
scroggo@google.com [Mon, 4 Mar 2013 21:32:32 +0000 (21:32 +0000)]
Provide an option in bench_pictures to count pixel ram.

In SkLruImageCache, provide an option to keep all pixels, and document
the new behavior.

In gm/factory.cpp, set the budget for the Lru image cache to 1, to
retain (basically) the old behavior.

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

Review URL: https://codereview.chromium.org/12378075

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

11 years agoFixed doParse functions
sugoi@google.com [Mon, 4 Mar 2013 21:03:17 +0000 (21:03 +0000)]
Fixed doParse functions

For some reason, "success" wasn't set in a bunch of template specializations, causing it to be invalid when used later on.
Review URL: https://codereview.appspot.com/7370052

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

11 years agoConvert skhello tool to SkFlags API.
commit-bot@chromium.org [Mon, 4 Mar 2013 20:58:01 +0000 (20:58 +0000)]
Convert skhello tool to SkFlags API.

BUG=https://code.google.com/p/skia/issues/detail?id=1094
R=scroggo@google.com

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

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

11 years agoRely on libfontconfig to determine our default font
reed@google.com [Mon, 4 Mar 2013 20:27:58 +0000 (20:27 +0000)]
Rely on libfontconfig to determine our default font

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

11 years agoAddress some valgrind issues
robertphillips@google.com [Mon, 4 Mar 2013 20:03:44 +0000 (20:03 +0000)]
Address some valgrind issues

https://codereview.appspot.com/7448051/

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

11 years agoAdd a way to monitor cache hits and misses for deferred decoding.
scroggo@google.com [Mon, 4 Mar 2013 19:56:21 +0000 (19:56 +0000)]
Add a way to monitor cache hits and misses for deferred decoding.

Adds a new flag to bench_pictures in order to do this. Also fix
a warning.

Review URL: https://codereview.chromium.org/12393046

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

11 years agoInitialize bounds even if the text length is zero.
djsollen@google.com [Mon, 4 Mar 2013 19:47:42 +0000 (19:47 +0000)]
Initialize bounds even if the text length is zero.

Review URL: https://codereview.chromium.org/12387092

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

11 years agoexport getter for global instance of fontconfiginterfacedirect
reed@google.com [Mon, 4 Mar 2013 19:07:02 +0000 (19:07 +0000)]
export getter for global instance of fontconfiginterfacedirect

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

11 years agoexport api with SK_API
reed@google.com [Mon, 4 Mar 2013 17:26:02 +0000 (17:26 +0000)]
export api with SK_API

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

11 years agoCreated my own flag parser, based off of gflags.
scroggo@google.com [Mon, 4 Mar 2013 16:41:06 +0000 (16:41 +0000)]
Created my own flag parser, based off of gflags.

Share common code between bench_ and render_ to set up the PictureRenderer.
Fix an include error in SkPictureRenderer.h.
Simplified parameter passing in render_pictures_main.
Switch to using an SkAutoTUnref for the PictureRenderer.
I also changed the input format somewhat, so the buildbots need to be updated as well: https://codereview.appspot.com/7441044/
Fixed a bug in PictureBenchmark where calling setTimeIndividualTiles(false) sets the member variable to true.
Removed setDeviceType from PictureBenchmark, since only the PictureRenderer needs to know which device type to use.

Some changes to the input format:
'--logPerIter' no longer takes a 1 or 0. Instead, '--logPerIter'
turns it on and '--nologPerIter' turns it off (with off as the
default). (Note that this is for bench_pictures; bench still uses the old format)

Change '--device' to '--config' and 'bitmap' to '8888' to be
the same as gm.

Requires '--r' before inputs (to match gm), though there can be multiple inputs following it.

Changed --enable-deferred-image-decoding (which no one uses but me yet anyway) to --deferImageDecoding, since the former is incompatible with the flag parser.

Changes to behavior:
Show a short error message on failure (rather than the explanation of all
flags).

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

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

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

11 years agoimplement fonthost table methods directly in fontconfig backend, _tables now relegated to
reed@google.com [Mon, 4 Mar 2013 16:28:33 +0000 (16:28 +0000)]
implement fonthost table methods directly in fontconfig backend, _tables now relegated to
android and windows...
Review URL: https://codereview.chromium.org/12395015

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

11 years agorefactor fonthost_tables into wrapper (fonthost) and impl (fontstream)
reed@google.com [Mon, 4 Mar 2013 15:16:06 +0000 (15:16 +0000)]
refactor fonthost_tables into wrapper (fonthost) and impl (fontstream)

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