aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Add blend optimization helpers and use to convert rect draws to clears.Gravatar commit-bot@chromium.org2013-08-05
| | | | | | | | | | R=robertphillips@google.com, jvanverth@google.com, reed@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/21877006 git-svn-id: http://skia.googlecode.com/svn/trunk@10537 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added ctm matrix to GPU pathGravatar commit-bot@chromium.org2013-08-05
| | | | | | | | | | | | | There should be no changes in behavior caused by this cl, it just adds the ctm matrix to filterImageGPU so that it may be used for scaling on all platforms when it is implemented on the blink side. BUG= R=senorblanco@google.com, senorblanco@chromium.org Author: sugoi@chromium.org Review URL: https://chromiumcodereview.appspot.com/22209002 git-svn-id: http://skia.googlecode.com/svn/trunk@10536 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix OverdrawFilter not set on first call to SkDebugCanvas::drawTo()Gravatar commit-bot@chromium.org2013-08-05
| | | | | | | | | | R=robertphillips@google.com Author: egraether@chromium.org Review URL: https://chromiumcodereview.appspot.com/21789005 git-svn-id: http://skia.googlecode.com/svn/trunk@10535 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: add indexed rbg image support, enhanche caching(setData) for ↵Gravatar edisonn@google.com2013-08-05
| | | | | | | | SkPdfObject Review URL: https://codereview.chromium.org/21738005 git-svn-id: http://skia.googlecode.com/svn/trunk@10534 2bbb7eff-a529-9590-31e7-b0007b416f81
* Temporarily disable GpuTestPath.Gravatar jvanverth@google.com2013-08-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10532 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable SkUtilsArm on all ARM platforms and always use NDK compliant NEON ↵Gravatar djsollen@google.com2013-08-05
| | | | | | | | | | detection on Android. R=scroggo@google.com Review URL: https://codereview.chromium.org/22193002 git-svn-id: http://skia.googlecode.com/svn/trunk@10530 2bbb7eff-a529-9590-31e7-b0007b416f81
* Actually flush the path stencil transform when the matrix changesGravatar commit-bot@chromium.org2013-08-05
| | | | | | | | | | | | | | | | | Fixes many tests to match the master gm more closely. Examples of fixes: mixed_xfermodes, strokes_poly, gradients_view_perspective, strokes_round, ... . Total 58 differing results. BUG=1479 R=bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://chromiumcodereview.appspot.com/22176002 git-svn-id: http://skia.googlecode.com/svn/trunk@10529 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a crash on stroking empty paths with nv_path_rendering enabledGravatar commit-bot@chromium.org2013-08-05
| | | | | | | | | | | | | | | | Fix the crash by defining that GrPathRenderer::drawPath and GrPathRenderer::stencilPath are called only with non-empty paths. Adds a new test "GpuDrawPath" and tests the condition. BUG=1477 R=bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://chromiumcodereview.appspot.com/22173002 git-svn-id: http://skia.googlecode.com/svn/trunk@10528 2bbb7eff-a529-9590-31e7-b0007b416f81
* Avoid counting verbs twice in SkPath::isEmpty()Gravatar commit-bot@chromium.org2013-08-05
| | | | | | | | | | | | | | | | Remove redundant call to SkPathRef::countVerbs. The intention was probably to count points. Instead, assert that all two-verb paths begin with a 'move' and that if the second verb is a 'line', then the point count is indeed two. BUG=1478 R=bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://chromiumcodereview.appspot.com/22171002 git-svn-id: http://skia.googlecode.com/svn/trunk@10527 2bbb7eff-a529-9590-31e7-b0007b416f81
* In preparation for make Chromium's skia.gyp use pdf.gypi.Gravatar commit-bot@chromium.org2013-08-04
| | | | | | | | | | R=edisonn@google.com, djsollen@google.com Author: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/21952002 git-svn-id: http://skia.googlecode.com/svn/trunk@10526 2bbb7eff-a529-9590-31e7-b0007b416f81
* N7 Performance trigger rebaselinesGravatar robertphillips@google.com2013-08-04
| | | | | | | | (SkipBuildbotRuns) git-svn-id: http://skia.googlecode.com/svn/trunk@10525 2bbb7eff-a529-9590-31e7-b0007b416f81
* Delete image-based rebaselining tool; we have switched to checksumsGravatar epoger@google.com2013-08-02
| | | | | | | | R=borenet@google.com Review URL: https://codereview.chromium.org/21901004 git-svn-id: http://skia.googlecode.com/svn/trunk@10524 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: implementation of one type of pattern - simple tile patern, ↵Gravatar edisonn@google.com2013-08-02
| | | | | | | | colored, with xstep and ystep positive. Review URL: https://codereview.chromium.org/21919003 git-svn-id: http://skia.googlecode.com/svn/trunk@10523 2bbb7eff-a529-9590-31e7-b0007b416f81
* correctly copy constant coverage from GrPaint to GrDrawStateGravatar bsalomon@google.com2013-08-02
| | | | | | | | R=robertphillips@google.com Review URL: https://codereview.chromium.org/21924006 git-svn-id: http://skia.googlecode.com/svn/trunk@10522 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adds poppler and dependencies to DEPS. This is a pre-CL for 20220002, and ↵Gravatar commit-bot@chromium.org2013-08-02
| | | | | | | | | | | | getting DEPS committed first is necessary to get the trybots to run on the larger CL (since the trybots do 'gclient sync' before patching). R=vandebo@chromium.org, edisonn@google.com, djsollen@chromium.org, bungeman@chromium.org, djsollen@google.com Author: richardlin@chromium.org Review URL: https://chromiumcodereview.appspot.com/21945002 git-svn-id: http://skia.googlecode.com/svn/trunk@10521 2bbb7eff-a529-9590-31e7-b0007b416f81
* Create AJAX live-viewer of expected-vs-actual GM resultsGravatar epoger@google.com2013-08-02
| | | | | | | | R=zachr@google.com Review URL: https://codereview.chromium.org/20526007 git-svn-id: http://skia.googlecode.com/svn/trunk@10520 2bbb7eff-a529-9590-31e7-b0007b416f81
* Restore a default timer to bench_pictures.Gravatar scroggo@google.com2013-08-02
| | | | | | | | | | | | https://codereview.chromium.org/19862002 removed the default timer to display from PictureBenchmark. Restore a default by putting it in the flag description. R=mtklein@google.com Review URL: https://codereview.chromium.org/21567005 git-svn-id: http://skia.googlecode.com/svn/trunk@10516 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix skpdiff viewer bug when using relative pathsGravatar zachr@google.com2013-08-02
| | | | | | | | | BUG=skia:1463 R=djsollen@google.com Review URL: https://codereview.chromium.org/21601002 git-svn-id: http://skia.googlecode.com/svn/trunk@10515 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removed duplicate fileGravatar sugoi@google.com2013-08-02
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/21890003 git-svn-id: http://skia.googlecode.com/svn/trunk@10514 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing SkDeferredCanvas::writePixels to trigger appropriate change ↵Gravatar junov@chromium.org2013-08-02
| | | | | | | | | | | | notifications to SkSurface BUG=crbug.com/256269 TEST=DeferredCanvas unit test, TestDeferredCanvasWritePixelsToSurface R=reed@google.com Review URL: https://codereview.chromium.org/20628005 git-svn-id: http://skia.googlecode.com/svn/trunk@10513 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add nv_path_rendering entry points to Unix GLInterfaceGravatar commit-bot@chromium.org2013-08-02
| | | | | | | | | | | | | | | Add nv_path_rendering entry points to Unix GLInterface. Also add few other GL entry points that are used by nv_path_rendering codepaths. BUG=1468 R=bsalomon@google.com Author: kkinnunen@nvidia.com Review URL: https://chromiumcodereview.appspot.com/21808003 git-svn-id: http://skia.googlecode.com/svn/trunk@10512 2bbb7eff-a529-9590-31e7-b0007b416f81
* add remote debugging support for x86 phoneGravatar commit-bot@chromium.org2013-08-02
| | | | | | | | | | R=djsollen@google.com, borenet@google.com Author: yunchao.he@intel.com Review URL: https://chromiumcodereview.appspot.com/19920003 git-svn-id: http://skia.googlecode.com/svn/trunk@10511 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add fullscreen rect benchGravatar bsalomon@google.com2013-08-02
| | | | | | | | R=robertphillips@google.com Review URL: https://codereview.chromium.org/21592002 git-svn-id: http://skia.googlecode.com/svn/trunk@10510 2bbb7eff-a529-9590-31e7-b0007b416f81
* Support MSAA in the picture debuggerGravatar commit-bot@chromium.org2013-08-02
| | | | | | | | | | | | | | | | | Add radio buttons for setting the GL sample count to 0 ("off"), 4 or 16. Change the default mode of the GL widget to MSAA4. Previous behavior corresponded to "off". BUG=1459 R=robertphillips@google.com Author: kkinnunen@nvidia.com Review URL: https://chromiumcodereview.appspot.com/21752002 git-svn-id: http://skia.googlecode.com/svn/trunk@10509 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10503 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add onRefMatchingStyle to SkFontHost_linux.Gravatar bungeman@google.com2013-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10502 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix SkTMin call introduced in 10500 which fails on some platforms.Gravatar bungeman@google.com2013-08-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10501 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement onGetTableTags and onGetTableData on Windows.Gravatar bungeman@google.com2013-08-01
| | | | | | | | | Implements these and removes default implementation, making the declaration in SkTypeface pure virtual. Review URL: https://codereview.chromium.org/20672004 git-svn-id: http://skia.googlecode.com/svn/trunk@10500 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix memory leak in SkPDFResourceDictGravatar commit-bot@chromium.org2013-08-01
| | | | | | | | | | R=vandebo@chromium.org, edisonn@google.com Author: richardlin@chromium.org Review URL: https://chromiumcodereview.appspot.com/20655004 git-svn-id: http://skia.googlecode.com/svn/trunk@10499 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: debug the parameters for snc, and for resolveReferenceGravatar edisonn@google.com2013-08-01
| | | | | | Review URL: https://codereview.chromium.org/21604003 git-svn-id: http://skia.googlecode.com/svn/trunk@10498 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reintroduce default impls removed in 10495.Gravatar bungeman@google.com2013-08-01
| | | | | | | Due to poor placement of overrides in the hierarchy, nacl is failing. git-svn-id: http://skia.googlecode.com/svn/trunk@10497 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement onGetTableTags and onGetTableData on Windows.Gravatar bungeman@google.com2013-08-01
| | | | | | | | | | Implements these and removes default implementation, making the declaration in SkTypeface pure virtual. Review URL: https://codereview.chromium.org/20672004/ git-svn-id: http://skia.googlecode.com/svn/trunk@10495 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: finish implementation of SkPdfObject.toString(), and include in ↵Gravatar edisonn@google.com2013-08-01
| | | | | | | | debugging traces we leave when rendering. Review URL: https://codereview.chromium.org/20628008 git-svn-id: http://skia.googlecode.com/svn/trunk@10494 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Don't call SkGpuDevice::drawVertices from drawPoints when AA is ↵Gravatar djsollen@google.com2013-08-01
| | | | | | | | | | required." This reverts commit r10489. Review URL: https://codereview.chromium.org/21496003 git-svn-id: http://skia.googlecode.com/svn/trunk@10492 2bbb7eff-a529-9590-31e7-b0007b416f81
* New baselines for imagefiltersgraph GM after r10482.Gravatar senorblanco@chromium.org2013-08-01
| | | | | | | | | TBR=djsollen BUG= Review URL: https://codereview.chromium.org/20938004 git-svn-id: http://skia.googlecode.com/svn/trunk@10491 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added 3-color gradient scraper for detecting symmetrical gradients.Gravatar commit-bot@chromium.org2013-08-01
| | | | | | | | | | | | | Made changes to lua to scrape info about 3 color gradients BUG= R=reed@google.com Author: dierk@google.com Review URL: https://chromiumcodereview.appspot.com/21571002 git-svn-id: http://skia.googlecode.com/svn/trunk@10490 2bbb7eff-a529-9590-31e7-b0007b416f81
* Don't call SkGpuDevice::drawVertices from drawPoints when AA is required.Gravatar commit-bot@chromium.org2013-08-01
| | | | | | | | | | R=jvanverth@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/12943007 git-svn-id: http://skia.googlecode.com/svn/trunk@10489 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add Loop Blinn hairline conics to GPUGravatar egdaniel@google.com2013-08-01
| | | | | | | | | BUG= R=bsalomon@google.com Review URL: https://codereview.chromium.org/21036008 git-svn-id: http://skia.googlecode.com/svn/trunk@10487 2bbb7eff-a529-9590-31e7-b0007b416f81
* When skia run bench cases to test performance, it will run constructors for ↵Gravatar commit-bot@chromium.org2013-08-01
| | | | | | | | | | | | | | | all cases one by one, then getName to skip unnecessary cases according to command line parameters, so these constructors should be lightweight enough to avoid redundant computing. Unfortunately, some constructors contain intensive computing/rendering. They are very heavy, maybe much heavier than need-to-run bench case itself. And these redundant computation will be run every time you run bench, even you just test a single simple case. Moreover, it will mislead the real hotspot/bottleneck of the case itself. For example, run a lightweight case, say, region_intersectsrgn_16, the hot spots are gles operation, SuperBlitter, SkRTree... introduced by irrelevant cases' constructors. These redundant computation will mislead performance tuning. So we can move these intensive computation to onPreDraw() of these case. They will be executed only if this case should be run. R=reed@google.com, robertphillips@google.com, humper@google.com, tomhudson@chromium.org Author: yunchao.he@intel.com Review URL: https://chromiumcodereview.appspot.com/20997003 git-svn-id: http://skia.googlecode.com/svn/trunk@10486 2bbb7eff-a529-9590-31e7-b0007b416f81
* stub support for SK_FONTHOST_USES_FONTMGRGravatar reed@google.com2013-08-01
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/21563002 git-svn-id: http://skia.googlecode.com/svn/trunk@10485 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make SkPath::conservativelyContainsRect not assert on paths that begin with ↵Gravatar commit-bot@chromium.org2013-08-01
| | | | | | | | | | | | repeated moveTos R=reed@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/21565002 git-svn-id: http://skia.googlecode.com/svn/trunk@10484 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixes for JPEG subset decoding.Gravatar scroggo@google.com2013-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that the stream passed to JPEG for subset decoding is neither deleted before it is no longer needed nor deleted an extra time. src/images/SkJpegUtility.h: src/images/SkJpegUtility.cpp: Always ref and unref the stream provided to skjpeg_source_mgr. Add some comments explaining how skjpeg_source_mgr's members handle ownership. Fix a warning comparing signed and unsigned numbers, converting to size_t which is more appropriate for measuring bytes. Remove dead code referring to fMemoryBase and fMemoryBaseSize, which are never used. src/images/SkImageDecoder_libjpeg.cpp: Call the new constructor for skjpeg_source_mgr, which no longer takes a boolean to determine ownership. include/images/SkBitmapRegionDecoder.h src/images/SkBitmapRegionDecoder.cpp: This small shim has been removed, since it is not needed to use Skia's image decoders. Its functionality will be folded into Android. Required for the merge to Android. R=djsollen@google.com Review URL: https://codereview.chromium.org/21561002 git-svn-id: http://skia.googlecode.com/svn/trunk@10483 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SkBlendImageFilter, and all tests. Its functionality has been ↵Gravatar senorblanco@chromium.org2013-08-01
| | | | | | | | | | subsumed by SkXfermodeImageFilter. R=robertphillips@google.com Review URL: https://codereview.chromium.org/21404002 git-svn-id: http://skia.googlecode.com/svn/trunk@10482 2bbb7eff-a529-9590-31e7-b0007b416f81
* Mark GrMemoryPool methods as static.Gravatar commit-bot@chromium.org2013-08-01
| | | | | | | | | | R=jvanverth@google.com Author: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/21553002 git-svn-id: http://skia.googlecode.com/svn/trunk@10481 2bbb7eff-a529-9590-31e7-b0007b416f81
* ARM Skia NEON patches - 14 - S32A_BlendGravatar commit-bot@chromium.org2013-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Blitrow32: S32A_Blend new NEON version Adding a NEON version of S32A_Blend_BlitRow32. Here are the benchmark results: +-------+--------------------------+--------------------------+ | | Speedup vs. C | Speedup vs. ARM asm | | count +------------+-------------+------------+-------------+ | | Cortex A-9 | Cortex A-15 | Cortex A-9 | Cortex A-15 | +-------+------------+-------------+------------+-------------+ | 1 | +8,5% | +18,5% | +0.9% | +2,9% | +-------+------------+-------------+------------+-------------+ | 2 | +65,6% | +94% | +70,3% | +80% | +-------+------------+-------------+------------+-------------+ | 4 | +42,4% | +87,8% | +56,8% | +84,4% | +-------+------------+-------------+------------+-------------+ | 8 | +30% | +90% | +49,9% | +82,7% | +-------+------------+-------------+------------+-------------+ | 16 | +23,1% | +95,4% | +46,6% | +87,6% | +-------+------------+-------------+------------+-------------+ | 64 | +23,1% | +95,7% | +46,1% | +89,4% | +-------+------------+-------------+------------+-------------+ | 256 | +35,5% | +122% | +53,6% | +99,2% | +-------+------------+-------------+------------+-------------+ | 1024 | +61,8% | +101% | +64,2% | +91,2% | +-------+------------+-------------+------------+-------------+ BUG= R=djsollen@google.com Author: kevin.petit.arm@gmail.com Review URL: https://chromiumcodereview.appspot.com/18614010 git-svn-id: http://skia.googlecode.com/svn/trunk@10480 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: remove simple implementation for non-isolated groups. will be ↵Gravatar edisonn@google.com2013-08-01
| | | | | | | | implemented in skia most probably. also it is not generated by SkPDFDevice Review URL: https://codereview.chromium.org/21537003 git-svn-id: http://skia.googlecode.com/svn/trunk@10479 2bbb7eff-a529-9590-31e7-b0007b416f81
* N7 performance trigger rebaselinesGravatar robertphillips@google.com2013-08-01
| | | | | | | | (SkipBuildbotRuns) git-svn-id: http://skia.googlecode.com/svn/trunk@10478 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-08-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10477 2bbb7eff-a529-9590-31e7-b0007b416f81
* Inverse fill support in PDFGravatar commit-bot@chromium.org2013-07-31
| | | | | | | | | | | BUG= https://code.google.com/p/skia/issues/detail?id=241 (partial fix) R=edisonn@google.com, vandebo@chromium.org, reed@google.com Author: richardlin@chromium.org Review URL: https://chromiumcodereview.appspot.com/19519017 git-svn-id: http://skia.googlecode.com/svn/trunk@10476 2bbb7eff-a529-9590-31e7-b0007b416f81
* New baselines for imagefilterscropped.Gravatar senorblanco@chromium.org2013-07-31
| | | | | | | | | TBR=robertphillips BUG= Review URL: https://codereview.chromium.org/21340005 git-svn-id: http://skia.googlecode.com/svn/trunk@10475 2bbb7eff-a529-9590-31e7-b0007b416f81