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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
robertphillips@google.com [Mon, 4 Mar 2013 14:59:55 +0000 (14:59 +0000)]
Fix Mac 10.8 64-bit Release ClipCacheTest issue
unreviewed
git-svn-id: http://skia.googlecode.com/svn/trunk@7957
2bbb7eff-a529-9590-31e7-
b0007b416f81
humper@google.com [Mon, 4 Mar 2013 14:52:02 +0000 (14:52 +0000)]
fix mac build
BUG=
Review URL: https://codereview.chromium.org/
12387084
git-svn-id: http://skia.googlecode.com/svn/trunk@7956
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 4 Mar 2013 14:45:29 +0000 (14:45 +0000)]
enable fontconfig backend for fonthost on linux
git-svn-id: http://skia.googlecode.com/svn/trunk@7955
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 4 Mar 2013 14:39:47 +0000 (14:39 +0000)]
short-circuit if the requested typeface matches what we've been given.
git-svn-id: http://skia.googlecode.com/svn/trunk@7954
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 4 Mar 2013 14:29:01 +0000 (14:29 +0000)]
Add commented out code to create a core profile on windows.
Review URL: https://codereview.chromium.org/
12393044
git-svn-id: http://skia.googlecode.com/svn/trunk@7953
2bbb7eff-a529-9590-31e7-
b0007b416f81
jvanverth@google.com [Mon, 4 Mar 2013 13:56:38 +0000 (13:56 +0000)]
Change random number generator for 'tests' to SkMWCRandom. Also removes some
unused headers and fixes a couple of bugs exposed by changing the random
number generator:
First, the function SkMatrix::getMaxStretch() had an error where it was testing
the square of a number against near-zero. This led to it occasionally taking a
cheaper but imprecise path for computing the eigenvalues of the matrix. It's
been replaced with a check against the square of SK_ScalarNearlyZero.
The second case was a failure in ClipStackTest, where it hit the rare case of
a practically empty clip stack (it has a single Union) and we set a tight
bounds. The bounds rect doesn't get set by GrReducedClip::ReduceClipStack() in
this case, so when it clips the reduced stack it's clipping against garbage,
and the resulting regions don't match. The solution is to initialize the
tightBounds rect.
git-svn-id: http://skia.googlecode.com/svn/trunk@7952
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sun, 3 Mar 2013 13:55:40 +0000 (13:55 +0000)]
remove obsolete mac-font-cruft
git-svn-id: http://skia.googlecode.com/svn/trunk@7949
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sun, 3 Mar 2013 07:16:29 +0000 (07:16 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7948
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sun, 3 Mar 2013 03:50:09 +0000 (03:50 +0000)]
eliminate atsuii/coretext distinction, and rename to just _mac
git-svn-id: http://skia.googlecode.com/svn/trunk@7947
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sun, 3 Mar 2013 03:22:43 +0000 (03:22 +0000)]
try ~0U instead of ~0 to fix signed warning passing to size_t
git-svn-id: http://skia.googlecode.com/svn/trunk@7946
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sun, 3 Mar 2013 01:57:21 +0000 (01:57 +0000)]
pass ~0 for length when we want to know the length of a table (with dst==null)
git-svn-id: http://skia.googlecode.com/svn/trunk@7945
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sun, 3 Mar 2013 01:15:48 +0000 (01:15 +0000)]
move some of the impl in fonthost into typeface virtuals
git-svn-id: http://skia.googlecode.com/svn/trunk@7944
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Sat, 2 Mar 2013 19:56:18 +0000 (19:56 +0000)]
gm self-test: make all test cases exercise transparency
BUG=https://code.google.com/p/skia/issues/detail?id=1142
Review URL: https://codereview.chromium.org/
12379047
git-svn-id: http://skia.googlecode.com/svn/trunk@7943
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Sat, 2 Mar 2013 17:45:27 +0000 (17:45 +0000)]
Move initialization to PictureRenderer ctor
https://codereview.appspot.com/7435052/
git-svn-id: http://skia.googlecode.com/svn/trunk@7942
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Sat, 2 Mar 2013 12:02:08 +0000 (12:02 +0000)]
Relanding 7914
git-svn-id: http://skia.googlecode.com/svn/trunk@7940
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sat, 2 Mar 2013 07:01:56 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7939
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 1 Mar 2013 21:34:26 +0000 (21:34 +0000)]
Revert 7932
git-svn-id: http://skia.googlecode.com/svn/trunk@7938
2bbb7eff-a529-9590-31e7-
b0007b416f81