aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Replace uses of GR_DEBUG by SK_DEBUG.Gravatar commit-bot@chromium.org2013-08-28
| | | | | | | | | | | BUG=None R=bsalomon@google.com, robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/23137022 git-svn-id: http://skia.googlecode.com/svn/trunk@10978 2bbb7eff-a529-9590-31e7-b0007b416f81
* Handle SkStream::rewind properly.Gravatar scroggo@google.com2013-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | include/core/SkStream.h: Update documentation to state that rewinding a stream at the beginning should return true. This is important because our decoders fail if rewind returns false, assuming that the stream is not at the beginning. src/images/SkImageDecoder_libpng.cpp: If rewind fails, call png_error. src/images/SkImageDecoder_libwebp.cpp: If rewind fails, report an error and return false. src/images/SkImageRef.cpp: If rewind fails report an error and return false. FIXME: Need to handle flattening properly. Should I perhaps move writeStream into SkOrderedWriteBuffer? src/images/SkJpegUtility.cpp: Report a jpeg error on failure to rewind. BUG=https://b.corp.google.com/issue?id=8432093 R=bungeman@google.com, djsollen@google.com, reed@google.com Review URL: https://codereview.chromium.org/22861028 git-svn-id: http://skia.googlecode.com/svn/trunk@10977 2bbb7eff-a529-9590-31e7-b0007b416f81
* Missed a Nexus4 image rebaselineGravatar robertphillips@google.com2013-08-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10976 2bbb7eff-a529-9590-31e7-b0007b416f81
* Performance trigger rebaselines of theverge on Nexus7 for r10936 (Blur ↵Gravatar robertphillips@google.com2013-08-28
| | | | | | refactoring) git-svn-id: http://skia.googlecode.com/svn/trunk@10975 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to test the Commit Queue.Gravatar commit-bot@chromium.org2013-08-28
| | | | | | | | | | | | (SkipBuildbotRuns) R=borenet@google.com Author: rmistry@google.com Review URL: https://chromiumcodereview.appspot.com/23448008 git-svn-id: http://skia.googlecode.com/svn/trunk@10974 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove less then useful configs from bench_pictures runsGravatar robertphillips@google.com2013-08-28
| | | | | | | | https://codereview.chromium.org/23618004/ git-svn-id: http://skia.googlecode.com/svn/trunk@10973 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix issue on devices running an OS prior to 4.2 when the fallback font file ↵Gravatar djsollen@google.com2013-08-28
| | | | | | | | | | | was potential stored in a different location on device. BUG=chromium:183830 R=scroggo@google.com Review URL: https://codereview.chromium.org/23621002 git-svn-id: http://skia.googlecode.com/svn/trunk@10972 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Update expectations for skimage."Gravatar scroggo@google.com2013-08-28
| | | | | | | | This reverts commit c154d36bd319baa1472189ecb212805e08f3c00b. Reverting due to build failure in prerender. git-svn-id: http://skia.googlecode.com/svn/trunk@10970 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update expectations for skimage.Gravatar scroggo@google.com2013-08-28
| | | | | | | | | | Now that expectations have moved to use the builder_name rather than the gm_subdir (see https://code.google.com/p/skia/source/detail?r=10923), check in a new set which uses the proper name. Review URL: https://codereview.chromium.org/23600004 git-svn-id: http://skia.googlecode.com/svn/trunk@10969 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-08-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10968 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add performance benchmark before landing perf improvements that remove ↵Gravatar shawnsingh@chromium.org2013-08-28
| | | | | | | | | | | sk_bezero in SkMatrix44 BUG=skia:1558 R=jvanverth@google.com Review URL: https://codereview.chromium.org/22872015 git-svn-id: http://skia.googlecode.com/svn/trunk@10967 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for 10963: Use mx instead of my where mx is wanted.Gravatar bungeman@google.com2013-08-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10966 2bbb7eff-a529-9590-31e7-b0007b416f81
* Some missed tilemodes image rebaselinesGravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10965 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image rebaselines for Win7 x86 Debug/Nexus4 Release/Ubuntu x86 Debug and ReleaseGravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10964 2bbb7eff-a529-9590-31e7-b0007b416f81
* Clear unknown DirectWrite font metrics.Gravatar bungeman@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10963 2bbb7eff-a529-9590-31e7-b0007b416f81
* In image filters, apply the CTM and offset to the crop rect. This is ↵Gravatar senorblanco@chromium.org2013-08-27
| | | | | | | | | | | | | | necessary to compensate for both clipping applied by the compositor (communicated via the CTM) and for cropping applied in upstream image filters (communicated via the offset). This requires a few ugly conversions, since the crop rect is an SkIRect, and the ctm is an SkMatrix. I also had to offset the matrix passed to filter evaluation by drawSprite() and internalDrawBitmap() by the primitive position. This is the same offset that is applied when drawing the primitive, to compensate for the internal saveLayer(). Also apply the total matrix to the filter params in asNewEffect(), so that (for example) lighting params are offset by both the compositor clipping and upstream crop rects. R=reed@google.com Review URL: https://codereview.chromium.org/23295017 git-svn-id: http://skia.googlecode.com/svn/trunk@10961 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image rebaselines for Ubuntu NoGPU x86_64Gravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10960 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image rebaselines for Nexus7 Release/DebugGravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10959 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image baselines for Nexus 10 Debug/ReleaseGravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10958 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image rebaselines for Nexus S Debug/ReleaseGravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10957 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image rebaselines for Mac 10.7 x86/x86_64 Debug/ReleaseGravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10956 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image rebaselines for Mac10.6 x86/x86_64 Debug/ReleaseGravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10955 2bbb7eff-a529-9590-31e7-b0007b416f81
* Only destroy huffman if build succeeded.Gravatar scroggo@google.com2013-08-27
| | | | | | | | | | | | | | The earlier code assumed that if jpeg_create_huffman_index succeeded but jpeg_build_huffman_index failed that the index would still need to be destroyed. This is not the case. Only call jpeg_destroy_huffman_index if both succeeded. BUG=http://b.corp.google.com/issue?id=10263847 Review URL: https://codereview.chromium.org/22859042 git-svn-id: http://skia.googlecode.com/svn/trunk@10954 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image rebaselines for Ubuntu12 x86 Debug & Release & x86_64 DebugGravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10952 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image rebaselines for Win7 x86 ReleaseGravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10951 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image rebaselines for Win7 x86_64 Release & DebugGravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10950 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image baselines for Win7 x86 Release ANGLE & DirectWriteGravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10949 2bbb7eff-a529-9590-31e7-b0007b416f81
* Win7 x86 Debug DirectWrite rebaselines for 10936Gravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10948 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaselines for Win7 x86 Debug ANGLE Gravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10946 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix _GDI::generateCharToGlyph to properly handle missing glyphs.Gravatar bungeman@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10945 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert of r10943.Gravatar rmistry@google.com2013-08-27
| | | | | | Review URL: https://codereview.chromium.org/23626002 git-svn-id: http://skia.googlecode.com/svn/trunk@10944 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkDeviceLooper to handle larger-than-fixedpointGravatar reed@google.com2013-08-27
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/23392006 git-svn-id: http://skia.googlecode.com/svn/trunk@10943 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix issue when the family name is reused among multiple families.Gravatar djsollen@google.com2013-08-27
| | | | | | | | | BUG=chromium:274117 R=reed@google.com Review URL: https://codereview.chromium.org/23592002 git-svn-id: http://skia.googlecode.com/svn/trunk@10942 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove experimental/json-expectations , no longer needed.Gravatar epoger@google.com2013-08-27
| | | | | | | | R=scroggo@google.com Review URL: https://codereview.chromium.org/23498007 git-svn-id: http://skia.googlecode.com/svn/trunk@10941 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix compiler warning/error in r10936Gravatar robertphillips@google.com2013-08-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10938 2bbb7eff-a529-9590-31e7-b0007b416f81
* New warning -> new pattern for fingers to learn for asserting failure.Gravatar mtklein@google.com2013-08-27
| | | | | | | | | | | | The Ubuntu Clang compile bot has a warning enabled now that yells about !"foo" before it breaks Chrome's build where the same warning is -Werror. BUG= R=reed@google.com Review URL: https://codereview.chromium.org/23586002 git-svn-id: http://skia.googlecode.com/svn/trunk@10937 2bbb7eff-a529-9590-31e7-b0007b416f81
* Blur refactoringGravatar robertphillips@google.com2013-08-27
| | | | | | | | https://codereview.chromium.org/21835004/ git-svn-id: http://skia.googlecode.com/svn/trunk@10936 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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