robertphillips@google.com
20beb481ec
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
2013-03-07 19:32:45 +00:00
bsalomon@google.com
6918d482d6
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
2013-03-07 19:09:11 +00:00
bsalomon@google.com
8890af397e
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
2013-03-07 18:44:34 +00:00
scroggo@google.com
807da9d1f2
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
2013-03-07 18:14:11 +00:00
bsalomon@google.com
b9cf393e84
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
2013-03-07 18:05:08 +00:00
bensong@google.com
848fa2bf75
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
2013-03-07 17:12:43 +00:00
bsalomon@google.com
f910d3b23b
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
2013-03-07 17:06:57 +00:00
borenet@google.com
327b9b205a
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
2013-03-07 15:33:28 +00:00
reed@google.com
3c1ea3a7e5
land https://chromiumcodereview.appspot.com/12440004/
...
git-svn-id: http://skia.googlecode.com/svn/trunk@8013 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-07 15:31:58 +00:00
robertphillips@google.com
45fc9d9b3f
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
2013-03-06 16:59:36 +00:00
bsalomon@google.com
8c16ef55f6
Remove unused vars
...
git-svn-id: http://skia.googlecode.com/svn/trunk@8008 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-06 16:51:32 +00:00
bsalomon@google.com
40db6dc98d
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
2013-03-06 16:35:49 +00:00
reed@google.com
8c9737e114
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
2013-03-06 13:06:03 +00:00
epoger@google.com
3d571f42c1
Whitespace commit to trigger buildbots after skia-autogen reset
...
git-svn-id: http://skia.googlecode.com/svn/trunk@8004 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-06 12:59:00 +00:00
skia.committer@gmail.com
64334352cc
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@8003 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-06 07:01:46 +00:00
mike@reedtribe.org
64494e99af
add 'o' option to show fat-oval
...
git-svn-id: http://skia.googlecode.com/svn/trunk@8002 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-06 02:18:33 +00:00
epoger@google.com
812b6f59fa
Revert r8000 due to failures on some buildbots
...
git-svn-id: http://skia.googlecode.com/svn/trunk@8001 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-06 00:47:22 +00:00
epoger@google.com
1cad898916
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
2013-03-06 00:05:13 +00:00
reed@google.com
ee38c08b07
add ttcIndex parameter to calls to SkFontStream
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7999 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-05 22:33:16 +00:00
reed@google.com
5bfc839622
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
2013-03-05 22:12:11 +00:00
reed@google.com
90ee4488e9
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
2013-03-05 20:50:47 +00:00
sugoi@google.com
66a58aca83
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
2013-03-05 20:40:52 +00:00
bsalomon@google.com
64cc810ad1
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
2013-03-05 20:06:05 +00:00
bsalomon@google.com
acf3ecc7f7
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
2013-03-05 19:30:54 +00:00
bsalomon@google.com
b7f20f20ac
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
2013-03-05 19:13:09 +00:00
sugoi@google.com
77472f06f8
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
2013-03-05 18:50:01 +00:00
sugoi@google.com
e2e8113baa
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
2013-03-05 18:35:55 +00:00
reed@google.com
a718c5e0e5
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
2013-03-05 17:49:10 +00:00
commit-bot@chromium.org
b24f89353e
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
2013-03-05 16:23:59 +00:00
bsalomon@google.com
07631cf14e
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
2013-03-05 14:14:58 +00:00
caryclark@google.com
d4c8e1e035
shape ops work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7978 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-05 14:13:13 +00:00
skia.committer@gmail.com
075b089b1b
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7976 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-05 07:09:08 +00:00
scroggo@google.com
b069e40b73
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
2013-03-04 21:51:24 +00:00
scroggo@google.com
c75764ed44
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
2013-03-04 21:38:50 +00:00
scroggo@google.com
a560d00ba5
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
2013-03-04 21:32:32 +00:00
sugoi@google.com
8563d3089c
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
2013-03-04 21:03:17 +00:00
commit-bot@chromium.org
31ea3394a0
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
2013-03-04 20:58:01 +00:00
reed@google.com
358f8ff47e
Rely on libfontconfig to determine our default font
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7967 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-04 20:27:58 +00:00
robertphillips@google.com
37ebe3fbf6
Address some valgrind issues
...
https://codereview.appspot.com/7448051/
git-svn-id: http://skia.googlecode.com/svn/trunk@7966 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-04 20:03:44 +00:00
scroggo@google.com
cc690201d2
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
2013-03-04 19:56:21 +00:00
djsollen@google.com
46348e2173
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
2013-03-04 19:47:42 +00:00
reed@google.com
d66045ec7d
export getter for global instance of fontconfiginterfacedirect
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7963 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-04 19:07:02 +00:00
reed@google.com
86a44b89c5
export api with SK_API
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7962 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-04 17:26:02 +00:00
scroggo@google.com
161e1ba4c0
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
2013-03-04 16:41:06 +00:00
reed@google.com
822bde74b9
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
2013-03-04 16:28:33 +00:00
reed@google.com
6ec97b6e4b
refactor fonthost_tables into wrapper (fonthost) and impl (fontstream)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7958 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-04 15:16:06 +00:00
robertphillips@google.com
b755a2ace7
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
2013-03-04 14:59:55 +00:00
humper@google.com
0cb80e1190
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
2013-03-04 14:52:02 +00:00
reed@google.com
8333d2adf9
enable fontconfig backend for fonthost on linux
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7955 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-04 14:45:29 +00:00
reed@google.com
4969044d0b
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
2013-03-04 14:39:47 +00:00