aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9992 2bbb7eff-a529-9590-31e7-b0007b416f81
* Win7/8 compiler warnings/errors fix for r9980Gravatar robertphillips@google.com2013-07-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9991 2bbb7eff-a529-9590-31e7-b0007b416f81
* add matrix objects to the lua bindings, as well as a lua script to find the ↵Gravatar humper@google.com2013-07-10
| | | | | | proportion of image draw commands with different kinds of matrices git-svn-id: http://skia.googlecode.com/svn/trunk@9986 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix 64 bit warningsGravatar humper@google.com2013-07-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9984 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unused variablesGravatar humper@google.com2013-07-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9982 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SkIntToScalarGravatar reed@google.com2013-07-10
| | | | | | | | | BUG= R=senorblanco@chromium.org Review URL: https://codereview.chromium.org/18622004 git-svn-id: http://skia.googlecode.com/svn/trunk@9981 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix bug with awesome filtered images sometimes being slightly offset.Gravatar humper@google.com2013-07-10
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/19013004 git-svn-id: http://skia.googlecode.com/svn/trunk@9980 2bbb7eff-a529-9590-31e7-b0007b416f81
* add paint:getEffects to return table of bools of a given effect is present ↵Gravatar reed@google.com2013-07-10
| | | | | | on the paint git-svn-id: http://skia.googlecode.com/svn/trunk@9978 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement offset for GPU filter path. Although we can't yet use this in ↵Gravatar commit-bot@chromium.org2013-07-10
| | | | | | | | | | | | | | | | Blink for FEOffset, due to SVG semantics, we can use it to support crop rect (upcoming patch). This patch adds the parameter to the filterImageGPU() signature, plumbs through the code on the GPU side, and implements support for it in SkXfermodeImageFilter for both raster and GPU. Of the remaining filters with GPU implementations, Blur, Morphology, Bicubic and Displacement work fine; they're commutative wrt offset and can simply pass it up the chain. Blend is not, but will be removed shortly anyway (has been replaced with SkXfermodeImageFilter in Blink). R=reed@google.com, bsalomon@google.com Author: senorblanco@chromium.org Review URL: https://chromiumcodereview.appspot.com/15995026 git-svn-id: http://skia.googlecode.com/svn/trunk@9977 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SkRasterClip::setPath(const SkPath&, const SkRasterClip&, bool).Gravatar commit-bot@chromium.org2013-07-10
| | | | | | | | | | | | | | The method is only used in SkCanvas::clipPathHelper() and only called when isRect() is true (which effectively disables the !isBW branch). Thus, we can promote the isBW branch to the caller and drop the rest of the method. R=reed@google.com Author: fmalita@chromium.org Review URL: https://chromiumcodereview.appspot.com/18552004 git-svn-id: http://skia.googlecode.com/svn/trunk@9974 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't leak the bitmap filterGravatar commit-bot@chromium.org2013-07-10
| | | | | | | | | | | BUG= R=reed@google.com Author: humper@google.com Review URL: https://chromiumcodereview.appspot.com/18999005 git-svn-id: http://skia.googlecode.com/svn/trunk@9973 2bbb7eff-a529-9590-31e7-b0007b416f81
* restore hash size to 8 bits, following windows fix in ↵Gravatar reed@google.com2013-07-10
| | | | | | 3591f7a4a56153349240dfc542cc61a11fab2487 git-svn-id: http://skia.googlecode.com/svn/trunk@9959 2bbb7eff-a529-9590-31e7-b0007b416f81
* allow createScalerContext to return null, and then have the GDI backend ↵Gravatar reed@google.com2013-07-10
| | | | | | | | | | | trigger that if we fail to create the necessary GDI resources BUG= R=bungeman@google.com Review URL: https://codereview.chromium.org/18484005 git-svn-id: http://skia.googlecode.com/svn/trunk@9957 2bbb7eff-a529-9590-31e7-b0007b416f81
* ARM Skia NEON patches - 09 - BugfixGravatar commit-bot@chromium.org2013-07-10
| | | | | | | | | | | | | | | | Misc: fix a PDF warning/bug on ARM char is unsigned by default on ARM, so the (curNibble < 0) test is always false, probably leading to a bug. BUG= R=djsollen@google.com, edisonn@google.com Author: kevin.petit.arm@gmail.com Review URL: https://chromiumcodereview.appspot.com/18365005 git-svn-id: http://skia.googlecode.com/svn/trunk@9954 2bbb7eff-a529-9590-31e7-b0007b416f81
* ARM Skia NEON patches - 05 - CleaningGravatar commit-bot@chromium.org2013-07-10
| | | | | | | | | | | | | | | | | Misc: move definition of empty SkBlitRow::ColorRectProc For the sake of consistency, the empty SkBlitRow::ColorRectProc should be defined in SkBlitRow_opts_none.cpp rather than SkUtils_opts_none.cpp BUG= R=djsollen@google.com, reed@google.com, tomhudson@google.com Author: kevin.petit.arm@gmail.com Review URL: https://chromiumcodereview.appspot.com/18314005 git-svn-id: http://skia.googlecode.com/svn/trunk@9953 2bbb7eff-a529-9590-31e7-b0007b416f81
* ARM Skia NEON patches - 02 - Tune filter clobber listGravatar commit-bot@chromium.org2013-07-10
| | | | | | | | | | | | | | | Misc: reduce clobber list in SkBitmapProcState_filter_neon.h This may allow the compiler to do a better job BUG= R=djsollen@google.com, tomhudson@google.com Author: kevin.petit.arm@gmail.com Review URL: https://chromiumcodereview.appspot.com/18996003 git-svn-id: http://skia.googlecode.com/svn/trunk@9952 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allow the resource cache to (indirectly) flush the InOrderDrawBufferGravatar commit-bot@chromium.org2013-07-10
| | | | | | | | | | R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/18466005 git-svn-id: http://skia.googlecode.com/svn/trunk@9949 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9948 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix Win7 compiler errors/warnings for r9945Gravatar robertphillips@google.com2013-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9947 2bbb7eff-a529-9590-31e7-b0007b416f81
* New bitmap filter checkin; this time with less build breakageGravatar humper@google.com2013-07-09
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/18942002 git-svn-id: http://skia.googlecode.com/svn/trunk@9944 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove old and unused Android font host codeGravatar djsollen@google.com2013-07-09
| | | | | | | | R=bungeman@google.com, scroggo@google.com Review URL: https://codereview.chromium.org/18666003 git-svn-id: http://skia.googlecode.com/svn/trunk@9940 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "More general image filter interface; tested implementation of ↵Gravatar humper@google.com2013-07-09
| | | | | | | | standalone" This reverts commit 4df3e8b079e019af5f60c13e7e6ec6589663962a. git-svn-id: http://skia.googlecode.com/svn/trunk@9937 2bbb7eff-a529-9590-31e7-b0007b416f81
* More general image filter interface; tested implementation of standaloneGravatar humper@google.com2013-07-09
| | | | | | | | | | | | image scaler (not yet plumbed). High quality downsampler. Fast SSE resampler. BUG= R=reed@google.com Review URL: https://codereview.chromium.org/17381008 git-svn-id: http://skia.googlecode.com/svn/trunk@9936 2bbb7eff-a529-9590-31e7-b0007b416f81
* Animated the PathUtils Sample to show path contours# Enter a description of ↵Gravatar commit-bot@chromium.org2013-07-09
| | | | | | | | | | | | | | | the change. Animated the PathUtils Sample to path contours BUG= R=reed@google.com, scroggo@google.com, djsollen@google.com Author: dierk@google.com Review URL: https://chromiumcodereview.appspot.com/18552005 git-svn-id: http://skia.googlecode.com/svn/trunk@9934 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allow ico decoder to decode PNG sub-images.Gravatar scroggo@google.com2013-07-09
| | | | | | | | | | | | Since Windows Vista, PNG can be embedded in an ICO file. Update our decoder to support this. BUG=https://code.google.com/p/skia/issues/detail?id=1398 R=djsollen@google.com Review URL: https://codereview.chromium.org/18655007 git-svn-id: http://skia.googlecode.com/svn/trunk@9932 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove bitmap reuse from SkImageDecoder.Gravatar scroggo@google.com2013-07-09
| | | | | | | | | | | | | | | Now that Android is using an SkBitmap::Allocator to reuse bitmap memory, remove the unnecessary code to handle bitmap reuse inside the decoders themselves. Leaves in the code for bitmap reuse in decodeSubset, which still may reuse bitmaps, and cropBitmap, which is called by decodeSubset. R=djsollen@google.com Review URL: https://codereview.chromium.org/17620004 git-svn-id: http://skia.googlecode.com/svn/trunk@9931 2bbb7eff-a529-9590-31e7-b0007b416f81
* move failable work outside of constructors for SkGlyphCache and ↵Gravatar reed@google.com2013-07-09
| | | | | | | | | | SkScalerContextGDI. If we fail, try to purge everything and try again, in case the failure was from memory/os-resource exhaustion (e.g. out of HDC handles in windows) BUG= Review URL: https://codereview.chromium.org/18132009 git-svn-id: http://skia.googlecode.com/svn/trunk@9930 2bbb7eff-a529-9590-31e7-b0007b416f81
* GM (and fix) for drawArc capping issueGravatar robertphillips@google.com2013-07-09
| | | | | | | | https://codereview.chromium.org/18271003/ git-svn-id: http://skia.googlecode.com/svn/trunk@9928 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert of r9902 (Consider conical shader opaque if it coversGravatar robertphillips@google.com2013-07-09
| | | | | | | | entire plane - https://chromiumcodereview.appspot.com/18533006) due to roll issues (https://codereview.chromium.org/18859007/) git-svn-id: http://skia.googlecode.com/svn/trunk@9926 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9919 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added SkPDFStream::setData(SkData*) in preparation for move from SkStream to ↵Gravatar commit-bot@chromium.org2013-07-08
| | | | | | | | | | | | SkData R=vandebo@chromium.org, edisonn@google.com Author: richardlin@chromium.org Review URL: https://chromiumcodereview.appspot.com/18328026 git-svn-id: http://skia.googlecode.com/svn/trunk@9916 2bbb7eff-a529-9590-31e7-b0007b416f81
* Debugging statements to investigate a bug.Gravatar scroggo@google.com2013-07-08
| | | | | | | | | | | | | https://code.google.com/p/skia/issues/detail?id=1395 is a non- deterministic bug that I have been unable to reproduce. Add some debugging information to try to help diagnose. BUG=https://code.google.com/p/skia/issues/detail?id=1395 R=edisonn@google.com Review URL: https://codereview.chromium.org/18523008 git-svn-id: http://skia.googlecode.com/svn/trunk@9914 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Temporary change to keep chrome happy."Gravatar scroggo@google.com2013-07-08
| | | | | | | | | | | Now that chrome has https://chromiumcodereview.appspot.com/18078003/, this is no longer needed. Fully switched over to using CreateFromStream! Review URL: https://codereview.chromium.org/18655008 git-svn-id: http://skia.googlecode.com/svn/trunk@9911 2bbb7eff-a529-9590-31e7-b0007b416f81
* path ops work in progressGravatar caryclark@google.com2013-07-08
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/18058007 git-svn-id: http://skia.googlecode.com/svn/trunk@9908 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix header guard typos.Gravatar tfarina@chromium.org2013-07-08
| | | | | | | | | | This is preventing compilation on Linux with clang. R=robertphillips@google.com Review URL: https://codereview.chromium.org/18131007 git-svn-id: http://skia.googlecode.com/svn/trunk@9905 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removing highp variables from perlin noise shaderGravatar commit-bot@chromium.org2013-07-04
| | | | | | | | | | | | | | | | | | Variables using highp on the Adreno320 (A.K.A. Nexus 4) seem to be causing issues. I modified the shader so that all variables stay in a lower range, no longer requiring the "highp" qualifier. This may improve performance on other devices, like the xoom, where the "highp" qualifier was required. In Blink, these layout tests may require rebaselining : ./css3/filters/effect-reference-hw.html ./css3/filters/effect-reference-zoom-hw.html BUG=https://code.google.com/p/skia/issues/detail?id=1376 R=senorblanco@google.com, sugoi@google.com Author: sugoi@chromium.org Review URL: https://chromiumcodereview.appspot.com/18454004 git-svn-id: http://skia.googlecode.com/svn/trunk@9903 2bbb7eff-a529-9590-31e7-b0007b416f81
* Consider conical shader opaque if it covers entire plane.Gravatar commit-bot@chromium.org2013-07-04
| | | | | | | | | | | BUG=222380 R=junov@chromium.org, senorblanco@chromium.org, reed@google.com Author: arbesfeld@chromium.org Review URL: https://chromiumcodereview.appspot.com/18533006 git-svn-id: http://skia.googlecode.com/svn/trunk@9902 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for DEPS roll failure (a patch to r9898)Gravatar robertphillips@google.com2013-07-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9901 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9900 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for r9888 bugGravatar robertphillips@google.com2013-07-03
| | | | | | | | https://codereview.chromium.org/18656002/ git-svn-id: http://skia.googlecode.com/svn/trunk@9899 2bbb7eff-a529-9590-31e7-b0007b416f81
* Minor GrContext/GrInOrderDrawBuffer cleanupGravatar robertphillips@google.com2013-07-03
| | | | | | | | https://codereview.chromium.org/18341007/ git-svn-id: http://skia.googlecode.com/svn/trunk@9898 2bbb7eff-a529-9590-31e7-b0007b416f81
* GPU-less build fix for r9888Gravatar robertphillips@google.com2013-07-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9890 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add canFilterMaskGPU & filterMaskGPU to SkMaskFilterGravatar robertphillips@google.com2013-07-03
| | | | | | | | https://codereview.chromium.org/18110012/ git-svn-id: http://skia.googlecode.com/svn/trunk@9888 2bbb7eff-a529-9590-31e7-b0007b416f81
* Build fix for [-Werror=maybe-uninitialized].Gravatar commit-bot@chromium.org2013-07-03
| | | | | | | | | | | | | gcc v4.7.3 failed to build due to uninitialized variables. BUG=http://code.google.com/p/skia/issues/detail?id=1381 R=bungeman@google.com, reed@google.com Author: dongseong.hwang@intel.com Review URL: https://chromiumcodereview.appspot.com/17572010 git-svn-id: http://skia.googlecode.com/svn/trunk@9887 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert of r9581 (oops, fix missing change in 9532, setting hashbits to 8) ↵Gravatar robertphillips@google.com2013-07-03
| | | | | | due to Chromium assert failure (https://code.google.com/p/chromium/issues/detail?id=256476) git-svn-id: http://skia.googlecode.com/svn/trunk@9886 2bbb7eff-a529-9590-31e7-b0007b416f81
* Commented SSE blend functions and cleaned-up variable naming.Gravatar commit-bot@chromium.org2013-07-02
| | | | | | | | | | R=senorblanco@chromium.org, alokp@chromium.org, reed@google.com, bungeman@google.com Author: ernstm@chromium.org Review URL: https://chromiumcodereview.appspot.com/17847010 git-svn-id: http://skia.googlecode.com/svn/trunk@9870 2bbb7eff-a529-9590-31e7-b0007b416f81
* impl charsToGlyphs for freetypeGravatar reed@google.com2013-07-02
| | | | | | | | | BUG= R=bungeman@google.com Review URL: https://codereview.chromium.org/18040004 git-svn-id: http://skia.googlecode.com/svn/trunk@9866 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for Ovals/RRects on N4 missing interior rectangles.Gravatar jvanverth@google.com2013-07-02
| | | | | | | | | | | | | | Clamp square of gradiant length to non-zero value so it can be passed to inversesqrt(). Also adds some fixes to rrect setup to avoid crossing zero. Skia issue #1372 R=bsalomon@google.com, robertphillips@google.com Review URL: https://codereview.chromium.org/18375003 git-svn-id: http://skia.googlecode.com/svn/trunk@9864 2bbb7eff-a529-9590-31e7-b0007b416f81
* use else instead of else-if -- fixes 'possibly unused' warningGravatar reed@google.com2013-07-02
| | | | | | | | | BUG= R=bsalomon@google.com Review URL: https://codereview.chromium.org/18527003 git-svn-id: http://skia.googlecode.com/svn/trunk@9863 2bbb7eff-a529-9590-31e7-b0007b416f81
* add charsToGlyphs to SkTypefaceGravatar reed@google.com2013-07-02
| | | | | | | | | | | | Will disable new unittest until all backends are implemented. On Mac, new API is 4x faster than old paint one, so next CL I will reimplement the paint calls in terms of the new typeface call. R=eae@chromium.org Review URL: https://codereview.chromium.org/18083023 git-svn-id: http://skia.googlecode.com/svn/trunk@9860 2bbb7eff-a529-9590-31e7-b0007b416f81