aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* share derivative code with extrema logic, remove some dead code.Gravatar mike@reedtribe.org2013-05-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9050 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix impl for conic derivative (tangent)Gravatar mike@reedtribe.org2013-05-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9049 2bbb7eff-a529-9590-31e7-b0007b416f81
* add (untested) tangent calc for conicsGravatar reed@google.com2013-05-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9048 2bbb7eff-a529-9590-31e7-b0007b416f81
* path ops -- make combined clips soft if one is softGravatar caryclark@google.com2013-05-07
| | | | | | Review URL: https://codereview.chromium.org/14786018 git-svn-id: http://skia.googlecode.com/svn/trunk@9047 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland r9043 with fix.Gravatar bsalomon@google.com2013-05-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9046 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make make.bat and gyp_skia work with VS 2012.Gravatar bsalomon@google.com2013-05-07
| | | | | | | Review URL: https://codereview.chromium.org/14963005/ git-svn-id: http://skia.googlecode.com/svn/trunk@9045 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 9043Gravatar bsalomon@google.com2013-05-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9044 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkGpuDevice: Delay locking bitmap pixels until we have a known texture cache ↵Gravatar bsalomon@google.com2013-05-07
| | | | | | | | | | miss. Reivew URL: https://codereview.chromium.org/15035004/ git-svn-id: http://skia.googlecode.com/svn/trunk@9043 2bbb7eff-a529-9590-31e7-b0007b416f81
* path ops -- fix skp bugsGravatar caryclark@google.com2013-05-07
| | | | | | | | | This fixes a series of bugs discovered by running the small set of Skia skp files through pathops to flatten the clips. Review URL: https://codereview.chromium.org/14798004 git-svn-id: http://skia.googlecode.com/svn/trunk@9042 2bbb7eff-a529-9590-31e7-b0007b416f81
* Nexus 7 performance trigger rebaselines Gravatar robertphillips@google.com2013-05-07
| | | | | | | | (SkipBuildbotRuns) git-svn-id: http://skia.googlecode.com/svn/trunk@9040 2bbb7eff-a529-9590-31e7-b0007b416f81
* add block comment describing sync nature of SkStreamGravatar reed@google.com2013-05-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9039 2bbb7eff-a529-9590-31e7-b0007b416f81
* GM: now that we use MD5 instead of CityHash, the JSON should say soGravatar epoger@google.com2013-05-07
| | | | | | | | | | (this should have been part of https://code.google.com/p/skia/source/detail?r=8992 ) R=bungeman@google.com Review URL: https://codereview.chromium.org/14758003 git-svn-id: http://skia.googlecode.com/svn/trunk@9038 2bbb7eff-a529-9590-31e7-b0007b416f81
* XPS ttc handling.Gravatar commit-bot@chromium.org2013-05-07
| | | | | | | | | | R=reed@google.com Author: bungeman@google.com Review URL: https://chromiumcodereview.appspot.com/14873006 git-svn-id: http://skia.googlecode.com/svn/trunk@9037 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Allow supporting 1 older PICTURE_VERSION."Gravatar scroggo@google.com2013-05-07
| | | | | | | | | | | | | | This reverts commit deb9d6990ef2d153230340d960d86b0966f261e1. That change was just to allow us to bump the PICTURE_VERSION without changing the SKPs to the new one. Since it is not entirely reliable, I am removing it. R=rmistry@google.com Review URL: https://codereview.chromium.org/14741007 git-svn-id: http://skia.googlecode.com/svn/trunk@9035 2bbb7eff-a529-9590-31e7-b0007b416f81
* Check whether font creation is failed to avoid segment fault.Gravatar commit-bot@chromium.org2013-05-07
| | | | | | | | | | | | | In some rare cases, SkFontHost::CreateTypeface in src/ports/SkFontHost_fontconfig.cpp will return NULL, this will lead to segment fault because the previous code would access to 0x0 by (SkTypeface *)NULL->unref(). BUG= R=reed@google.com, bungeman@google.com Author: yunchao.he@intel.com Review URL: https://chromiumcodereview.appspot.com/14907005 git-svn-id: http://skia.googlecode.com/svn/trunk@9034 2bbb7eff-a529-9590-31e7-b0007b416f81
* reverting 9031Gravatar junov@chromium.org2013-05-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9033 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix SkPicture path bound optimization to handle inverse filled paths.Gravatar junov@chromium.org2013-05-07
| | | | | | | | | BUG=crbug.com/229011 TEST=Picture unit test Review URL: https://codereview.chromium.org/14819008 git-svn-id: http://skia.googlecode.com/svn/trunk@9031 2bbb7eff-a529-9590-31e7-b0007b416f81
* Nexus 7 performance trigger rebaseline Gravatar robertphillips@google.com2013-05-07
| | | | | | | | (SkipBuildbotRuns) git-svn-id: http://skia.googlecode.com/svn/trunk@9030 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add stroked oval benches. Gravatar jvanverth@google.com2013-05-07
| | | | | | | | Reviewed by: bsalomon Review URL: https://codereview.chromium.org/14849011/ git-svn-id: http://skia.googlecode.com/svn/trunk@9029 2bbb7eff-a529-9590-31e7-b0007b416f81
* Run bench_pictures with "--config msaa4" on Razr I, Nexus 10, and GNexGravatar borenet@google.com2013-05-07
| | | | | | | | Addresses: https://code.google.com/p/skia/issues/detail?id=1276 Review URL: https://codereview.chromium.org/15012002 git-svn-id: http://skia.googlecode.com/svn/trunk@9027 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-05-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9023 2bbb7eff-a529-9590-31e7-b0007b416f81
* Mask orientation and layout correctly.Gravatar commit-bot@chromium.org2013-05-06
| | | | | | | | | | R=reed@google.com, clefru@google.com Author: bungeman@google.com Review URL: https://chromiumcodereview.appspot.com/14884010 git-svn-id: http://skia.googlecode.com/svn/trunk@9022 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reverting r9016 due to Nexus7 GM regressionsGravatar jvanverth@google.com2013-05-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9020 2bbb7eff-a529-9590-31e7-b0007b416f81
* lockPixels before calling getColorTable.Gravatar scroggo@google.com2013-05-06
| | | | | | | | | | | | | | Fixes a bug where we try to dereference a NULL pointer. Update the comment for SkBitmap::getColorTable, telling the client that pixels must be locked for it to return non-NULL. R=edisonn@google.com Review URL: https://codereview.chromium.org/15002002 git-svn-id: http://skia.googlecode.com/svn/trunk@9018 2bbb7eff-a529-9590-31e7-b0007b416f81
* Better method for rendering AA ellipses.Gravatar commit-bot@chromium.org2013-05-06
| | | | | | | | | | | | | | | | | | | | | This uses the standard ellipse equation as a signed distance test, and adjusts the result by the length of the gradient at that point to get a better approximation of the distance to the ellipse. It replaces the standard ellipse and roundrect shader renderers. Also adds a check to see if the curvature extrema of the stroke are less than the curvature extrema of the ellipse (i.e. the radius of curvature is larger). In this case, it's no longer an ellipse and we can't use this renderer. R=bsalomon@google.com, robertphillips@google.com Author: jvanverth@google.com Review URL: https://chromiumcodereview.appspot.com/14938004 git-svn-id: http://skia.googlecode.com/svn/trunk@9016 2bbb7eff-a529-9590-31e7-b0007b416f81
* by hook or by crook, force gcc to return the value of SkPoint::length() to ↵Gravatar reed@google.com2013-05-06
| | | | | | | | | | | | actually be a float instead of a double. Otherwise we can't properly test for overflow with large values. R=robertphillips@google.com Review URL: https://codereview.chromium.org/14884011 git-svn-id: http://skia.googlecode.com/svn/trunk@9015 2bbb7eff-a529-9590-31e7-b0007b416f81
* Nexus 7 performance trigger rebaselinesGravatar robertphillips@google.com2013-05-06
| | | | | | | | (SkipBuildbotRuns) git-svn-id: http://skia.googlecode.com/svn/trunk@9014 2bbb7eff-a529-9590-31e7-b0007b416f81
* Don't use writeData to write the document in GM.Gravatar bungeman@google.com2013-05-06
| | | | | | | https://codereview.chromium.org/14824003/ git-svn-id: http://skia.googlecode.com/svn/trunk@9013 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updated performance trigger baselineGravatar robertphillips@google.com2013-05-06
| | | | | | | | (SkipBuildbotRuns) git-svn-id: http://skia.googlecode.com/svn/trunk@9012 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove unused complex script support from android buildsGravatar commit-bot@chromium.org2013-05-06
| | | | | | | | | | R=reed@google.com Author: djsollen@google.com Review URL: https://chromiumcodereview.appspot.com/14942003 git-svn-id: http://skia.googlecode.com/svn/trunk@9011 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use exportVar function in nacl_makeGravatar borenet@google.com2013-05-06
| | | | | | | | | | | Dumps out the variables as they are defined for debugging (SkipBuildbotRuns) R=djsollen@google.com Review URL: https://codereview.chromium.org/14655006 git-svn-id: http://skia.googlecode.com/svn/trunk@9010 2bbb7eff-a529-9590-31e7-b0007b416f81
* Copy NaCl directory into trunk/platform_tools, adjust pathsGravatar borenet@google.com2013-05-06
| | | | | | | | | | (SkipBuildbotRuns) R=djsollen@google.com Review URL: https://codereview.chromium.org/14771017 git-svn-id: http://skia.googlecode.com/svn/trunk@9008 2bbb7eff-a529-9590-31e7-b0007b416f81
* reimplement generateFontMetrics to keep all calculations in SkScalar, ↵Gravatar reed@google.com2013-05-06
| | | | | | | | | | avoiding the risk of over/under-flow w/ the current fixed-point intermediates. Review URL: https://codereview.chromium.org/14736005 git-svn-id: http://skia.googlecode.com/svn/trunk@9005 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refreshed SKP files. Whitespace change to trigger rebuilds.Gravatar rmistry@google.com2013-05-04
| | | | | | | | (AddDashboardAnnotation) Review URL: https://codereview.chromium.org/14947003 git-svn-id: http://skia.googlecode.com/svn/trunk@9003 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-05-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9002 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a new mode to render_pictures.Gravatar scroggo@google.com2013-05-03
| | | | | | | | | | | In the new mode, if an SKP file has encoded bitmap data, draw the data to a file with the appropriate name. R=borenet@google.com Review URL: https://codereview.chromium.org/14637011 git-svn-id: http://skia.googlecode.com/svn/trunk@9001 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix more warnings.Gravatar scroggo@google.com2013-05-03
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/14624008 git-svn-id: http://skia.googlecode.com/svn/trunk@9000 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make rebaseline.py pull GN Debug images.Gravatar bsalomon@google.com2013-05-03
| | | | | | | | R=senorblanco@chromium.org Review URL: https://codereview.chromium.org/14743004 git-svn-id: http://skia.googlecode.com/svn/trunk@8999 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix build (warning).Gravatar scroggo@google.com2013-05-03
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/14789014 git-svn-id: http://skia.googlecode.com/svn/trunk@8998 2bbb7eff-a529-9590-31e7-b0007b416f81
* Test region decoding in skimage, plus fixes.Gravatar scroggo@google.com2013-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add tests in skimage to perform region decoding. Write out a PNG of the region as well as a bitmap obtained with extractSubset for comparison. Rename decodeRegion to decodeSubset, so it will not be confused with SkRegion. (Leave a function called decodeRegion which calls decodeSubset.) Clean up some comments. Use png_set_interlaced_pass instead of modifying pass directly. Make some changes to region decoding to fix problems I discovered during testing: Only call getAddr within a valid range. Check for a NULL fInputStream. Return a boolean for whether cropBitmap succeeded. In cropBitmap, do not attempt to draw to a bitmap to an Index8 bitmap, which crashes. Use extractSubset instead. Remove an assert. R=djsollen@google.com Review URL: https://codereview.chromium.org/14567011 git-svn-id: http://skia.googlecode.com/svn/trunk@8996 2bbb7eff-a529-9590-31e7-b0007b416f81
* add (temporary) diagnostic code for normalize testGravatar reed@google.com2013-05-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8994 2bbb7eff-a529-9590-31e7-b0007b416f81
* add endian tests (reviewed by bungeman)Gravatar reed@google.com2013-05-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8993 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkBitmapHasher: use 64-bit-truncated MD5 instead of 64-bit CityHashGravatar epoger@google.com2013-05-03
| | | | | | | | | | | | | | BUG=https://code.google.com/p/skia/issues/detail?id=1257 (if we change our mind within the next few days, we can toggle the BITMAPHASHER_USES_TRUNCATED_MD5 #ifdef ; at some point, we'll remove that option so we can delete our CityHash implementation entirely) R=bungeman@google.com Review URL: https://codereview.chromium.org/14054012 git-svn-id: http://skia.googlecode.com/svn/trunk@8992 2bbb7eff-a529-9590-31e7-b0007b416f81
* trick the compiler into not knowning that I will generate an overflowGravatar reed@google.com2013-05-03
| | | | | | | | | (which is the point of the test). This avoids a warning, which breaks our bots. git-svn-id: http://skia.googlecode.com/svn/trunk@8991 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add benches for all xfermodes.Gravatar bsalomon@google.com2013-05-03
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/14818005 git-svn-id: http://skia.googlecode.com/svn/trunk@8990 2bbb7eff-a529-9590-31e7-b0007b416f81
* change setLength and Normalize to handle when mag2 overflows a float, but theGravatar reed@google.com2013-05-03
| | | | | | | | | | actual lenght does not. R=caryclark@google.com Review URL: https://codereview.chromium.org/14838006 git-svn-id: http://skia.googlecode.com/svn/trunk@8988 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix copy-paste error in setup scriptGravatar djsollen@google.com2013-05-03
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/14646027 git-svn-id: http://skia.googlecode.com/svn/trunk@8985 2bbb7eff-a529-9590-31e7-b0007b416f81
* Check for third_party deps before compiling on androidGravatar djsollen@google.com2013-05-03
| | | | | | | | R=borenet@google.com Review URL: https://codereview.chromium.org/14803004 git-svn-id: http://skia.googlecode.com/svn/trunk@8984 2bbb7eff-a529-9590-31e7-b0007b416f81
* Exclude angle dependency on non-angle buildsGravatar djsollen@google.com2013-05-03
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/14200018 git-svn-id: http://skia.googlecode.com/svn/trunk@8983 2bbb7eff-a529-9590-31e7-b0007b416f81
* This may potentially fix a chromium issue and shouldn't hurt, so if anyone ↵Gravatar sugoi@google.com2013-05-03
| | | | | | | | | | agrees that this fix should be harmless, we can try merging it in to see if it's enough to fix "Invalid pointer write in GrRenderTarget::onRelease". R=bsalomon@google.com, robertphillips@google.com Review URL: https://codereview.chromium.org/14607003 git-svn-id: http://skia.googlecode.com/svn/trunk@8982 2bbb7eff-a529-9590-31e7-b0007b416f81