aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Change the name of SkFlags to SkCommandLineFlags.Gravatar scroggo@google.com2013-03-21
| | | | | | | | | | | | | | | | | 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
* override onGetTableTags() and onGetTableData() in SkTypeface, in preparation forGravatar reed@google.com2013-03-21
| | | | | | | | removing the associated APIs in SkFontHost.h git-svn-id: http://skia.googlecode.com/svn/trunk@8303 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use function-ptr instead of SkFontHost api to allow client to handleGravatar reed@google.com2013-03-21
| | | | | | | 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
* Removed the "any" command from the displacement glsl shader.Gravatar sugoi@google.com2013-03-21
| | | | | | | 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
* add virtual SkTypeface::onOpenStream and override that for fontconfigGravatar reed@google.com2013-03-21
| | | | | | | | | | | (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
* Stop the GLPrograms unit test from generating out of range attrib indices ↵Gravatar commit-bot@chromium.org2013-03-21
| | | | | | | | | | | | | | 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
* Fix minor valgrind-found memory leaksGravatar robertphillips@google.com2013-03-21
| | | | | | | | https://codereview.chromium.org/12440066/ git-svn-id: http://skia.googlecode.com/svn/trunk@8297 2bbb7eff-a529-9590-31e7-b0007b416f81
* call onGetUPEM to subclasses can optimize it, and place default behaviorGravatar reed@google.com2013-03-21
| | | | | | | | | (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
* beef-up upem test for fontsGravatar reed@google.com2013-03-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8293 2bbb7eff-a529-9590-31e7-b0007b416f81
* When we read from a RemoteFontStream (might happen maybe with other ↵Gravatar edisonn@google.com2013-03-21
| | | | | | | | 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
* Re-land r8269, fixing build errors/warningsGravatar epoger@google.com2013-03-21
| | | | | | Review URL: https://codereview.chromium.org/12886037 git-svn-id: http://skia.googlecode.com/svn/trunk@8290 2bbb7eff-a529-9590-31e7-b0007b416f81
* oops, update the INHERITED for our typefaceGravatar reed@google.com2013-03-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8289 2bbb7eff-a529-9590-31e7-b0007b416f81
* inherit from SkTypeface_FreeType to share more codeGravatar reed@google.com2013-03-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8288 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update code to use helper function for better readability/searching.Gravatar djsollen@google.com2013-03-21
| | | | | | Review URL: https://codereview.chromium.org/12834012 git-svn-id: http://skia.googlecode.com/svn/trunk@8287 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allow more options for setting boolean flag values in SkFlags.Gravatar scroggo@google.com2013-03-21
| | | | | | | | | 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
* Fix divide-by-zero in program cache tracking.Gravatar commit-bot@chromium.org2013-03-21
| | | | | | | | | | | | 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
* This changes fixes issues with the non-separable blend modes. They were not ↵Gravatar commit-bot@chromium.org2013-03-21
| | | | | | | | | | | | | | | | 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
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-03-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8281 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adjust performance triggersGravatar robertphillips@google.com2013-03-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8280 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fail to return a codec if the provided stream does not support rewind.Gravatar djsollen@google.com2013-03-20
| | | | | | Review URL: https://codereview.chromium.org/12545052 git-svn-id: http://skia.googlecode.com/svn/trunk@8277 2bbb7eff-a529-9590-31e7-b0007b416f81
* When SkFlags encounters an invalid flag, quit.Gravatar scroggo@google.com2013-03-20
| | | | | | | | 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
* move impl of AdvancedTypefaceMetrics into typeface (3)Gravatar reed@google.com2013-03-20
| | | | | | Review URL: https://codereview.chromium.org/12807004 git-svn-id: http://skia.googlecode.com/svn/trunk@8274 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update help in SkFlags.Gravatar scroggo@google.com2013-03-20
| | | | | | | | | | 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
* Attempt to reland 8264-5 with warning-as-error fixes.Gravatar bsalomon@google.com2013-03-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8272 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r8269 to fix BuildGM. Warnings-as-errors problem, dunno why I didn't ↵Gravatar epoger@google.com2013-03-20
| | | | | | see it locally. git-svn-id: http://skia.googlecode.com/svn/trunk@8271 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix submit_tryGravatar borenet@google.com2013-03-20
| | | | | | | Unreviewed (SkipBuildbotRuns) git-svn-id: http://skia.googlecode.com/svn/trunk@8270 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm refactor: extract run_multiple_configs() and run_multiple_modes()Gravatar epoger@google.com2013-03-20
| | | | | | Review URL: https://codereview.chromium.org/12536007 git-svn-id: http://skia.googlecode.com/svn/trunk@8269 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 8265-8264 (broke build)Gravatar reed@google.com2013-03-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8268 2bbb7eff-a529-9590-31e7-b0007b416f81
* Upstream changes from Android for decoding jpeg images.Gravatar djsollen@google.com2013-03-20
| | | | | | Review URL: https://codereview.chromium.org/12438025 git-svn-id: http://skia.googlecode.com/svn/trunk@8267 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix build breakage.Gravatar bsalomon@google.com2013-03-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8265 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adds local coords to GrEffect system.Gravatar bsalomon@google.com2013-03-20
| | | | | | | | | | | | | 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
* Unreviewed. Adding TODO comment to reference newly filed bug.Gravatar junov@google.com2013-03-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8263 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SK_ENABLE_LIBPNG define as it is no longer needed by Android.Gravatar djsollen@google.com2013-03-20
| | | | | | Review URL: https://codereview.chromium.org/12958002 git-svn-id: http://skia.googlecode.com/svn/trunk@8262 2bbb7eff-a529-9590-31e7-b0007b416f81
* comments only: update docs for SkStream::readData(), SkWStream::writeData()Gravatar epoger@google.com2013-03-20
| | | | | | | 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
* Remove unused declarationGravatar djsollen@google.com2013-03-20
| | | | | | Review URL: https://codereview.chromium.org/12704017 git-svn-id: http://skia.googlecode.com/svn/trunk@8257 2bbb7eff-a529-9590-31e7-b0007b416f81
* Write the config options in place in the help string.Gravatar scroggo@google.com2013-03-20
| | | | | | | | | | 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
* Reverting r8233 (Use SkSet in PDF)Gravatar robertphillips@google.com2013-03-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8255 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland r8235 "Switch gm to use SkFlags."Gravatar scroggo@google.com2013-03-20
| | | | | | | | | | | | 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
* add new API for gdi fonts (not hooked up yet)Gravatar reed@google.com2013-03-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8253 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add --resourcePath flag to the test program.Gravatar djsollen@google.com2013-03-20
| | | | | | Review URL: https://codereview.chromium.org/12521016 git-svn-id: http://skia.googlecode.com/svn/trunk@8252 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add an entry for Cambria-Caladea to the list of metric compatible fonts.Gravatar commit-bot@chromium.org2013-03-20
| | | | | | | | | | | | | | | | 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
* Whitespace change to trigger rebuilds since skia-autogen looks ok nowGravatar rmistry@google.com2013-03-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8250 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-03-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8249 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing deferred canvas bug caused by SkTwoPointConicalGradient declaring ↵Gravatar commit-bot@chromium.org2013-03-20
| | | | | | | | | | | | | | | 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
* Removed GrEffectStage::fVertexAttribCount to fix Chrome compilation ↵Gravatar robertphillips@google.com2013-03-20
| | | | | | warning/error git-svn-id: http://skia.googlecode.com/svn/trunk@8245 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for IMG's MSAA extension.Gravatar bsalomon@google.com2013-03-19
| | | | | | Review URL: https://codereview.chromium.org/12875005 git-svn-id: http://skia.googlecode.com/svn/trunk@8241 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland MSAA changes to GM now that Linux/ATI driver bug has been worked around.Gravatar bsalomon@google.com2013-03-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8240 2bbb7eff-a529-9590-31e7-b0007b416f81
* Work around MSAA/lines issue on Linux bot.Gravatar bsalomon@google.com2013-03-19
| | | | | | Review URL: https://codereview.chromium.org/12938005 git-svn-id: http://skia.googlecode.com/svn/trunk@8239 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add stroked ovals and CircleEdgeEffect.Gravatar jvanverth@google.com2013-03-19
| | | | | | | | | 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
* Revert "Make gm use SkFlags."Gravatar scroggo@google.com2013-03-19
| | | | | | | | | | 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