platform/upstream/libSkiaSharp.git
11 years agoBuild fix: accessing uninitialized class member (not)
junov@chromium.org [Wed, 13 Mar 2013 19:03:26 +0000 (19:03 +0000)]
Build fix: accessing uninitialized class member (not)

TBR=sugoi

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

11 years agoCut data point upload batch size to 25.
bensong@google.com [Wed, 13 Mar 2013 18:31:03 +0000 (18:31 +0000)]
Cut data point upload batch size to 25.
Some bots have lower speed sending http data out, and this will make it less likely to timeout.
Did not try 50 because once we switch to using Chrome dashboard app, extra work needs to be done for each data point which will take longer. Since appengine has the fixed 30s timeout policy, there's not too much we can do unless we convince Chrome to switch to other solutions.
Current Skia data on our app instance: https://skiadash.appspot.com/report
Review URL: https://codereview.chromium.org/12703008

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

11 years agoModifying the behavior of render_pictures --validate to test the effect of bbh.
junov@chromium.org [Wed, 13 Mar 2013 17:27:16 +0000 (17:27 +0000)]
Modifying the behavior of render_pictures --validate to test the effect of bbh.

The new behavior consists in using the same renderer, with bbh disabled, as a reference
renderer when the current renderer has a bbh.
Review URL: https://codereview.chromium.org/12801002

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

11 years agoUse stream usage for dynamic vertex data.
bsalomon@google.com [Wed, 13 Mar 2013 15:31:11 +0000 (15:31 +0000)]
Use stream usage for dynamic vertex data.

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

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

11 years agoUpdate bench_expectations & add triggers for N7, Mac 10.8 and Ubuntu
robertphillips@google.com [Wed, 13 Mar 2013 15:25:30 +0000 (15:25 +0000)]
Update bench_expectations & add triggers for N7, Mac 10.8 and Ubuntu

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

11 years agocomment out debugging printfs
reed@google.com [Wed, 13 Mar 2013 14:58:41 +0000 (14:58 +0000)]
comment out debugging printfs

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

11 years agogm: write all messages to stdout/stderr with "GM:" preamble to distinguish from vario...
epoger@google.com [Wed, 13 Mar 2013 14:18:40 +0000 (14:18 +0000)]
gm: write all messages to stdout/stderr with "GM:" preamble to distinguish from various debug messages coming from elsewhere
Review URL: https://codereview.chromium.org/12691009

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

11 years agoRemove extraneous paren.
bsalomon@google.com [Wed, 13 Mar 2013 13:38:30 +0000 (13:38 +0000)]
Remove extraneous paren.
Review URL: https://codereview.chromium.org/12750004

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

11 years agorefactor android defines to implicitly assume NDK compliance unless it is explicitly...
commit-bot@chromium.org [Wed, 13 Mar 2013 12:48:26 +0000 (12:48 +0000)]
refactor android defines to implicitly assume NDK compliance unless it is explicitly marked as being specific to the android framework.

Author: djsollen@google.com

Reviewed By: reed@google.com,borenet@google.com

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

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

11 years agoWhitespace change to test commit-queue
commit-bot@chromium.org [Wed, 13 Mar 2013 11:49:15 +0000 (11:49 +0000)]
Whitespace change to test commit-queue

Author: rmistry@google.com

Reviewed By: borenet@google.com,epoger@google.com

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

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

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

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

11 years agoFixing crash in render_pictures when failing to create referenceBitmap for --validate
junov@chromium.org [Tue, 12 Mar 2013 19:56:49 +0000 (19:56 +0000)]
Fixing crash in render_pictures when failing to create referenceBitmap for --validate
Review URL: https://codereview.chromium.org/12800002

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

11 years agoUpdate flag to reflect actual meaning.
edisonn@google.com [Tue, 12 Mar 2013 19:53:16 +0000 (19:53 +0000)]
Update flag to reflect actual meaning.
Review URL: https://codereview.chromium.org/12754004

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

11 years agoDisable all multi_*_threads triggers (see issue 1160)
robertphillips@google.com [Tue, 12 Mar 2013 19:20:22 +0000 (19:20 +0000)]
Disable all multi_*_threads triggers (see issue 1160)

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

11 years agoFixed unitialized memory access bug in r8106
robertphillips@google.com [Tue, 12 Mar 2013 17:53:53 +0000 (17:53 +0000)]
Fixed unitialized memory access bug in r8106

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

11 years agoFix GDI device context leak.
bungeman@google.com [Tue, 12 Mar 2013 17:27:10 +0000 (17:27 +0000)]
Fix GDI device context leak.
https://codereview.appspot.com/7682044/

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

11 years agoMake graph output optional in bench_graphs_svg
borenet@google.com [Tue, 12 Mar 2013 17:16:07 +0000 (17:16 +0000)]
Make graph output optional in bench_graphs_svg

Enables https://codereview.chromium.org/12785002/
Review URL: https://codereview.chromium.org/12543019

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

11 years agoFixed compiler error/warning
robertphillips@google.com [Tue, 12 Mar 2013 16:05:14 +0000 (16:05 +0000)]
Fixed compiler error/warning

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

11 years agoAdd GL program cache tracking.
jvanverth@google.com [Tue, 12 Mar 2013 16:00:54 +0000 (16:00 +0000)]
Add GL program cache tracking.

This may help us track down cases when we change how program keys are generated
and we get invalid misses.

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

11 years agofix warning: use size_t when comparing to SK_ARRAY_COUNT
reed@google.com [Tue, 12 Mar 2013 15:55:47 +0000 (15:55 +0000)]
fix warning: use size_t when comparing to SK_ARRAY_COUNT

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

11 years agoadd (temp) SkFontLCDConfig class to hold LCD getters/setters. This will allow
reed@google.com [Tue, 12 Mar 2013 15:41:18 +0000 (15:41 +0000)]
add (temp) SkFontLCDConfig class to hold LCD getters/setters. This will allow
us to make SkFontHost.h private (once webkit switches to the SkFontLCDConfig api)

Stage 2 is to either move this code into chrome/webkit, or change the callers to
perform their own globals management.
Review URL: https://codereview.chromium.org/12623011

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

11 years agoRefactor PictureRecord optimization & added saveLayer/save/clipR/DBM*/restore/restore...
robertphillips@google.com [Tue, 12 Mar 2013 15:39:44 +0000 (15:39 +0000)]
Refactor PictureRecord optimization & added saveLayer/save/clipR/DBM*/restore/restore optimization

https://codereview.appspot.com/7485043/

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

11 years agoFix debugger build errors/warnings
robertphillips@google.com [Tue, 12 Mar 2013 15:33:40 +0000 (15:33 +0000)]
Fix debugger build errors/warnings

https://codereview.appspot.com/7729045/

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

11 years agoWhitespace change to test commit-queue reviewers list
commit-bot@chromium.org [Tue, 12 Mar 2013 14:58:49 +0000 (14:58 +0000)]
Whitespace change to test commit-queue reviewers list

(SkipBuildbotRuns)

Author: rmistry@google.com

Reviewed By: borenet@google.com,epoger@google.com

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

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

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