aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* gm: force all pixels opaque earlier in the processGravatar epoger@google.com2013-01-31
| | | | | | Review URL: https://codereview.appspot.com/7251043 git-svn-id: http://skia.googlecode.com/svn/trunk@7493 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update filter tool to allow more flexible filteringGravatar robertphillips@google.com2013-01-31
| | | | | | | | https://codereview.appspot.com/7227055/ git-svn-id: http://skia.googlecode.com/svn/trunk@7492 2bbb7eff-a529-9590-31e7-b0007b416f81
* optimize region::intersect when one wholly contains the otherGravatar reed@google.com2013-01-31
| | | | | | | | clone of https://codereview.appspot.com/7237055/ git-svn-id: http://skia.googlecode.com/svn/trunk@7491 2bbb7eff-a529-9590-31e7-b0007b416f81
* add new test for region::intersect, when one is a rect, and it wholly containsGravatar reed@google.com2013-01-31
| | | | | | | | a complex region. git-svn-id: http://skia.googlecode.com/svn/trunk@7490 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm self-tests: add 565 mode testing, in addition to 8888 modeGravatar epoger@google.com2013-01-31
| | | | | | Review URL: https://codereview.appspot.com/7229061 git-svn-id: http://skia.googlecode.com/svn/trunk@7489 2bbb7eff-a529-9590-31e7-b0007b416f81
* All skp files in Google Storage have been updated (AddDashboardAnnotation)Gravatar rmistry@google.com2013-01-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7487 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to trigger rebuilds after r7485 Gravatar rmistry@google.com2013-01-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7486 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7484 2bbb7eff-a529-9590-31e7-b0007b416f81
* Speculative change to SkImageFilterUtils.cpp to try to get compiling in ChromeGravatar robertphillips@google.com2013-01-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7483 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding kMultiply_Mode (as an alias to kModulate_Mode) in ↵Gravatar robertphillips@google.com2013-01-31
| | | | | | SkBlendImageFilter.h to get Chrome compiling git-svn-id: http://skia.googlecode.com/svn/trunk@7482 2bbb7eff-a529-9590-31e7-b0007b416f81
* Readding kMultiply_Mode (as an alias to kModulate_Mode) in SkXfermode.h to ↵Gravatar robertphillips@google.com2013-01-31
| | | | | | get Chrome to compile git-svn-id: http://skia.googlecode.com/svn/trunk@7480 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SkImageFilterUtils.h to effects.gypiGravatar robertphillips@google.com2013-01-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7479 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix multi-level page count calculation.Gravatar vandebo@chromium.org2013-01-30
| | | | | | | | BUG=1091 Review URL: https://codereview.appspot.com/7220045 git-svn-id: http://skia.googlecode.com/svn/trunk@7478 2bbb7eff-a529-9590-31e7-b0007b416f81
* clone of https://codereview.appspot.com/7208043/Gravatar reed@google.com2013-01-30
| | | | | | Review URL: https://codereview.appspot.com/7232062 git-svn-id: http://skia.googlecode.com/svn/trunk@7476 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkNextLog2 requires positive values.Gravatar bungeman@google.com2013-01-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7474 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkNextLog2 requires values > 0.Gravatar bungeman@google.com2013-01-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7472 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added option of profiling GPU backend to debuggerGravatar robertphillips@google.com2013-01-30
| | | | | | | | https://codereview.appspot.com/7248045/ git-svn-id: http://skia.googlecode.com/svn/trunk@7471 2bbb7eff-a529-9590-31e7-b0007b416f81
* Avoid possible O(n) stack space use by skqsort.Gravatar bungeman@google.com2013-01-30
| | | | | | | https://codereview.appspot.com/7222043/ git-svn-id: http://skia.googlecode.com/svn/trunk@7470 2bbb7eff-a529-9590-31e7-b0007b416f81
* Start addressing the clang static analyzer issuesGravatar robertphillips@google.com2013-01-30
| | | | | | | | https://codereview.appspot.com/7249043/ git-svn-id: http://skia.googlecode.com/svn/trunk@7469 2bbb7eff-a529-9590-31e7-b0007b416f81
* bench_compare proper spacing and tab option.Gravatar bungeman@google.com2013-01-30
| | | | | | | https://codereview.appspot.com/6908056/ git-svn-id: http://skia.googlecode.com/svn/trunk@7468 2bbb7eff-a529-9590-31e7-b0007b416f81
* This changes the signature of SkImageFilter::filterImageGPU() to use ↵Gravatar senorblanco@chromium.org2013-01-30
| | | | | | | | | | SkBitmaps for input and output, and removes the rect param. This allows us to return textures which are larger than the actual result, such as when GrAutoScratchTextures are used. The SkBitmap's size represents the active region, while the GrTexture's size is the full texture size. This fixes the bicubic image filter GM on the GPU, which otherwise draws garbage outside the filtered region. It also moves us closer to unifying the signatures of SkImageFilter::onFilterImage() and SkImageFilter::filterImageGPU(). Review URL: https://codereview.appspot.com/7180048 git-svn-id: http://skia.googlecode.com/svn/trunk@7467 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GrDrawTarget::DrawInfo, combine API for performing indexed/non-indexed ↵Gravatar bsalomon@google.com2013-01-30
| | | | | | | | draws in subclasses. Review URL: https://codereview.appspot.com/7237045 git-svn-id: http://skia.googlecode.com/svn/trunk@7466 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding a new unit test that demonstrates that dithering affects constant ↵Gravatar junov@chromium.org2013-01-30
| | | | | | | | | gradients Related bug: crbug.com/169602 Review URL: https://codereview.appspot.com/7220063 git-svn-id: http://skia.googlecode.com/svn/trunk@7465 2bbb7eff-a529-9590-31e7-b0007b416f81
* return if we're invertible for the fast scale+trans case when we have no inverseGravatar reed@google.com2013-01-30
| | | | | | | matrix to return. Review URL: https://codereview.appspot.com/7231063 git-svn-id: http://skia.googlecode.com/svn/trunk@7464 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adds SkMWCRandom, which generates random numbers using a variant of George ↵Gravatar jvanverth@google.com2013-01-30
| | | | | | | | | Marsaglia's multiply-with-carry "mother-of-all" method. This passes the tuftests suite so it should be much better than the current method (which does not). https://codereview.appspot.com/7235056/ git-svn-id: http://skia.googlecode.com/svn/trunk@7463 2bbb7eff-a529-9590-31e7-b0007b416f81
* Re-enbling blurrect gm test wich no longer fails with rtree/tileGridGravatar junov@chromium.org2013-01-30
| | | | | | | | Some re-baselining may be necessary since the existing ones may be out of date. Unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@7462 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK option, to disable check forGravatar reed@google.com2013-01-30
| | | | | | | | lock-count-balance when we use pixelrefs. git-svn-id: http://skia.googlecode.com/svn/trunk@7460 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2013-01-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7459 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7458 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2013-01-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7453 2bbb7eff-a529-9590-31e7-b0007b416f81
* Mark SkPictureStateTree::Draw::operator< as const.Gravatar bungeman@google.com2013-01-29
| | | | | | | https://codereview.appspot.com/7222043/ git-svn-id: http://skia.googlecode.com/svn/trunk@7452 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix Japanese font issue for devices running JB MR1 and higher.Gravatar djsollen@google.com2013-01-29
| | | | | | | | | | | | Android JB MR1 is using a new format of /system/etc/fallback_fonts.xml. This CL preserves backwards compatibility, while also recognizing the new fallback_fonts.xml format ("lang" attrbiute in <file/>). NOTE: This CL was originally sumbitted for Chrome on Android (m18) Review URL: https://codereview.appspot.com/7226053 git-svn-id: http://skia.googlecode.com/svn/trunk@7448 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2013-01-29
| | | | | | update gyp files git-svn-id: http://skia.googlecode.com/svn/trunk@7445 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SK_API to SkMutex (for chrome)Gravatar reed@google.com2013-01-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7443 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to trigger rebuildsGravatar rmistry@google.com2013-01-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7442 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change (SkipBuildbotRuns)Gravatar rmistry@google.com2013-01-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7441 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7439 2bbb7eff-a529-9590-31e7-b0007b416f81
* tweak to comments, ws change to trigger botsGravatar reed@google.com2013-01-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7435 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove a workaround in gm/xfermodes.cppGravatar scroggo@google.com2013-01-28
| | | | | | | | | | | | | | | | We were performing a deep copy of the pixels in a SkBitmap to work around a bug where drawing an SkBitmap whose pixel memory was set with setPixels to an SkPicture did not preserve the pixel memory. Since the workaround was written, we have fixed the bug in two ways: 1. If setPixels is called with a pointer, we wrap the pixels in an SkPixelRef. 2. Picture recording now makes a deep copy of mutable bitmaps. Also switch to using onOnceBeforeDraw, an existing feature on GM that performs the purpose of the init function. BUG=http://code.google.com/p/skia/issues/detail?id=224 Review URL: https://codereview.appspot.com/7220054 git-svn-id: http://skia.googlecode.com/svn/trunk@7433 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add missing params to renderer->resetState().Gravatar jvanverth@google.com2013-01-28
| | | | | | | https://codereview.appspot.com/7234051/ git-svn-id: http://skia.googlecode.com/svn/trunk@7431 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing crash in cloning empty SkPicture objectGravatar junov@chromium.org2013-01-28
| | | | | | | | BUG=https://code.google.com/p/chromium/issues/detail?id=172062 TEST=Pictures unit test, test_clone_empty Review URL: https://codereview.appspot.com/7223048 git-svn-id: http://skia.googlecode.com/svn/trunk@7430 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix assertGravatar robertphillips@google.com2013-01-28
| | | | | | | | https://codereview.appspot.com/7234050/ git-svn-id: http://skia.googlecode.com/svn/trunk@7428 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix buildGravatar reed@google.com2013-01-28
| | | | | | Review URL: https://codereview.appspot.com/7229052 git-svn-id: http://skia.googlecode.com/svn/trunk@7426 2bbb7eff-a529-9590-31e7-b0007b416f81
* REBASELINE: enable setline fix for scan converter, with ↵Gravatar reed@google.com2013-01-28
| | | | | | | | SK_IGNORE_SETLINE_FIX build guard. Review URL: https://codereview.appspot.com/7225056 git-svn-id: http://skia.googlecode.com/svn/trunk@7425 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change the method for timing individual tiles in bench_pictures.Gravatar scroggo@google.com2013-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When timing individual tiles in bench_pictures, keep a timer running across all repeats, and then take the average. The former method of timing each iteration separately runs into precision errors on some platforms. Running on my Mac Pro with OSX 10.8, the cmsecs for the new method and the old method are roughly the same when checking the CPU time. When checking the wall time, the old method often gives me 0ms, while the new method gives me a larger value. I don't think this can be entirely attributed to rounding though, since on occasion I see the old method showing a short time period (.05 - .15ms) while the new method shows .15ms higher (which is in range for the difference I'm seeing for other tiles where the old method reports 0ms). Some other changes: PictureRenderer::resetState now takes a boolean parameter. If called with false, it will only do a flush, while if called with true, it will also call finish. resetState is now called with true everywhere except in between iterations of drawing the same tile (when timing individual tiles). render_pictures_main no longer calls resetState directly, since it already calls end, which calls resetState. BUG=http://code.google.com/p/skia/issues/detail?id=1066 Review URL: https://codereview.appspot.com/7101060 git-svn-id: http://skia.googlecode.com/svn/trunk@7424 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move vertex layout definitions from GrDrawTarget to GrDrawState.Gravatar jvanverth@google.com2013-01-28
| | | | | | | | | | This is the first step in revising vertex layouts so that the currently installed GrEffects determine the current vertex layout. https://codereview.appspot.com/7235051/ git-svn-id: http://skia.googlecode.com/svn/trunk@7423 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added toString to SkDrawLooper-derived classesGravatar robertphillips@google.com2013-01-28
| | | | | | | | https://codereview.appspot.com/7195054/ git-svn-id: http://skia.googlecode.com/svn/trunk@7422 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2013-01-28
| | | | | | good checkpoint: nearly all tests pass solidly here git-svn-id: http://skia.googlecode.com/svn/trunk@7420 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add data() to all QString::toASCII Qt calls to help out Linux compilerGravatar robertphillips@google.com2013-01-28
| | | | | | | | https://codereview.appspot.com/7232052/ git-svn-id: http://skia.googlecode.com/svn/trunk@7419 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add command line options to debuggerGravatar robertphillips@google.com2013-01-28
| | | | | | | | https://codereview.appspot.com/7221048/ git-svn-id: http://skia.googlecode.com/svn/trunk@7418 2bbb7eff-a529-9590-31e7-b0007b416f81