Commit Graph

6757 Commits

Author SHA1 Message Date
skia.committer@gmail.com
7e32851d54 Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8350 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-23 07:01:28 +00:00
robertphillips@google.com
72657e00ca Rebaseline for Mac 10.9 performance trigger flakes
git-svn-id: http://skia.googlecode.com/svn/trunk@8347 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 20:15:11 +00:00
robertphillips@google.com
28795f5e31 Widen the range on some performance trigger flakes
git-svn-id: http://skia.googlecode.com/svn/trunk@8346 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 18:35:28 +00:00
commit-bot@chromium.org
81312830ef Move oval rendering code to GrOvalRenderer.
Author: jvanverth@google.com

Reviewed By: bsalomon@google.com,robertphillips@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@8345 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 18:34:09 +00:00
epoger@google.com
6f6568b27e gm: change ErrorBitfield to ErrorType/ErrorCombination
This will enable future GM changes to report errors more completely/consistently, like skdiff.
Review URL: https://codereview.chromium.org/12992003

git-svn-id: http://skia.googlecode.com/svn/trunk@8344 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 17:29:46 +00:00
reed@google.com
292b1d4903 remove SkFontHost::OpenStream(), now subsumed by SkTypeface::openStream()
remove obsolete/abandoned SkFontHost_freetype_mac.cpp
Review URL: https://codereview.chromium.org/13008019

git-svn-id: http://skia.googlecode.com/svn/trunk@8342 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 17:21:59 +00:00
robertphillips@google.com
cb693198e7 Update gyp\images.gyp for move of SkJpegUtility.h from include\images to src\images (in r8267)
git-svn-id: http://skia.googlecode.com/svn/trunk@8341 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 16:44:14 +00:00
robertphillips@google.com
24bfdac3f3 More SkDrawCommand cleanup
https://codereview.chromium.org/12634024/



git-svn-id: http://skia.googlecode.com/svn/trunk@8340 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 16:33:31 +00:00
reed@google.com
0228856899 revert 8331 (broke android text)
git-svn-id: http://skia.googlecode.com/svn/trunk@8339 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 15:17:21 +00:00
reed@google.com
253ac10622 fix warning (again) for SkMovie
git-svn-id: http://skia.googlecode.com/svn/trunk@8336 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 13:58:34 +00:00
robertphillips@google.com
b2ef7088cb Remove Ubuntu gpu performance triggers
git-svn-id: http://skia.googlecode.com/svn/trunk@8334 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 13:46:30 +00:00
robertphillips@google.com
5ee708a235 Fix typo in SkTLazy.h's "operator delete"
git-svn-id: http://skia.googlecode.com/svn/trunk@8333 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 13:34:59 +00:00
reed@google.com
069a902a96 fix warning for SkMovie
git-svn-id: http://skia.googlecode.com/svn/trunk@8332 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 13:32:59 +00:00
reed@google.com
1361d78e88 override SkTypeface::onOpenStream for android
git-svn-id: http://skia.googlecode.com/svn/trunk@8331 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 13:23:45 +00:00
borenet@google.com
a72aef8a21 Refactor skia_warnings_as_errors
Review URL: https://codereview.chromium.org/12963002

git-svn-id: http://skia.googlecode.com/svn/trunk@8330 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 13:16:06 +00:00
robertphillips@google.com
a3a09ab1d5 More SkDrawCommand cleanup
https://codereview.chromium.org/12979004/



git-svn-id: http://skia.googlecode.com/svn/trunk@8328 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 12:25:30 +00:00
commit-bot@chromium.org
f1b6b0675e Clean up GrCircleEdgeEffect and GrEllipseEdgeEffect.
Remove unnecessary headers and fix onIsEqual() for both classes.

Author: jvanverth@google.com

Reviewed By: bsalomon@google.com,robertphillips@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@8327 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 12:21:57 +00:00
commit-bot@chromium.org
5af349676a Whitespace change to test commit queue
TBR=borenet

(SkipBuildbotRuns)

Author: rmistry@google.com

Reviewed By: borenet@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@8325 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 11:22:04 +00:00
skia.committer@gmail.com
3ddb793e30 Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8324 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 07:01:51 +00:00
mike@reedtribe.org
7935d7ca73 remove obsolete/abandoned font backend
git-svn-id: http://skia.googlecode.com/svn/trunk@8322 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 00:54:58 +00:00
mike@reedtribe.org
66d831dc74 remove SkFontHost::GetFileName
All remaining impls were either empty, or always return 0 for ttcIndex (its only value).
This functionality is now totally subsumed by SkTypeface::openStream()



git-svn-id: http://skia.googlecode.com/svn/trunk@8321 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 00:47:41 +00:00
mike@reedtribe.org
25d5ab0c0e remove obsolete/unsupported font backend
git-svn-id: http://skia.googlecode.com/svn/trunk@8320 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-22 00:37:34 +00:00
mike@reedtribe.org
53872fb937 remove now obsolete GetAdvancedTypefaceMetrics API from SkFontHost
git-svn-id: http://skia.googlecode.com/svn/trunk@8319 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 23:59:26 +00:00
mike@reedtribe.org
06e87370a7 remove obsolete/orphaned font backend
git-svn-id: http://skia.googlecode.com/svn/trunk@8318 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 23:45:03 +00:00
reed@google.com
398de9ad9c switch to typeface api for tables
git-svn-id: http://skia.googlecode.com/svn/trunk@8317 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 21:43:51 +00:00
robertphillips@google.com
b7636d3fad Reverting 8313 (SVG turbulence) due to Ubuntu failures
git-svn-id: http://skia.googlecode.com/svn/trunk@8316 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 21:22:03 +00:00
reed@google.com
29b7e636be make OpenStream and GetFileName private (soon to go away)
git-svn-id: http://skia.googlecode.com/svn/trunk@8315 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 21:16:31 +00:00
robertphillips@google.com
fb4038a889 Performance trigger rebaselines
git-svn-id: http://skia.googlecode.com/svn/trunk@8314 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 21:05:49 +00:00
sugoi@google.com
3067cc904d New SVG turbulence in Skia
This cl contains the code for both CPU and GPU generation of noise. Both codepaths yield equivalent results.

TEST:Added 'perlinnoise' gm
Review URL: https://codereview.appspot.com/7322060

git-svn-id: http://skia.googlecode.com/svn/trunk@8313 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 21:01:07 +00:00
reed@google.com
177dc6e57a override SkTypeface::onOpenStream for DW
also fix warnings
Review URL: https://codereview.chromium.org/12683003

git-svn-id: http://skia.googlecode.com/svn/trunk@8312 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 20:55:10 +00:00
robertphillips@google.com
ae3f2ce18d "Fix" persistent failure of BitmapFactoryTest on debug RazrI
https://codereview.chromium.org/13002002/



git-svn-id: http://skia.googlecode.com/svn/trunk@8311 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 20:54:42 +00:00
reed@google.com
6c66d2f2b6 remove GetTable* APIs from SkFontHost, and rely on SkTypeface::onGetTable*
default impls call SkFontStream, and rely on SkTypeface::onOpenStream
Review URL: https://codereview.chromium.org/13001002

git-svn-id: http://skia.googlecode.com/svn/trunk@8310 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 20:34:27 +00:00
bsalomon@google.com
b58a639b2f Enable init'ed but unused var warning on windows for closer parity with mac/linux warnings.
Review URL: https://codereview.chromium.org/12536008

git-svn-id: http://skia.googlecode.com/svn/trunk@8307 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 20:29:05 +00:00
reed@google.com
0042b9c2a2 override SkTypeface::onOpenStream()
note: getTables APIs are not overridden yet, causing them to take the slow
openstream case each time. We should fix this, since openStream for windows
itself is slow (not native).
Review URL: https://codereview.chromium.org/12941006

git-svn-id: http://skia.googlecode.com/svn/trunk@8306 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 20:16:04 +00:00
commit-bot@chromium.org
dd4400b5a1 Stop printing GL errors for disabling color tables on core profiles on nvidia/windows machines.
Author: bsalomon@google.com

Reviewed By: jvanverth@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@8305 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 19:58:22 +00:00
scroggo@google.com
d9ba9a05d6 Change the name of SkFlags to SkCommandLineFlags.
This name is more specific to what it actually does.

Also move the code into tools/flags, to (slightly) better organize
the massive tools folder.

Update the programs that use it to use the new names.

No functionality changes.

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

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

git-svn-id: http://skia.googlecode.com/svn/trunk@8304 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 19:43:15 +00:00
reed@google.com
cc9aad5787 override onGetTableTags() and onGetTableData() in SkTypeface, in preparation for
removing the associated APIs in SkFontHost.h



git-svn-id: http://skia.googlecode.com/svn/trunk@8303 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 19:28:10 +00:00
reed@google.com
055180cb9c Use function-ptr instead of SkFontHost api to allow client to handle
loading GDI font data for fonts.
Review URL: https://codereview.chromium.org/12938004

git-svn-id: http://skia.googlecode.com/svn/trunk@8301 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 18:46:35 +00:00
sugoi@google.com
4d94e1bb06 Removed the "any" command from the displacement glsl shader.
WebKit's version of Mesa's compiler seems to crash on the "any" command even though it's a GLSL 1.1 command.
Review URL: https://codereview.chromium.org/12413030

git-svn-id: http://skia.googlecode.com/svn/trunk@8300 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 18:38:03 +00:00
reed@google.com
2cdc6713fb add virtual SkTypeface::onOpenStream and override that for fontconfig
(other ports to follow)

When this is complete, we will be able to remove from SkFontHost
- OpenStream
- GetFileName
Review URL: https://codereview.chromium.org/12988002

git-svn-id: http://skia.googlecode.com/svn/trunk@8299 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 18:22:00 +00:00
commit-bot@chromium.org
9ae78506bd Stop the GLPrograms unit test from generating out of range attrib indices for effects.
R=jvanverth@google.com

Author: bsalomon@google.com

Reviewed By: jvanverth@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@8298 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 17:44:39 +00:00
robertphillips@google.com
35300c47fc Fix minor valgrind-found memory leaks
https://codereview.chromium.org/12440066/



git-svn-id: http://skia.googlecode.com/svn/trunk@8297 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 17:38:49 +00:00
reed@google.com
38c37ddbaf call onGetUPEM to subclasses can optimize it, and place default behavior
(calling getAdvancedTypefaceMetrics) in base impl.

This allows us to remove SkFontHost::GetUnitsPerEm entirely
Review URL: https://codereview.chromium.org/12915003

git-svn-id: http://skia.googlecode.com/svn/trunk@8295 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 15:36:26 +00:00
reed@google.com
a262eea230 beef-up upem test for fonts
git-svn-id: http://skia.googlecode.com/svn/trunk@8293 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 15:20:00 +00:00
edisonn@google.com
9dcf465119 When we read from a RemoteFontStream (might happen maybe with other streams), stream's data might be partially consumed. If so, when we try to read the whole content of the font, we fail, because we read only part of the content.
Review URL: https://codereview.chromium.org/12926004

git-svn-id: http://skia.googlecode.com/svn/trunk@8291 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 13:54:16 +00:00
epoger@google.com
80724dfeb3 Re-land r8269, fixing build errors/warnings
Review URL: https://codereview.chromium.org/12886037

git-svn-id: http://skia.googlecode.com/svn/trunk@8290 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 13:49:54 +00:00
reed@google.com
032fbb8ebf oops, update the INHERITED for our typeface
git-svn-id: http://skia.googlecode.com/svn/trunk@8289 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 13:38:18 +00:00
reed@google.com
0fc17c33f1 inherit from SkTypeface_FreeType to share more code
git-svn-id: http://skia.googlecode.com/svn/trunk@8288 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 13:33:49 +00:00
djsollen@google.com
5dd45021c3 Update code to use helper function for better readability/searching.
Review URL: https://codereview.chromium.org/12834012

git-svn-id: http://skia.googlecode.com/svn/trunk@8287 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 13:30:54 +00:00
scroggo@google.com
5dc4ca1ce6 Allow more options for setting boolean flag values in SkFlags.
Now booleans can be set using
--boolean=true or --boolean true (as well as other options).

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

git-svn-id: http://skia.googlecode.com/svn/trunk@8285 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-03-21 13:10:59 +00:00