reed@google.com [Mon, 25 Mar 2013 20:21:26 +0000 (20:21 +0000)]
oops, fix name for SkCreateDataProviderFromData
git-svn-id: http://skia.googlecode.com/svn/trunk@8375
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 25 Mar 2013 20:15:40 +0000 (20:15 +0000)]
expose skdata -> cgdataprovider helper
git-svn-id: http://skia.googlecode.com/svn/trunk@8374
2bbb7eff-a529-9590-31e7-
b0007b416f81
sugoi@google.com [Mon, 25 Mar 2013 20:14:08 +0000 (20:14 +0000)]
Unreviewed build fix
git-svn-id: http://skia.googlecode.com/svn/trunk@8373
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Mon, 25 Mar 2013 19:36:11 +0000 (19:36 +0000)]
Change fixedWidth to fixedPitch and implement on Windows.
https://codereview.appspot.com/7954044/
git-svn-id: http://skia.googlecode.com/svn/trunk@8372
2bbb7eff-a529-9590-31e7-
b0007b416f81
sugoi@google.com [Mon, 25 Mar 2013 19:31:04 +0000 (19:31 +0000)]
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.chromium.org/
13047005
git-svn-id: http://skia.googlecode.com/svn/trunk@8371
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 25 Mar 2013 18:44:17 +0000 (18:44 +0000)]
move fontmgr into include/ports for now
git-svn-id: http://skia.googlecode.com/svn/trunk@8370
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 25 Mar 2013 18:19:00 +0000 (18:19 +0000)]
Move nested class GrDrawTarget::Caps out as GrDrawTargetCaps.
Pass caps to GrEffect::TestCreate() functions so that they can return effects that will work with the capabilities.
Review URL: https://codereview.chromium.org/
12965018
git-svn-id: http://skia.googlecode.com/svn/trunk@8369
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 25 Mar 2013 17:16:37 +0000 (17:16 +0000)]
Rebaseline Mac 10.8 performance flakes
git-svn-id: http://skia.googlecode.com/svn/trunk@8368
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Mon, 25 Mar 2013 16:58:49 +0000 (16:58 +0000)]
Whitespace change to trigger RazrI builds.
(RunBuilders:Skia_RazrI_4-1_Float_Release_32)
git-svn-id: http://skia.googlecode.com/svn/trunk@8367
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 25 Mar 2013 16:36:34 +0000 (16:36 +0000)]
limit SkFontHost::NextLogicalTypeface to only android (the only backend that
seems to rely on it), so we can remove it from the portable API.
git-svn-id: http://skia.googlecode.com/svn/trunk@8366
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 25 Mar 2013 15:43:01 +0000 (15:43 +0000)]
Fix non-Windows build break in r8364.
git-svn-id: http://skia.googlecode.com/svn/trunk@8365
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 25 Mar 2013 15:38:39 +0000 (15:38 +0000)]
Make GrDrawTarget::Caps ref counted and GrGLCaps derive from it.
Also rename GrDrawTarget::getCaps() -> GrDrawTarget::caps().
Review URL: https://codereview.chromium.org/
12843026
git-svn-id: http://skia.googlecode.com/svn/trunk@8364
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 25 Mar 2013 14:55:34 +0000 (14:55 +0000)]
make SkFontHost::NextLogicalTypeface private (only called by SkScalerContext)
git-svn-id: http://skia.googlecode.com/svn/trunk@8363
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 25 Mar 2013 14:45:12 +0000 (14:45 +0000)]
remove SkFontHost::EnsureTypefaceAccessible declaration (no longer implemented or called)
git-svn-id: http://skia.googlecode.com/svn/trunk@8361
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 25 Mar 2013 13:03:37 +0000 (13:03 +0000)]
land https://codereview.chromium.org/
12676024
git-svn-id: http://skia.googlecode.com/svn/trunk@8359
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 25 Mar 2013 12:01:45 +0000 (12:01 +0000)]
Fix compiler errors/warnings in r8355
git-svn-id: http://skia.googlecode.com/svn/trunk@8357
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 25 Mar 2013 11:52:27 +0000 (11:52 +0000)]
Rebaselining performance flake
git-svn-id: http://skia.googlecode.com/svn/trunk@8356
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 25 Mar 2013 11:50:42 +0000 (11:50 +0000)]
SkDrawCommand cleanup
https://codereview.chromium.org/
12989030/
git-svn-id: http://skia.googlecode.com/svn/trunk@8355
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Sun, 24 Mar 2013 21:18:20 +0000 (21:18 +0000)]
Rebaselining performance flakes
git-svn-id: http://skia.googlecode.com/svn/trunk@8354
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Sun, 24 Mar 2013 19:06:02 +0000 (19:06 +0000)]
Whitespace change to test emails
git-svn-id: http://skia.googlecode.com/svn/trunk@8353
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Sun, 24 Mar 2013 18:41:25 +0000 (18:41 +0000)]
Fix for android_clang_dbg compiler error
git-svn-id: http://skia.googlecode.com/svn/trunk@8352
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Sun, 24 Mar 2013 18:05:10 +0000 (18:05 +0000)]
Don't pretend we can draw MaskFilters, it produces artifacts that make the text unreadable when using CSS shadows.
Review URL: https://codereview.chromium.org/
12989032
git-svn-id: http://skia.googlecode.com/svn/trunk@8351
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sat, 23 Mar 2013 07:01:28 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8350
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 22 Mar 2013 20:15:11 +0000 (20:15 +0000)]
Rebaseline for Mac 10.9 performance trigger flakes
git-svn-id: http://skia.googlecode.com/svn/trunk@8347
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 22 Mar 2013 18:35:28 +0000 (18:35 +0000)]
Widen the range on some performance trigger flakes
git-svn-id: http://skia.googlecode.com/svn/trunk@8346
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Fri, 22 Mar 2013 18:34:09 +0000 (18:34 +0000)]
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
epoger@google.com [Fri, 22 Mar 2013 17:29:46 +0000 (17:29 +0000)]
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
reed@google.com [Fri, 22 Mar 2013 17:21:59 +0000 (17:21 +0000)]
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
robertphillips@google.com [Fri, 22 Mar 2013 16:44:14 +0000 (16:44 +0000)]
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
robertphillips@google.com [Fri, 22 Mar 2013 16:33:31 +0000 (16:33 +0000)]
More SkDrawCommand cleanup
https://codereview.chromium.org/
12634024/
git-svn-id: http://skia.googlecode.com/svn/trunk@8340
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 22 Mar 2013 15:17:21 +0000 (15:17 +0000)]
revert 8331 (broke android text)
git-svn-id: http://skia.googlecode.com/svn/trunk@8339
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 22 Mar 2013 13:58:34 +0000 (13:58 +0000)]
fix warning (again) for SkMovie
git-svn-id: http://skia.googlecode.com/svn/trunk@8336
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 22 Mar 2013 13:46:30 +0000 (13:46 +0000)]
Remove Ubuntu gpu performance triggers
git-svn-id: http://skia.googlecode.com/svn/trunk@8334
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 22 Mar 2013 13:34:59 +0000 (13:34 +0000)]
Fix typo in SkTLazy.h's "operator delete"
git-svn-id: http://skia.googlecode.com/svn/trunk@8333
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 22 Mar 2013 13:32:59 +0000 (13:32 +0000)]
fix warning for SkMovie
git-svn-id: http://skia.googlecode.com/svn/trunk@8332
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 22 Mar 2013 13:23:45 +0000 (13:23 +0000)]
override SkTypeface::onOpenStream for android
git-svn-id: http://skia.googlecode.com/svn/trunk@8331
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Fri, 22 Mar 2013 13:16:06 +0000 (13:16 +0000)]
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
robertphillips@google.com [Fri, 22 Mar 2013 12:25:30 +0000 (12:25 +0000)]
More SkDrawCommand cleanup
https://codereview.chromium.org/
12979004/
git-svn-id: http://skia.googlecode.com/svn/trunk@8328
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Fri, 22 Mar 2013 12:21:57 +0000 (12:21 +0000)]
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
commit-bot@chromium.org [Fri, 22 Mar 2013 11:22:04 +0000 (11:22 +0000)]
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
skia.committer@gmail.com [Fri, 22 Mar 2013 07:01:51 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8324
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Fri, 22 Mar 2013 00:54:58 +0000 (00:54 +0000)]
remove obsolete/abandoned font backend
git-svn-id: http://skia.googlecode.com/svn/trunk@8322
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Fri, 22 Mar 2013 00:47:41 +0000 (00:47 +0000)]
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
mike@reedtribe.org [Fri, 22 Mar 2013 00:37:34 +0000 (00:37 +0000)]
remove obsolete/unsupported font backend
git-svn-id: http://skia.googlecode.com/svn/trunk@8320
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Thu, 21 Mar 2013 23:59:26 +0000 (23:59 +0000)]
remove now obsolete GetAdvancedTypefaceMetrics API from SkFontHost
git-svn-id: http://skia.googlecode.com/svn/trunk@8319
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Thu, 21 Mar 2013 23:45:03 +0000 (23:45 +0000)]
remove obsolete/orphaned font backend
git-svn-id: http://skia.googlecode.com/svn/trunk@8318
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 21 Mar 2013 21:43:51 +0000 (21:43 +0000)]
switch to typeface api for tables
git-svn-id: http://skia.googlecode.com/svn/trunk@8317
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 21 Mar 2013 21:22:03 +0000 (21:22 +0000)]
Reverting 8313 (SVG turbulence) due to Ubuntu failures
git-svn-id: http://skia.googlecode.com/svn/trunk@8316
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 21 Mar 2013 21:16:31 +0000 (21:16 +0000)]
make OpenStream and GetFileName private (soon to go away)
git-svn-id: http://skia.googlecode.com/svn/trunk@8315
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 21 Mar 2013 21:05:49 +0000 (21:05 +0000)]
Performance trigger rebaselines
git-svn-id: http://skia.googlecode.com/svn/trunk@8314
2bbb7eff-a529-9590-31e7-
b0007b416f81
sugoi@google.com [Thu, 21 Mar 2013 21:01:07 +0000 (21:01 +0000)]
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
reed@google.com [Thu, 21 Mar 2013 20:55:10 +0000 (20:55 +0000)]
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
robertphillips@google.com [Thu, 21 Mar 2013 20:54:42 +0000 (20:54 +0000)]
"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
reed@google.com [Thu, 21 Mar 2013 20:34:27 +0000 (20:34 +0000)]
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
bsalomon@google.com [Thu, 21 Mar 2013 20:29:05 +0000 (20:29 +0000)]
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
reed@google.com [Thu, 21 Mar 2013 20:16:04 +0000 (20:16 +0000)]
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
commit-bot@chromium.org [Thu, 21 Mar 2013 19:58:22 +0000 (19:58 +0000)]
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
scroggo@google.com [Thu, 21 Mar 2013 19:43:15 +0000 (19:43 +0000)]
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
reed@google.com [Thu, 21 Mar 2013 19:28:10 +0000 (19:28 +0000)]
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
reed@google.com [Thu, 21 Mar 2013 18:46:35 +0000 (18:46 +0000)]
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
sugoi@google.com [Thu, 21 Mar 2013 18:38:03 +0000 (18:38 +0000)]
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
reed@google.com [Thu, 21 Mar 2013 18:22:00 +0000 (18:22 +0000)]
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
commit-bot@chromium.org [Thu, 21 Mar 2013 17:44:39 +0000 (17:44 +0000)]
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
robertphillips@google.com [Thu, 21 Mar 2013 17:38:49 +0000 (17:38 +0000)]
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
reed@google.com [Thu, 21 Mar 2013 15:36:26 +0000 (15:36 +0000)]
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
reed@google.com [Thu, 21 Mar 2013 15:20:00 +0000 (15:20 +0000)]
beef-up upem test for fonts
git-svn-id: http://skia.googlecode.com/svn/trunk@8293
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Thu, 21 Mar 2013 13:54:16 +0000 (13:54 +0000)]
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
epoger@google.com [Thu, 21 Mar 2013 13:49:54 +0000 (13:49 +0000)]
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
reed@google.com [Thu, 21 Mar 2013 13:38:18 +0000 (13:38 +0000)]
oops, update the INHERITED for our typeface
git-svn-id: http://skia.googlecode.com/svn/trunk@8289
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 21 Mar 2013 13:33:49 +0000 (13:33 +0000)]
inherit from SkTypeface_FreeType to share more code
git-svn-id: http://skia.googlecode.com/svn/trunk@8288
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 21 Mar 2013 13:30:54 +0000 (13:30 +0000)]
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
scroggo@google.com [Thu, 21 Mar 2013 13:10:59 +0000 (13:10 +0000)]
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
commit-bot@chromium.org [Thu, 21 Mar 2013 12:46:01 +0000 (12:46 +0000)]
Fix divide-by-zero in program cache tracking.
This also adds tracking to developer builds.
Author: jvanverth@google.com
Reviewed By: robertphillips@google.com
Review URL: https://chromiumcodereview.appspot.com/
12426019
git-svn-id: http://skia.googlecode.com/svn/trunk@8284
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Thu, 21 Mar 2013 12:40:08 +0000 (12:40 +0000)]
This changes fixes issues with the non-separable blend modes. They were not producing the correct results if alpha was involved.
I fixed the math so everything happens in premultiplied alpha so there is no loss in precision.
I also fixed the math of color-burn and color-dodge.
Author: cabanier@gmail.com
Reviewed By: reed@google.com
Review URL: https://chromiumcodereview.appspot.com/
12662006
git-svn-id: http://skia.googlecode.com/svn/trunk@8283
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Thu, 21 Mar 2013 07:01:39 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8281
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 21 Mar 2013 00:09:12 +0000 (00:09 +0000)]
Adjust performance triggers
git-svn-id: http://skia.googlecode.com/svn/trunk@8280
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Wed, 20 Mar 2013 20:16:20 +0000 (20:16 +0000)]
Fail to return a codec if the provided stream does not support rewind.
Review URL: https://codereview.chromium.org/
12545052
git-svn-id: http://skia.googlecode.com/svn/trunk@8277
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 20 Mar 2013 20:04:27 +0000 (20:04 +0000)]
When SkFlags encounters an invalid flag, quit.
This way the user knows to change their command line.
Review URL: https://codereview.chromium.org/
12881014
git-svn-id: http://skia.googlecode.com/svn/trunk@8275
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 20 Mar 2013 20:01:47 +0000 (20:01 +0000)]
move impl of AdvancedTypefaceMetrics into typeface (3)
Review URL: https://codereview.chromium.org/
12807004
git-svn-id: http://skia.googlecode.com/svn/trunk@8274
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 20 Mar 2013 19:50:41 +0000 (19:50 +0000)]
Update help in SkFlags.
Print the short name in addition to the standard name.
Allow an option for getting help for a specific command.
Review URL: https://codereview.chromium.org/
12411007
git-svn-id: http://skia.googlecode.com/svn/trunk@8273
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 20 Mar 2013 19:19:53 +0000 (19:19 +0000)]
Attempt to reland 8264-5 with warning-as-error fixes.
git-svn-id: http://skia.googlecode.com/svn/trunk@8272
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 20 Mar 2013 18:46:34 +0000 (18:46 +0000)]
Revert r8269 to fix BuildGM. Warnings-as-errors problem, dunno why I didn't see it locally.
git-svn-id: http://skia.googlecode.com/svn/trunk@8271
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Wed, 20 Mar 2013 18:00:09 +0000 (18:00 +0000)]
Fix submit_try
Unreviewed
(SkipBuildbotRuns)
git-svn-id: http://skia.googlecode.com/svn/trunk@8270
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 20 Mar 2013 17:59:28 +0000 (17:59 +0000)]
gm refactor: extract run_multiple_configs() and run_multiple_modes()
Review URL: https://codereview.chromium.org/
12536007
git-svn-id: http://skia.googlecode.com/svn/trunk@8269
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 20 Mar 2013 17:47:16 +0000 (17:47 +0000)]
revert 8265-8264 (broke build)
git-svn-id: http://skia.googlecode.com/svn/trunk@8268
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Wed, 20 Mar 2013 17:45:27 +0000 (17:45 +0000)]
Upstream changes from Android for decoding jpeg images.
Review URL: https://codereview.chromium.org/
12438025
git-svn-id: http://skia.googlecode.com/svn/trunk@8267
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 20 Mar 2013 17:41:50 +0000 (17:41 +0000)]
Fix build breakage.
git-svn-id: http://skia.googlecode.com/svn/trunk@8265
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 20 Mar 2013 17:32:27 +0000 (17:32 +0000)]
Adds local coords to GrEffect system.
Effects can ask the builder for local coords which may or may not be distinct from positions.
GrEffectStage tracks changes to relationship between pos and local coords.
GrGLEffectMatrix and GrSingleTextureEffect can use either pos or textures as intput coords
GrSimpleTextureEffect now allows for an explicit texture coords attribute.
Review URL: https://codereview.chromium.org/
12531015
git-svn-id: http://skia.googlecode.com/svn/trunk@8264
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@google.com [Wed, 20 Mar 2013 16:54:30 +0000 (16:54 +0000)]
Unreviewed. Adding TODO comment to reference newly filed bug.
git-svn-id: http://skia.googlecode.com/svn/trunk@8263
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Wed, 20 Mar 2013 16:07:37 +0000 (16:07 +0000)]
Remove SK_ENABLE_LIBPNG define as it is no longer needed by Android.
Review URL: https://codereview.chromium.org/
12958002
git-svn-id: http://skia.googlecode.com/svn/trunk@8262
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 20 Mar 2013 15:56:03 +0000 (15:56 +0000)]
comments only: update docs for SkStream::readData(), SkWStream::writeData()
BUG=https://code.google.com/p/skia/issues/detail?id=1167
Review URL: https://codereview.chromium.org/
12604012
git-svn-id: http://skia.googlecode.com/svn/trunk@8260
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Wed, 20 Mar 2013 15:50:59 +0000 (15:50 +0000)]
Remove unused declaration
Review URL: https://codereview.chromium.org/
12704017
git-svn-id: http://skia.googlecode.com/svn/trunk@8257
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 20 Mar 2013 15:35:08 +0000 (15:35 +0000)]
Write the config options in place in the help string.
Fixes for gm.
Builds on https://codereview.chromium.org/
12955002/
Review URL: https://codereview.chromium.org/
12663021
git-svn-id: http://skia.googlecode.com/svn/trunk@8256
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 20 Mar 2013 14:42:51 +0000 (14:42 +0000)]
Reverting r8233 (Use SkSet in PDF)
git-svn-id: http://skia.googlecode.com/svn/trunk@8255
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 20 Mar 2013 14:20:18 +0000 (14:20 +0000)]
Reland r8235 "Switch gm to use SkFlags."
This time, using #if guards for gpuCacheSize consistently.
Also fix some warnings.
BUG=https://code.google.com/p/skia/issues/detail?id=1094
Review URL: https://codereview.chromium.org/
12440052
git-svn-id: http://skia.googlecode.com/svn/trunk@8254
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 20 Mar 2013 14:15:52 +0000 (14:15 +0000)]
add new API for gdi fonts (not hooked up yet)
git-svn-id: http://skia.googlecode.com/svn/trunk@8253
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Wed, 20 Mar 2013 13:48:20 +0000 (13:48 +0000)]
Add --resourcePath flag to the test program.
Review URL: https://codereview.chromium.org/
12521016
git-svn-id: http://skia.googlecode.com/svn/trunk@8252
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Wed, 20 Mar 2013 13:33:33 +0000 (13:33 +0000)]
Add an entry for Cambria-Caladea to the list of metric compatible fonts.
Caladea is going to be included in Chromium/Chrome OS as a substitute for Cambria. (see https://gerrit.chromium.org/gerrit/#/c/45888/ ).
BUG=chromium:168879
TEST=See the bug and the ChromeOS CL above.
Author: jshin@chromium.org
Reviewed By: reed@google.com
Review URL: https://chromiumcodereview.appspot.com/
12879008
git-svn-id: http://skia.googlecode.com/svn/trunk@8251
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Wed, 20 Mar 2013 13:20:16 +0000 (13:20 +0000)]
Whitespace change to trigger rebuilds since skia-autogen looks ok now
git-svn-id: http://skia.googlecode.com/svn/trunk@8250
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Wed, 20 Mar 2013 07:01:02 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8249
2bbb7eff-a529-9590-31e7-
b0007b416f81