aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkAAClip.cpp
Commit message (Collapse)AuthorAge
* Fixed oversized SkRegion bound problem for complexclip_aa GMGravatar robertphillips@google.com2012-08-02
| | | | | | | | http://codereview.appspot.com/6447076/ git-svn-id: http://skia.googlecode.com/svn/trunk@4906 2bbb7eff-a529-9590-31e7-b0007b416f81
* if bounds don't intersect in DIFF mode, just return src (don't return empty)Gravatar reed@google.com2012-06-25
| | | | | | Review URL: https://codereview.appspot.com/6337052 git-svn-id: http://skia.googlecode.com/svn/trunk@4331 2bbb7eff-a529-9590-31e7-b0007b416f81
* landing mirror of https://codereview.appspot.com/6304098/Gravatar reed@google.com2012-06-20
| | | | | | | | | | by kondapallykalyan fixing compiler warnings in SkAAClip git-svn-id: http://skia.googlecode.com/svn/trunk@4283 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in src/coreGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6301046 git-svn-id: http://skia.googlecode.com/svn/trunk@4182 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a memory leak in SkAAClip::translate().Gravatar tomhudson@google.com2012-03-28
| | | | | | | | | | Originally proposed by Jochen Eisinger. http://codereview.appspot.com/5934053/ git-svn-id: http://skia.googlecode.com/svn/trunk@3517 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix bug and add test for aaclip when blitV is calledGravatar reed@google.com2012-02-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3281 2bbb7eff-a529-9590-31e7-b0007b416f81
* be sure to mark fLastY with the bottom of the rect in blitRectGravatar reed@google.com2012-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3210 2bbb7eff-a529-9590-31e7-b0007b416f81
* aaclip needs to handle paths with holesGravatar reed@google.com2012-02-16
| | | | | | Review URL: https://codereview.appspot.com/5671066 git-svn-id: http://skia.googlecode.com/svn/trunk@3209 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SkDEBUGFAIL to clean up use of SkASSERT(!"text");Gravatar tomhudson@google.com2011-12-28
| | | | | | | | | | catch a couple of latent SkASSERT("text") bugs. http://codereview.appspot.com/5504090/ git-svn-id: http://skia.googlecode.com/svn/trunk@2926 2bbb7eff-a529-9590-31e7-b0007b416f81
* New 'blitAntiRect' entry point for blitters, specialized in supersamplingGravatar tomhudson@google.com2011-12-27
| | | | | | | | | | | | | | code to avoid quarter-scanline-at-a-time building of large rectangular clips. Speeds up aa_clip_build_path_AA benchmark 2x, aa_clip_build_rect_AA benchmark 10x or more. This is a sufficient performance gain to let Chromium reenable WebKit's soft clipping code. Rolling into Chromium will require ~18 rebaselines. git-svn-id: http://skia.googlecode.com/svn/trunk@2924 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 2783 -- broke debug gmGravatar reed@google.com2011-12-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2784 2bbb7eff-a529-9590-31e7-b0007b416f81
* New function SkBlitter::blitAntiRect(); specifically accelerated forGravatar tomhudson@google.com2011-12-01
| | | | | | | | supersampled antialiased clips. git-svn-id: http://skia.googlecode.com/svn/trunk@2783 2bbb7eff-a529-9590-31e7-b0007b416f81
* speedup AAClip::setRegion (n^2 to n)Gravatar reed@google.com2011-11-28
| | | | | | | | add bench for setRegion git-svn-id: http://skia.googlecode.com/svn/trunk@2759 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removes warnings generated by gcc and clang.Gravatar tomhudson@google.com2011-11-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2651 2bbb7eff-a529-9590-31e7-b0007b416f81
* implement blitRect for aaclip builder. This speeds up setRect by 15x (for ↵Gravatar reed@google.com2011-10-31
| | | | | | 640x480) git-svn-id: http://skia.googlecode.com/svn/trunk@2566 2bbb7eff-a529-9590-31e7-b0007b416f81
* call blitRect in our convex scanconverter (next: take advantage of that in ourGravatar reed@google.com2011-10-31
| | | | | | | | region and soft-region builders, and in our supersampler) git-svn-id: http://skia.googlecode.com/svn/trunk@2563 2bbb7eff-a529-9590-31e7-b0007b416f81
* reload base after we call memmoveGravatar reed@google.com2011-10-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2549 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix bad return type (should have been void)Gravatar reed@google.com2011-10-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2547 2bbb7eff-a529-9590-31e7-b0007b416f81
* now we trim the aaclip after building it, to ensure that it has tight boundsGravatar reed@google.com2011-10-27
| | | | | | | | around its (rle compressed) image. git-svn-id: http://skia.googlecode.com/svn/trunk@2542 2bbb7eff-a529-9590-31e7-b0007b416f81
* add initial unittests for aaclip. Fix case where BuilderBlitter skipped the topGravatar reed@google.com2011-10-26
| | | | | | | | | | few scanlines (of its bounds) and therefore didn't know to trim its bounds back down. This can happen when the path's bounds are larger than the curve's bounds (i.e. the control points are outside of the tight-bounds of the shape.) git-svn-id: http://skia.googlecode.com/svn/trunk@2534 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some warnings on VS2010 Gravatar bsalomon@google.com2011-10-24
| | | | | | | | Review URL: http://codereview.appspot.com/5312051/ git-svn-id: http://skia.googlecode.com/svn/trunk@2520 2bbb7eff-a529-9590-31e7-b0007b416f81
* enable soft clipping (yikes)Gravatar reed@google.com2011-10-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2515 2bbb7eff-a529-9590-31e7-b0007b416f81
* checkpoint -- more support changes for soft clippingGravatar reed@google.com2011-10-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2475 2bbb7eff-a529-9590-31e7-b0007b416f81
* trim off extra alpha==0 spans before and after our boundsGravatar reed@google.com2011-10-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2472 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SkRasterClip inside canvas (check-point for soft clipping)Gravatar reed@google.com2011-10-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2462 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings (failed to return a bool)Gravatar reed@google.com2011-10-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2455 2bbb7eff-a529-9590-31e7-b0007b416f81
* add setRegion and doAA parameter to setPathGravatar reed@google.com2011-10-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2450 2bbb7eff-a529-9590-31e7-b0007b416f81
* implement region-opsGravatar reed@google.com2011-10-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2436 2bbb7eff-a529-9590-31e7-b0007b416f81
* check-point for aaclipGravatar reed@google.com2011-10-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2419 2bbb7eff-a529-9590-31e7-b0007b416f81
* check-point for aaclipGravatar reed@google.com2011-10-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2413 2bbb7eff-a529-9590-31e7-b0007b416f81
* first cut at aaclippingGravatar reed@google.com2011-10-04
git-svn-id: http://skia.googlecode.com/svn/trunk@2410 2bbb7eff-a529-9590-31e7-b0007b416f81