Commit Graph

6582 Commits

Author SHA1 Message Date
jvanverth@google.com
948787737b 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
2013-03-12 16:00:54 +00:00
reed@google.com
7ed1534416 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
2013-03-12 15:55:47 +00:00
reed@google.com
1a64a54b27 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
2013-03-12 15:41:18 +00:00
robertphillips@google.com
b8f9610ac6 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
2013-03-12 15:39:44 +00:00
robertphillips@google.com
e428f9b113 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
2013-03-12 15:33:40 +00:00
commit-bot@chromium.org
167876ea18 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
2013-03-12 14:58:49 +00:00
sugoi@google.com
93c7ee34dc 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
2013-03-12 14:36:57 +00:00
robertphillips@google.com
a041b954ff "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
2013-03-12 13:13:07 +00:00
borenet@google.com
2d9dbd4f78 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
2013-03-12 13:07:40 +00:00
reed@google.com
5687a3e93b 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
2013-03-12 12:57:04 +00:00
commit-bot@chromium.org
ff6ea2663f 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
2013-03-12 12:26:08 +00:00
skia.committer@gmail.com
2e71f1619d Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8090 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-12 07:12:32 +00:00
robertphillips@google.com
febc0ec41b 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
2013-03-11 22:53:11 +00:00
humper@google.com
512977aead re-enable fast blur so I can rebaseline
git-svn-id: http://skia.googlecode.com/svn/trunk@8086 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-11 22:42:30 +00:00
humper@google.com
d4d573057e 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
2013-03-11 22:18:54 +00:00
humper@google.com
e86af1f4ba fix preprocessor abuse on Windows
git-svn-id: http://skia.googlecode.com/svn/trunk@8084 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-11 21:23:36 +00:00
humper@google.com
68a690cb05 fix pad bug introduced during code cleanup
git-svn-id: http://skia.googlecode.com/svn/trunk@8083 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-11 21:16:20 +00:00
reed@google.com
8fff398043 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
2013-03-11 20:38:59 +00:00
sugoi@google.com
7eb28aae70 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
2013-03-11 20:35:19 +00:00
bsalomon@google.com
e3613cefe2 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
2013-03-11 20:33:45 +00:00
humper@google.com
adef4fefd3 fix build warnings
git-svn-id: http://skia.googlecode.com/svn/trunk@8078 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-11 20:32:05 +00:00
bsalomon@google.com
7fa1bb4133 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
2013-03-11 20:22:38 +00:00
bsalomon@google.com
8a8fcba5b6 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
2013-03-11 20:22:31 +00:00
bsalomon@google.com
c732f259fa 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
2013-03-11 20:22:15 +00:00
humper@google.com
7c5d7b7813 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
2013-03-11 20:16:28 +00:00
reed@google.com
ed268bfed3 add (mac) test for ttcindex in SkFontStream
git-svn-id: http://skia.googlecode.com/svn/trunk@8073 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-11 20:13:36 +00:00
borenet@google.com
fe7533eebe 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
2013-03-11 20:09:40 +00:00
sugoi@google.com
27bf728891 Unreviewed build fix.
git-svn-id: http://skia.googlecode.com/svn/trunk@8071 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-11 19:59:24 +00:00
reed@google.com
46ee9c6a92 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
2013-03-11 18:55:04 +00:00
bungeman@google.com
d1c7f71ee3 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
2013-03-11 18:51:19 +00:00
sugoi@google.com
e0e385c1d4 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
2013-03-11 18:50:03 +00:00
sugoi@google.com
dfc867bab2 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
2013-03-11 18:45:12 +00:00
reed@google.com
61f70b4478 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
2013-03-11 18:26:11 +00:00
skia.committer@gmail.com
0f12e1fe42 Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8061 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-11 07:01:23 +00:00
robertphillips@google.com
7d3451b184 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
2013-03-10 17:16:41 +00:00
skia.committer@gmail.com
eed625df23 Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8059 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-09 07:01:15 +00:00
borenet@google.com
2d137b6f8a 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
2013-03-08 23:13:33 +00:00
borenet@google.com
663a979129 Fix build
Disable r8044 differently.
Unreviewed

git-svn-id: http://skia.googlecode.com/svn/trunk@8057 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-08 22:22:44 +00:00
borenet@google.com
f8905e4d44 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
2013-03-08 22:14:32 +00:00
borenet@google.com
1b3f0fbbf0 Whitespace change (wake up the Android bots)
git-svn-id: http://skia.googlecode.com/svn/trunk@8051 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-08 20:07:11 +00:00
bsalomon@google.com
a1d27cd07a 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
2013-03-08 19:01:01 +00:00
reed@google.com
27b90fae0e update to use DEF_GM
git-svn-id: http://skia.googlecode.com/svn/trunk@8048 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-08 18:44:01 +00:00
edisonn@google.com
8819d1af94 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
2013-03-08 18:43:35 +00:00
djsollen@google.com
4bd2bdbf04 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
2013-03-08 18:35:13 +00:00
edisonn@google.com
184487c808 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
2013-03-08 18:00:16 +00:00
reed@google.com
bdd82f4c3a 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
2013-03-08 16:47:39 +00:00
robertphillips@google.com
d59cf7c360 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
2013-03-08 16:27:19 +00:00
reed@google.com
c7d0ea3cd3 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
2013-03-08 16:07:54 +00:00
bsalomon@google.com
a224072836 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
2013-03-08 16:06:28 +00:00
reed@google.com
9cd1ef54a6 speculative fix for broken android bots : disable gm/fontscaler
git-svn-id: http://skia.googlecode.com/svn/trunk@8037 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-08 13:31:26 +00:00