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
commit-bot@chromium.org [Wed, 20 Mar 2013 00:49:57 +0000 (00:49 +0000)]
Fixing deferred canvas bug caused by SkTwoPointConicalGradient declaring itself as opaque.
BUG=https://code.google.com/p/chromium/issues/detail?id=222140
TEST=DeferredCanvas unit test + DRT with --enable-deferred-2d-canvas
Author: junov@chromium.org
Reviewed By: bsalomon@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
12879005
git-svn-id: http://skia.googlecode.com/svn/trunk@8247
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 20 Mar 2013 00:28:46 +0000 (00:28 +0000)]
Removed GrEffectStage::fVertexAttribCount to fix Chrome compilation warning/error
git-svn-id: http://skia.googlecode.com/svn/trunk@8245
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 19 Mar 2013 19:06:09 +0000 (19:06 +0000)]
Add support for IMG's MSAA extension.
Review URL: https://codereview.chromium.org/
12875005
git-svn-id: http://skia.googlecode.com/svn/trunk@8241
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 19 Mar 2013 18:58:43 +0000 (18:58 +0000)]
Reland MSAA changes to GM now that Linux/ATI driver bug has been worked around.
git-svn-id: http://skia.googlecode.com/svn/trunk@8240
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 19 Mar 2013 18:58:08 +0000 (18:58 +0000)]
Work around MSAA/lines issue on Linux bot.
Review URL: https://codereview.chromium.org/
12938005
git-svn-id: http://skia.googlecode.com/svn/trunk@8239
2bbb7eff-a529-9590-31e7-
b0007b416f81
jvanverth@google.com [Tue, 19 Mar 2013 18:51:02 +0000 (18:51 +0000)]
Add stroked ovals and CircleEdgeEffect.
Adds some optimizations to the circle and ellipse shaders, static effect
instances for their GrEffects, and some minor changes to GrDrawState::setEffect
to make GrEffect setup faster.
git-svn-id: http://skia.googlecode.com/svn/trunk@8238
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Tue, 19 Mar 2013 17:38:50 +0000 (17:38 +0000)]
Revert "Make gm use SkFlags."
Fix the build.
This reverts commit
6f1fe2aee39308fc56854b062be244a904c209e7.
Review URL: https://codereview.chromium.org/
12709005
git-svn-id: http://skia.googlecode.com/svn/trunk@8236
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Tue, 19 Mar 2013 17:28:10 +0000 (17:28 +0000)]
Make gm use SkFlags.
Make flag parser its own project. It is still in the tools folder,
but can now be used by other projects.
Some changes to behavior in order to work with SkFlags:
enable-missing-warning and disable-missing-warning have become
enableMissingWarning and noenableMissingWarning.
exclude-config is now excludeConfig
--config now can only be listed once, but all configs listed
after it will be included (same with excludeConfig and match).
In addition, writeJsonSummary has been changed to
writeJsonSummaryPath for consistency with other path flags.
Provide an option to SkFlags to provide a short name, and use
it for the flags which have short names.
--tileGridReplayScales now takes space separated arguments,
like other inputs.
BUG=https://code.google.com/p/skia/issues/detail?id=1094
Review URL: https://codereview.chromium.org/
12632015
git-svn-id: http://skia.googlecode.com/svn/trunk@8235
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Tue, 19 Mar 2013 17:19:05 +0000 (17:19 +0000)]
resubmit https://code.google.com/p/skia/source/detail?r=7883 (in the meantime we added capability to collect minidump and callstack if buildbot fails with heap coruption in windows. a few minor conflicts have been resolved)
Review URL: https://codereview.chromium.org/
12840004
git-svn-id: http://skia.googlecode.com/svn/trunk@8233
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 19 Mar 2013 16:43:40 +0000 (16:43 +0000)]
Revert changes to GM MSAA configs, hopefully fixes linux bot gm failures.
git-svn-id: http://skia.googlecode.com/svn/trunk@8232
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 19 Mar 2013 16:06:52 +0000 (16:06 +0000)]
remove SkFontHost::CreateScalerContext
Review URL: https://codereview.chromium.org/
12593013
git-svn-id: http://skia.googlecode.com/svn/trunk@8228
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 19 Mar 2013 15:19:41 +0000 (15:19 +0000)]
fix angle gmmain build
git-svn-id: http://skia.googlecode.com/svn/trunk@8226
2bbb7eff-a529-9590-31e7-
b0007b416f81
sugoi@google.com [Tue, 19 Mar 2013 15:07:30 +0000 (15:07 +0000)]
Fix for displacement mapping
Fixed the skia displacement map effect to match the WebKit displacement map fix.
Review URL: https://codereview.chromium.org/
12787007
git-svn-id: http://skia.googlecode.com/svn/trunk@8225
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 19 Mar 2013 14:50:41 +0000 (14:50 +0000)]
fix double->float warnings
git-svn-id: http://skia.googlecode.com/svn/trunk@8224
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 19 Mar 2013 14:44:54 +0000 (14:44 +0000)]
Add SkTypeface* parameter to SkScalerContext (and its callers)
Use SkTypeface to create scalercontext instead of SkFontHost
Review URL: https://codereview.chromium.org/
12706010
git-svn-id: http://skia.googlecode.com/svn/trunk@8223
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 19 Mar 2013 14:35:41 +0000 (14:35 +0000)]
Fix build break in gmmain.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@8222
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 19 Mar 2013 14:28:36 +0000 (14:28 +0000)]
Add config msaa4 to gm (not run by default) and make MSAA configs not run unless
sample count is <= the max.
Review URL: https://codereview.chromium.org/
12554012
git-svn-id: http://skia.googlecode.com/svn/trunk@8221
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 19 Mar 2013 14:20:22 +0000 (14:20 +0000)]
More performance rebaselines
git-svn-id: http://skia.googlecode.com/svn/trunk@8220
2bbb7eff-a529-9590-31e7-
b0007b416f81
commit-bot@chromium.org [Tue, 19 Mar 2013 14:16:31 +0000 (14:16 +0000)]
Add a macro for querying the byte order of SkPMColor.
R=reed@google.com
Author: bsalomon@google.com
Reviewed By: reed@google.com,epoger@google.com
Review URL: https://chromiumcodereview.appspot.com/
12771010
git-svn-id: http://skia.googlecode.com/svn/trunk@8219
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 19 Mar 2013 14:11:15 +0000 (14:11 +0000)]
Adding rects-specific GM
https://codereview.chromium.org/
12934003/
git-svn-id: http://skia.googlecode.com/svn/trunk@8218
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 19 Mar 2013 13:58:55 +0000 (13:58 +0000)]
Add MSAA configs to bench.
Review URL: https://codereview.chromium.org/
12607013
git-svn-id: http://skia.googlecode.com/svn/trunk@8217
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 19 Mar 2013 13:34:55 +0000 (13:34 +0000)]
use SkStream::NewFromFile()
git-svn-id: http://skia.googlecode.com/svn/trunk@8216
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 19 Mar 2013 12:29:06 +0000 (12:29 +0000)]
Remove SkMMapStream.h from core.gypi
git-svn-id: http://skia.googlecode.com/svn/trunk@8214
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Tue, 19 Mar 2013 07:15:10 +0000 (07:15 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8211
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Tue, 19 Mar 2013 02:18:33 +0000 (02:18 +0000)]
use SkStream::NewFromFile()
git-svn-id: http://skia.googlecode.com/svn/trunk@8210
2bbb7eff-a529-9590-31e7-
b0007b416f81