aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Add unpremultiply support and GMGravatar commit-bot@chromium.org2013-08-23
| | | | | | | | | | R=vandebo@chromium.org, edisonn@google.com Author: richardlin@chromium.org Review URL: https://chromiumcodereview.appspot.com/22831039 git-svn-id: http://skia.googlecode.com/svn/trunk@10901 2bbb7eff-a529-9590-31e7-b0007b416f81
* Only assert that conic/quad effects get created if they are to be used.Gravatar commit-bot@chromium.org2013-08-23
| | | | | | | | | | R=jvanverth@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/22891023 git-svn-id: http://skia.googlecode.com/svn/trunk@10900 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use indexed extensions on ES3.Gravatar commit-bot@chromium.org2013-08-23
| | | | | | | | | | R=jvanverth@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/23359002 git-svn-id: http://skia.googlecode.com/svn/trunk@10899 2bbb7eff-a529-9590-31e7-b0007b416f81
* add bezier effect baselinesGravatar bsalomon@google.com2013-08-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10898 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updated SkLumaXfermode GM (take two).Gravatar fmalita@google.com2013-08-23
| | | | | | | | Added AA & gradient combinations. Review URL: https://codereview.chromium.org/23190041 git-svn-id: http://skia.googlecode.com/svn/trunk@10897 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactor SkPDFImageGravatar commit-bot@chromium.org2013-08-23
| | | | | | | | | | R=vandebo@chromium.org, edisonn@google.com Author: richardlin@chromium.org Review URL: https://chromiumcodereview.appspot.com/22889020 git-svn-id: http://skia.googlecode.com/svn/trunk@10896 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Updated SkLumaXfermode GM."Gravatar fmalita@google.com2013-08-23
| | | | | | | | Win compile warnings. Review URL: https://codereview.chromium.org/22831042 git-svn-id: http://skia.googlecode.com/svn/trunk@10894 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updated SkLumaXfermode GM.Gravatar fmalita@google.com2013-08-23
| | | | | | | | Added AA & gradient combinations. Review URL: https://codereview.chromium.org/23382012 git-svn-id: http://skia.googlecode.com/svn/trunk@10893 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GMs for gpu Bezier shadersGravatar commit-bot@chromium.org2013-08-23
| | | | | | | | | | | BUG= R=bsalomon@google.com, jvanverth@google.com, robertphillips@google.com Author: egdaniel@google.com Review URL: https://chromiumcodereview.appspot.com/23361024 git-svn-id: http://skia.googlecode.com/svn/trunk@10892 2bbb7eff-a529-9590-31e7-b0007b416f81
* Performance trigger rebaselinesGravatar robertphillips@google.com2013-08-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10890 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverting change 10888Gravatar sugoi@google.com2013-08-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10889 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkError as flagsGravatar sugoi@google.com2013-08-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10888 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add luminance mask transfer modes.Gravatar commit-bot@chromium.org2013-08-23
| | | | | | | | | | | | | | | | | This adds kSrcInLum_Mode and kDstInLum_Mode, to support CSS and SVG luminance masks (http://www.w3.org/TR/css-masking/#MaskValues , http://www.w3.org/TR/SVG/masking.html#Masking ). The transfer coefficient is computed according to http://www.w3.org/TR/2011/REC-SVG11-20110816/filters.html#feColorMatrixElement "luminance-to-alpha": luma = 0.2125 * r + 0.7154 * g + 0.0721 * b R=bsalomon@google.com, reed@google.com, robertphillips@google.com, vandebo@chromium.org Author: fmalita@chromium.org Review URL: https://chromiumcodereview.appspot.com/22918012 git-svn-id: http://skia.googlecode.com/svn/trunk@10887 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-08-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10886 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix android_run_skiaGravatar commit-bot@chromium.org2013-08-22
| | | | | | | | | | R=djsollen@google.com, mtklein@google.com Author: borenet@google.com Review URL: https://chromiumcodereview.appspot.com/22861030 git-svn-id: http://skia.googlecode.com/svn/trunk@10885 2bbb7eff-a529-9590-31e7-b0007b416f81
* Pull out Effect Shaders in GPU Path RendererGravatar commit-bot@chromium.org2013-08-22
| | | | | | | | | | | | | | | | | | Move the effects in HairLinePathRender (and eventually others into their own class called GrBezierEffects. This will allow for more sharing of code between different path renderers on GPU. BUG= Committed: http://code.google.com/p/skia/source/detail?r=10877 R=bsalomon@google.com, jvanverth@google.com, robertphillips@google.com Author: egdaniel@google.com Review URL: https://chromiumcodereview.appspot.com/23004010 git-svn-id: http://skia.googlecode.com/svn/trunk@10884 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improve performance of matrix inversion.Gravatar shawnsingh@chromium.org2013-08-22
| | | | | | | | | | | | | | | The inversion of scale+translate matrices was using 6 division operations when it could be using 3. Also, general affine matrices do not need to compute perspective components of the matrix. This patch updates the matrix inversion with those optimizations, and includes benchmark code to exercise those paths. R=jvanverth@google.com Review URL: https://codereview.chromium.org/23296006 git-svn-id: http://skia.googlecode.com/svn/trunk@10883 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaselines for PDF image shader fixGravatar commit-bot@chromium.org2013-08-22
| | | | | | | | | | R=vandebo@chromium.org, edisonn@google.com Author: richardlin@chromium.org Review URL: https://chromiumcodereview.appspot.com/22978022 git-svn-id: http://skia.googlecode.com/svn/trunk@10882 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Pull out Effect Shaders in GPU Path Renderer"Gravatar egdaniel@google.com2013-08-22
| | | | | | This reverts commit c48a99661cb3df9baa7012c001f8d7dcf0a2f368. git-svn-id: http://skia.googlecode.com/svn/trunk@10881 2bbb7eff-a529-9590-31e7-b0007b416f81
* skia: Add SK_API to SkDiscardableMemory.Gravatar commit-bot@chromium.org2013-08-22
| | | | | | | | | | | R=scroggo@google.com, reed@google.com, bsalomon@chromium.org BUG=229120 Author: ernstm@chromium.org Review URL: https://chromiumcodereview.appspot.com/23385003 git-svn-id: http://skia.googlecode.com/svn/trunk@10878 2bbb7eff-a529-9590-31e7-b0007b416f81
* Pull out Effect Shaders in GPU Path RendererGravatar commit-bot@chromium.org2013-08-22
| | | | | | | | | | | | | | | Move the effects in HairLinePathRender (and eventually others into their own class called GrBezierEffects. This will allow for more sharing of code between different path renderers on GPU. BUG= R=bsalomon@google.com, jvanverth@google.com, robertphillips@google.com Author: egdaniel@google.com Review URL: https://chromiumcodereview.appspot.com/23004010 git-svn-id: http://skia.googlecode.com/svn/trunk@10877 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove the call to getFontMetrics from SkBBoxRecordGravatar commit-bot@chromium.org2013-08-22
| | | | | | | | | | R=reed@google.com, caryclark@google.com Author: sglez@google.com Review URL: https://chromiumcodereview.appspot.com/23001007 git-svn-id: http://skia.googlecode.com/svn/trunk@10876 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: if the resources are missing, exit (right now inheritance is not ↵Gravatar edisonn@google.com2013-08-22
| | | | | | | | implemented) Review URL: https://codereview.chromium.org/23125015 git-svn-id: http://skia.googlecode.com/svn/trunk@10875 2bbb7eff-a529-9590-31e7-b0007b416f81
* My clang now doesn't complain about !"foo".Gravatar mtklein@google.com2013-08-22
| | | | | | | | | BUG= R=robertphillips@google.com Review URL: https://codereview.chromium.org/22875037 git-svn-id: http://skia.googlecode.com/svn/trunk@10874 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: when q start, and an operator is called, it should not be able to ↵Gravatar edisonn@google.com2013-08-22
| | | | | | | | see operands before q. nest/unnest are similar with pop/push - simulates a stack of stacks, in a single stack Review URL: https://codereview.chromium.org/23033022 git-svn-id: http://skia.googlecode.com/svn/trunk@10873 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: add macros to automatically check number and type of parametersGravatar edisonn@google.com2013-08-22
| | | | | | Review URL: https://codereview.chromium.org/23038021 git-svn-id: http://skia.googlecode.com/svn/trunk@10872 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-08-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10871 2bbb7eff-a529-9590-31e7-b0007b416f81
* Restyle SkPDFImageShader and support tiling bitmaps outside clip boundsGravatar commit-bot@chromium.org2013-08-21
| | | | | | | | | | | BUG=chromium:99458 R=edisonn@google.com, vandebo@chromium.org Author: richardlin@chromium.org Review URL: https://chromiumcodereview.appspot.com/22884013 git-svn-id: http://skia.googlecode.com/svn/trunk@10870 2bbb7eff-a529-9590-31e7-b0007b416f81
* Better error reporting when dynamic loading fails with DirectWrite.Gravatar bungeman@google.com2013-08-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10869 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix android doubly defined empty string due to static lib and shared lib thing.Gravatar bsalomon@google.com2013-08-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10868 2bbb7eff-a529-9590-31e7-b0007b416f81
* Create new target to hold gpu test code, enable direct testing of GrEffects ↵Gravatar commit-bot@chromium.org2013-08-21
| | | | | | | | | | | | in GM. R=robertphillips@google.com, jvanverth@google.com, egdaniel@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/23352003 git-svn-id: http://skia.googlecode.com/svn/trunk@10866 2bbb7eff-a529-9590-31e7-b0007b416f81
* expectations for radial_gradient2Gravatar mtklein@google.com2013-08-21
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/23144005 git-svn-id: http://skia.googlecode.com/svn/trunk@10865 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update expectations for Mac PDFGravatar vandebo@chromium.org2013-08-21
| | | | | | | | R=epoger@google.com, vandebo@chromium.org Review URL: https://codereview.chromium.org/22865029 git-svn-id: http://skia.googlecode.com/svn/trunk@10863 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add skia_clang_build gyp define, add -Wstring-conversion flagGravatar borenet@google.com2013-08-21
| | | | | | | | | | If you want the warning, you have to specify skia_clang_build=1 R=djsollen@google.com Review URL: https://codereview.chromium.org/23038014 git-svn-id: http://skia.googlecode.com/svn/trunk@10861 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update references to buildbot globals deprecated by r10856Gravatar epoger@google.com2013-08-21
| | | | | | | | R=borenet@google.com Review URL: https://codereview.chromium.org/23011035 git-svn-id: http://skia.googlecode.com/svn/trunk@10860 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add new baselines for arcofzorro GMGravatar robertphillips@google.com2013-08-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10859 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding new baselines for blurquickreject GMGravatar robertphillips@google.com2013-08-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10858 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add an empty typeface as a default-default.Gravatar bungeman@google.com2013-08-21
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/22861017 git-svn-id: http://skia.googlecode.com/svn/trunk@10857 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add new "bleed" GM baselinesGravatar robertphillips@google.com2013-08-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10855 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: code cleanup - add licence on files, make replace __DEFINE__foo ↵Gravatar edisonn@google.com2013-08-21
| | | | | | | | with foo_DEFINED to match skia project Review URL: https://codereview.chromium.org/23361009 git-svn-id: http://skia.googlecode.com/svn/trunk@10854 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bleed cleanup (remove nocolorbleed GM & enable bleed in game bench)Gravatar robertphillips@google.com2013-08-21
| | | | | | | | https://codereview.chromium.org/23264014/ git-svn-id: http://skia.googlecode.com/svn/trunk@10853 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement SkEmptyFontMgr::onLegacyCreateTypeface and make pure virtual.Gravatar bungeman@google.com2013-08-21
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/22849025 git-svn-id: http://skia.googlecode.com/svn/trunk@10852 2bbb7eff-a529-9590-31e7-b0007b416f81
* allow both GDI and DW fontmgrs at the same timeGravatar bungeman@google.com2013-08-21
| | | | | | | | | | | | | BUG= R=bungeman@google.com Committed: https://code.google.com/p/skia/source/detail?r=10718 Committed: https://code.google.com/p/skia/source/detail?r=10788 Review URL: https://codereview.chromium.org/23058002 git-svn-id: http://skia.googlecode.com/svn/trunk@10851 2bbb7eff-a529-9590-31e7-b0007b416f81
* Avoid getLength in ico decoder.Gravatar scroggo@google.com2013-08-21
| | | | | | | | | | | | | | Only call getLength() if hasLength() returned true. Otherwise, copy the stream into an SkDynamicMemoryWStream and copy it into alloc'ed space. Share common code between bmp and ico. BUG=https://b.corp.google.com/issue?id=8432093 R=djsollen@google.com Review URL: https://codereview.chromium.org/23330002 git-svn-id: http://skia.googlecode.com/svn/trunk@10850 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make BMP decoder not depend on call to getLength.Gravatar scroggo@google.com2013-08-21
| | | | | | | | | | | | If the decoder does not have a length, use an SkDynamicMemoryStream to copy it to contiguous memory, to be passed to BmpDecoderHelper. BUG=https://b.corp.google.com/issue?id=8432093 R=djsollen@google.com Review URL: https://codereview.chromium.org/22877020 git-svn-id: http://skia.googlecode.com/svn/trunk@10849 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove dependency on getLength from webp decoder.Gravatar scroggo@google.com2013-08-21
| | | | | | | | | | | | | | | | | In webp_parse_header, continue reading until end of stream is reached, or we have read WEBP_VP8_HEADER_SIZE bytes. Do not check to see if the stream was too short, since it may not have a way to report its length, and WEBP_VP8_HEADER_SIZE is padded slightly. Instead, depend on WebPGetFeatures to report that the stream did not have enough data. In webp_idecode, only check length if it is available. BUG=https://b.corp.google.com/issue?id=8432093 R=djsollen@google.com, vikasa@google.com Review URL: https://codereview.chromium.org/22841005 git-svn-id: http://skia.googlecode.com/svn/trunk@10848 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update DirectWrite code so that it is loadable on XP.Gravatar bungeman@google.com2013-08-21
| | | | | | | | | | | This change delay loads GetUserDefaultLocaleName since it is available in Vista+. R=reed@google.com Review URL: https://codereview.chromium.org/23380002 git-svn-id: http://skia.googlecode.com/svn/trunk@10847 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding new baseline image for Nexus7 fontscaler GMGravatar robertphillips@google.com2013-08-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10846 2bbb7eff-a529-9590-31e7-b0007b416f81
* Recognize that ES3 supports texture storage. Add workaround for apparent ↵Gravatar commit-bot@chromium.org2013-08-21
| | | | | | | | | | | | Adreno bug. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/22856006 git-svn-id: http://skia.googlecode.com/svn/trunk@10845 2bbb7eff-a529-9590-31e7-b0007b416f81
* Chromium staging for SkDevice refactoringGravatar robertphillips@google.com2013-08-21
| | | | | | | | https://codereview.chromium.org/23332009/ git-svn-id: http://skia.googlecode.com/svn/trunk@10844 2bbb7eff-a529-9590-31e7-b0007b416f81