aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* factory can draw now tooGravatar mtklein@google.com2013-08-27
| | | | | | | | | BUG=skia:1564 R=epoger@google.com Review URL: https://codereview.chromium.org/23607002 git-svn-id: http://skia.googlecode.com/svn/trunk@10935 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix clip expansion in SkPictureRecord::recordRestoreOffsetPlaceholder()Gravatar fmalita@google.com2013-08-27
| | | | | | | | | | For operations which can expand the region, zeroing previous clip ops' restore offsets is not enough: we need to also break the chain - otherwise the next restore() will simply traverse back and reset the skip offsets. R=robertphillips@google.com Review URL: https://codereview.chromium.org/22987003 git-svn-id: http://skia.googlecode.com/svn/trunk@10934 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding SkLumaXfermode GM results.Gravatar fmalita@google.com2013-08-27
| | | | | | Review URL: https://codereview.chromium.org/23596004 git-svn-id: http://skia.googlecode.com/svn/trunk@10933 2bbb7eff-a529-9590-31e7-b0007b416f81
* Four cmykjpeg GMs that weren't done yet yesterday.Gravatar mtklein@google.com2013-08-27
| | | | | | | | | | | This does not fix the other failures yet. BUG= R=borenet@google.com Review URL: https://codereview.chromium.org/23591002 git-svn-id: http://skia.googlecode.com/svn/trunk@10932 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10929 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix printing crashes caused by font streams that don't support ↵Gravatar vandebo@chromium.org2013-08-26
| | | | | | | | | | | | | getMemoryBase(). An apparently recently change started putting web fonts into SkStream objects that don't support getMemoryBase(). This change uses writeStream to avoid needing to call getMemoryBase(). BUG=chromium:274440 R=bungeman@google.com Review URL: https://codereview.chromium.org/23437004 git-svn-id: http://skia.googlecode.com/svn/trunk@10928 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update SkLumaMaskXfermode partial coverage handling.Gravatar fmalita@google.com2013-08-26
| | | | | | | | | | | Use lerp-to-dst instead of straight coverage scaling to align the behavior with the other transfer modes. R=reed@google.com Review URL: https://codereview.chromium.org/23453004 git-svn-id: http://skia.googlecode.com/svn/trunk@10927 2bbb7eff-a529-9590-31e7-b0007b416f81
* test drawing large-coord aa rectsGravatar reed@google.com2013-08-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10926 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove mismatched delete.Gravatar scroggo@google.com2013-08-26
| | | | | | | | | | | Use SkAutoTArray to create an array and delete it safely. BUG=https://code.google.com/p/skia/issues/detail?id=1547 R=bungeman@google.com Review URL: https://codereview.chromium.org/23068033 git-svn-id: http://skia.googlecode.com/svn/trunk@10925 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline most cmykjpeg from blank to an imageGravatar mtklein@google.com2013-08-26
| | | | | | | | | BUG= R=borenet@google.com Review URL: https://codereview.chromium.org/23447002 git-svn-id: http://skia.googlecode.com/svn/trunk@10924 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "[PDF] Fix printing crashes caused by font streams that don't support ↵Gravatar vandebo@chromium.org2013-08-26
| | | | | | | | | | getMemoryBase()." This reverts commit r10918 Review URL: https://codereview.chromium.org/23351007 git-svn-id: http://skia.googlecode.com/svn/trunk@10920 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix printing crashes caused by font streams that don't support ↵Gravatar vandebo@chromium.org2013-08-26
| | | | | | | | | | | | | getMemoryBase(). An apparently recently change started putting web fonts into SkStream objects that don't support getMemoryBase(). This change uses writeStream to avoid needing to call getMemoryBase(). BUG=chromium:274440 R=bungeman@google.com Review URL: https://codereview.chromium.org/23414007 git-svn-id: http://skia.googlecode.com/svn/trunk@10918 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement highQualityFilter16 so GM doesn't crash when you give it resources.Gravatar mtklein@google.com2013-08-26
| | | | | | | | | | | | | | Testing consisted of: 1) ninja -C out/Debug gm && gm -i resources --match mandrill_512 -w /tmp/gm 2) notice that gm didn't segfault 3) look in /tmp/gm and see a bunch of handsome monkeys BUG=skia:1517 R=humper@google.com Review URL: https://codereview.chromium.org/22801016 git-svn-id: http://skia.googlecode.com/svn/trunk@10917 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update pdf.gypi to actually work with ChromiumGravatar robertphillips@google.com2013-08-26
| | | | | | | | https://chromiumcodereview.appspot.com/23112031/ git-svn-id: http://skia.googlecode.com/svn/trunk@10916 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix leaked SkPDFDevice in PDFPrimitivesTest.cppGravatar robertphillips@google.com2013-08-26
| | | | | | | | https://chromiumcodereview.appspot.com/23003035/ git-svn-id: http://skia.googlecode.com/svn/trunk@10910 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverting r10901 (Add unpremultiply support and GM)Gravatar robertphillips@google.com2013-08-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10909 2bbb7eff-a529-9590-31e7-b0007b416f81
* temporarily hard-code builder list in rebaseline.py, for quick startupGravatar epoger@google.com2013-08-24
| | | | | | | | | BUG=skia:1544 R=borenet@google.com Review URL: https://codereview.chromium.org/22866023 git-svn-id: http://skia.googlecode.com/svn/trunk@10908 2bbb7eff-a529-9590-31e7-b0007b416f81
* Don't compile the debugger on ChromeOSGravatar borenet@google.com2013-08-24
| | | | | | | | TBR=epoger Review URL: https://codereview.chromium.org/22831048 git-svn-id: http://skia.googlecode.com/svn/trunk@10904 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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