aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* A8 bitmaps from JPEG are not opaque.Gravatar scroggo@google.com2013-07-18
| | | | | | | | | | | | So do not set them to be. Depends on https://codereview.chromium.org/19185006/ R=reed@google.com Review URL: https://codereview.chromium.org/19613002 git-svn-id: http://skia.googlecode.com/svn/trunk@10158 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allow decoding JPEG into A8.Gravatar scroggo@google.com2013-07-18
| | | | | | | | | | | | | | | | If the original image is grayscale, allow decoding into A8. Change the size of PrefConfigTable to allow for 8bit gray, a new source config. Add a new sampler to SkScaledBitmapSampler to 'convert' to A8. FIXME: Should there be a dithered option for gray scale? R=reed@google.com Review URL: https://codereview.chromium.org/18083026 git-svn-id: http://skia.googlecode.com/svn/trunk@10157 2bbb7eff-a529-9590-31e7-b0007b416f81
* Hold on to image-filtered texture in SkGpuDeviceGravatar commit-bot@chromium.org2013-07-18
| | | | | | | | | | R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/19729006 git-svn-id: http://skia.googlecode.com/svn/trunk@10156 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add bench to test float to fixed conversionGravatar djsollen@google.com2013-07-18
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/19773006 git-svn-id: http://skia.googlecode.com/svn/trunk@10155 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove unimplemented Mutex() method from SkFontMgr.h.Gravatar bungeman@google.com2013-07-18
| | | | | | | | R=reed@google.com Review URL: https://codereview.chromium.org/19543008 git-svn-id: http://skia.googlecode.com/svn/trunk@10154 2bbb7eff-a529-9590-31e7-b0007b416f81
* svndiff.py: add support for git checkoutsGravatar epoger@google.com2013-07-18
| | | | | | | | | | (and yes, we should probably rename the tool soon) R=senorblanco@chromium.org Review URL: https://codereview.chromium.org/19512002 git-svn-id: http://skia.googlecode.com/svn/trunk@10153 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for Ubuntu compiler complaintGravatar robertphillips@google.com2013-07-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10151 2bbb7eff-a529-9590-31e7-b0007b416f81
* Yet another build fix for r10148Gravatar robertphillips@google.com2013-07-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10150 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix build breakages due to r10148Gravatar robertphillips@google.com2013-07-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10149 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improve null gpu's memory handlingGravatar robertphillips@google.com2013-07-18
| | | | | | | | https://codereview.chromium.org/19678010/ git-svn-id: http://skia.googlecode.com/svn/trunk@10148 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix Android bench bots for Xoom due to OOM errors.Gravatar djsollen@google.com2013-07-18
| | | | | | | | | | BUG= 1422 BUG= 1430 R=borenet@google.com Review URL: https://codereview.chromium.org/19672007 git-svn-id: http://skia.googlecode.com/svn/trunk@10147 2bbb7eff-a529-9590-31e7-b0007b416f81
* The rest of: Add purgeAsNeeded calls before addResource callsGravatar robertphillips@google.com2013-07-18
| | | | | | | | https://codereview.chromium.org/19591003/ git-svn-id: http://skia.googlecode.com/svn/trunk@10146 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add purgeAsNeeded calls before addResource callsGravatar robertphillips@google.com2013-07-18
| | | | | | | | https://codereview.chromium.org/19591003/ git-svn-id: http://skia.googlecode.com/svn/trunk@10145 2bbb7eff-a529-9590-31e7-b0007b416f81
* add FilterLevel API to SkPaint, replacing various Flag bitsGravatar reed@google.com2013-07-18
| | | | | | | | | BUG= R=bsalomon@google.com Review URL: https://codereview.chromium.org/19769005 git-svn-id: http://skia.googlecode.com/svn/trunk@10138 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: fix warning in releaseGravatar edisonn@google.com2013-07-18
| | | | | | Review URL: https://codereview.chromium.org/19773002 git-svn-id: http://skia.googlecode.com/svn/trunk@10137 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to trigger builds.Gravatar rmistry@google.com2013-07-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10135 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10134 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Use SkTypeface::countGlyphs instead of getAdvancedTypefaceMetricsGravatar commit-bot@chromium.org2013-07-17
| | | | | | | | | | | | | resubmit r10063 BUG=1088 R=bungeman@google.com Author: vandebo@chromium.org Review URL: https://chromiumcodereview.appspot.com/19668002 git-svn-id: http://skia.googlecode.com/svn/trunk@10133 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix leak of GrGLTexID when its owning GrGLTexture has been abandoned.Gravatar commit-bot@chromium.org2013-07-17
| | | | | | | | | | | BUG=260708 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/19580003 git-svn-id: http://skia.googlecode.com/svn/trunk@10132 2bbb7eff-a529-9590-31e7-b0007b416f81
* Avoid lineTo() duplication in SkPath::dump().Gravatar commit-bot@chromium.org2013-07-17
| | | | | | | | | | | | | | | | | | | | | | | Currently, SkPath.dump() produces duplicate entries for lineTo(): path.moveTo(0, 0); path.lineTo(1.00000012f, 0); path.lineTo(1.00000012f, 0); path.lineTo(1.00000012f, 1.00000012f); path.lineTo(1.00000012f, 1.00000012f); path.lineTo(0, 1.00000012f); path.lineTo(0, 1.00000012f); path.lineTo(0, 0); path.lineTo(0, 0); path.close(); R=bungeman@google.com Author: fmalita@chromium.org Review URL: https://chromiumcodereview.appspot.com/19540004 git-svn-id: http://skia.googlecode.com/svn/trunk@10131 2bbb7eff-a529-9590-31e7-b0007b416f81
* Replace all instances of GrRect with SkRect.Gravatar commit-bot@chromium.org2013-07-17
| | | | | | | | | | | | And remove the typedef in GrRect.h. The same with GrIRect. R=robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/19449002 git-svn-id: http://skia.googlecode.com/svn/trunk@10130 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add getRectCount to SkRegtionGravatar commit-bot@chromium.org2013-07-17
| | | | | | | | | | | | | | | | | It is useful to know how many rects comprise a region, since in some situations we can optimize code based on the complexity of the region. For instance, if we use SkRegion for tracking invalidation we might opt to use the region bounds as invalidation instead of iterating over each rect. R=reed@google.com, tomhudson@chromium.org, caryclark@google.com, robertphillips@google.com Author: vmpstr@chromium.org Review URL: https://chromiumcodereview.appspot.com/19366008 git-svn-id: http://skia.googlecode.com/svn/trunk@10129 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add bench for hairline paths.Gravatar egdaniel@google.com2013-07-17
| | | | | | | | R=bsalomon@google.com Review URL: https://codereview.chromium.org/19238003 git-svn-id: http://skia.googlecode.com/svn/trunk@10128 2bbb7eff-a529-9590-31e7-b0007b416f81
* make OpenCL optional for skpdiffGravatar zachr@google.com2013-07-17
| | | | | | | | | | - add CPU based different pixels metric R=djsollen@google.com Review URL: https://codereview.chromium.org/19374006 git-svn-id: http://skia.googlecode.com/svn/trunk@10127 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: fixes (indents) in input pdf specGravatar edisonn@google.com2013-07-17
| | | | | | Review URL: https://codereview.chromium.org/19665002 git-svn-id: http://skia.googlecode.com/svn/trunk@10126 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10122 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline.py: re-record already succeeding test results, just in caseGravatar epoger@google.com2013-07-17
| | | | | | | | TBR=borenet Review URL: https://codereview.chromium.org/19459002 git-svn-id: http://skia.googlecode.com/svn/trunk@10121 2bbb7eff-a529-9590-31e7-b0007b416f81
* in experimental/ : roll back a few expected GM image checksums, for testingGravatar epoger@google.com2013-07-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10120 2bbb7eff-a529-9590-31e7-b0007b416f81
* svndiff.py: fix --add-new for JSON-format expectationsGravatar epoger@google.com2013-07-16
| | | | | | Review URL: https://codereview.chromium.org/19444003 git-svn-id: http://skia.googlecode.com/svn/trunk@10119 2bbb7eff-a529-9590-31e7-b0007b416f81
* Missed this is r9949 (Allow the resource cache to (indirectly) flush the ↵Gravatar commit-bot@chromium.org2013-07-16
| | | | | | | | | | | | InOrderDrawBuffer - https://codereview.chromium.org/18466005/) R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/19401002 git-svn-id: http://skia.googlecode.com/svn/trunk@10118 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline.py: fix --add-new for JSON filesGravatar epoger@google.com2013-07-16
| | | | | | | | TBR=borenet Review URL: https://codereview.chromium.org/19415002 git-svn-id: http://skia.googlecode.com/svn/trunk@10117 2bbb7eff-a529-9590-31e7-b0007b416f81
* experimental/json-expectations: reformat to match output of rebaseline.pyGravatar epoger@google.com2013-07-16
| | | | | | | | Created using reformat-json.py script from https://codereview.chromium.org/19289011 Review URL: https://codereview.chromium.org/19289012 git-svn-id: http://skia.googlecode.com/svn/trunk@10116 2bbb7eff-a529-9590-31e7-b0007b416f81
* commit updated JSON expectations to experimental (based on gm-expectations ↵Gravatar epoger@google.com2013-07-16
| | | | | | | | at r10113) Review URL: https://codereview.chromium.org/19399003 git-svn-id: http://skia.googlecode.com/svn/trunk@10115 2bbb7eff-a529-9590-31e7-b0007b416f81
* experimental/json-expectations: mark all JSON files as plaintext, so diff ↵Gravatar epoger@google.com2013-07-16
| | | | | | tools work git-svn-id: http://skia.googlecode.com/svn/trunk@10114 2bbb7eff-a529-9590-31e7-b0007b416f81
* svndiff.py: add ability to compare before-and-after JSON files, not just raw ↵Gravatar epoger@google.com2013-07-16
| | | | | | | | | | | | images This should complete step 3 of https://goto.google.com/ChecksumTransitionDetail ! R=borenet@google.com Review URL: https://codereview.chromium.org/19112002 git-svn-id: http://skia.googlecode.com/svn/trunk@10113 2bbb7eff-a529-9590-31e7-b0007b416f81
* NIT MASTER 9000Gravatar commit-bot@chromium.org2013-07-16
| | | | | | | | | | | | | fixed nits BUG= R=robertphillips@google.com Author: dierk@google.com Review URL: https://chromiumcodereview.appspot.com/19394004 git-svn-id: http://skia.googlecode.com/svn/trunk@10112 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add the lazy decoder from PictureFlags to SkImageDecoderGravatar commit-bot@chromium.org2013-07-16
| | | | | | | | | | R=caryclark@google.com, scroggo@google.com Author: sglez@google.com Review URL: https://chromiumcodereview.appspot.com/19109002 git-svn-id: http://skia.googlecode.com/svn/trunk@10111 2bbb7eff-a529-9590-31e7-b0007b416f81
* More PathUtilsTest.cpp nitsGravatar commit-bot@chromium.org2013-07-16
| | | | | | | | | | | | | | | | | | | Reordered the includes, changed define to a constant global var. more PathUtils Nits BUG= R=robertphillips@google.com, tfarina@chromium.org Author: dierk@google.com Review URL: https://chromiumcodereview.appspot.com/19272014 git-svn-id: http://skia.googlecode.com/svn/trunk@10110 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline.py: add --keep-going-on-failure option, off by defaultGravatar epoger@google.com2013-07-16
| | | | | | | | R=borenet@google.com Review URL: https://codereview.chromium.org/18092004 git-svn-id: http://skia.googlecode.com/svn/trunk@10109 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed PathUtils nits.Gravatar commit-bot@chromium.org2013-07-16
| | | | | | | | | | | | | Fixed PathUtils nits BUG= R=robertphillips@google.com Author: dierk@google.com Review URL: https://chromiumcodereview.appspot.com/19392002 git-svn-id: http://skia.googlecode.com/svn/trunk@10108 2bbb7eff-a529-9590-31e7-b0007b416f81
* harden and speed up path op unit testsGravatar caryclark@google.com2013-07-16
| | | | | | | | | | | | | | | | | | | PathOps tests internal routines direcctly. Check to make sure that test points, lines, quads, curves, triangles, and bounds read from arrays are valid (i.e., don't contain NaN) before calling the test function. Repurpose the test flags. - make 'v' verbose test region output against path output - make 'z' single threaded (before it made it multithreaded) The latter change speeds up tests run by the buildbot by 2x to 3x. BUG= Review URL: https://codereview.chromium.org/19374003 git-svn-id: http://skia.googlecode.com/svn/trunk@10107 2bbb7eff-a529-9590-31e7-b0007b416f81
* add table pregeneration script for pmetricGravatar zachr@google.com2013-07-16
| | | | | | | | R=djsollen@google.com Review URL: https://codereview.chromium.org/19256002 git-svn-id: http://skia.googlecode.com/svn/trunk@10106 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split TLS implementation into its own translation unit.Gravatar bungeman@google.com2013-07-16
| | | | | | | | | | | | | SkTLS has it's own header separate from SkThread, and having SkThread own the platform implementation of SkTLS is problematic with Chromium. The simplest way to clean this up is to put the implementation in its own set of files, where it is also more easily found. R=robertphillips@google.com Review URL: https://codereview.chromium.org/19240007 git-svn-id: http://skia.googlecode.com/svn/trunk@10105 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move implementation of SkFilterShader into its source file.Gravatar tfarina@chromium.org2013-07-16
| | | | | | | | | | | | Since SkFilterShader has its own header file, makes more sense to have a separate source file to implement it rather than placing it in a "random" SkColorFilter.cpp file. R=robertphillips@google.com Review URL: https://codereview.chromium.org/19305004 git-svn-id: http://skia.googlecode.com/svn/trunk@10101 2bbb7eff-a529-9590-31e7-b0007b416f81
* improve convolve speed of skpdiff using direct pointersGravatar zachr@google.com2013-07-16
| | | | | | | | R=djsollen@google.com Review URL: https://codereview.chromium.org/19107002 git-svn-id: http://skia.googlecode.com/svn/trunk@10099 2bbb7eff-a529-9590-31e7-b0007b416f81
* Widen range for flaky performance trigger baselineGravatar robertphillips@google.com2013-07-16
| | | | | | | | (SkipBuildbotRuns) git-svn-id: http://skia.googlecode.com/svn/trunk@10098 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-07-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10096 2bbb7eff-a529-9590-31e7-b0007b416f81
* Export SkProxyCanvas and SkNWayCanvas for external use.Gravatar commit-bot@chromium.org2013-07-15
| | | | | | | | | | R=robertphillips@google.com, fmalita@google.com Author: fmalita@chromium.org Review URL: https://chromiumcodereview.appspot.com/19240008 git-svn-id: http://skia.googlecode.com/svn/trunk@10095 2bbb7eff-a529-9590-31e7-b0007b416f81
* Const-ify SkDebugCanvas::getSize().Gravatar commit-bot@chromium.org2013-07-15
| | | | | | | | | | | | This is an obviously const method, no reason not to mark it as such. R=robertphillips@google.com, fmalita@google.com Author: fmalita@chromium.org Review URL: https://chromiumcodereview.appspot.com/19289003 git-svn-id: http://skia.googlecode.com/svn/trunk@10094 2bbb7eff-a529-9590-31e7-b0007b416f81
* call newOneOff instead of oneOffGravatar caryclark@google.com2013-07-15
| | | | | | | | | | | | | calling the latter instead of the former walked off the end of the array causing mysterious bugs TODO: safeguard against NaNs in the input BUG= Review URL: https://codereview.chromium.org/19280002 git-svn-id: http://skia.googlecode.com/svn/trunk@10093 2bbb7eff-a529-9590-31e7-b0007b416f81