aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Add xps device to skia.Gravatar bungeman@google.com2011-10-10
| | | | | | | http://codereview.appspot.com/5076041/ git-svn-id: http://skia.googlecode.com/svn/trunk@2437 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
* Setting perspective in fixed point.Gravatar bungeman@google.com2011-10-07
| | | | | | | http://codereview.appspot.com/5088043/ git-svn-id: http://skia.googlecode.com/svn/trunk@2435 2bbb7eff-a529-9590-31e7-b0007b416f81
* bug fix for character 0x200B : zero-advance-spaceGravatar reed@google.com2011-10-06
| | | | | | | | | | | | | If we see a zero-advance, double check to see if its bounds should really be empty, by asking for its path. If that is empty, jam the bounds to 0 The bug was that CT was returning a huge bounds for that character (but, strangely enough, not for normal space character, hence our check for zero-advance) git-svn-id: http://skia.googlecode.com/svn/trunk@2424 2bbb7eff-a529-9590-31e7-b0007b416f81
* change gamma for white and neutral textGravatar reed@google.com2011-10-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2423 2bbb7eff-a529-9590-31e7-b0007b416f81
* make no promises if we see a looperGravatar reed@google.com2011-10-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2422 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SK_OVERRIDEGravatar reed@google.com2011-10-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2420 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
* remove unused variable "inside", begin fixing coding styleGravatar reed@google.com2011-10-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2418 2bbb7eff-a529-9590-31e7-b0007b416f81
* move call to nothingToDraw into our iterator, so it sees the results of ↵Gravatar reed@google.com2011-10-06
| | | | | | | | | | filters and loopers before making its decision. git-svn-id: http://skia.googlecode.com/svn/trunk@2417 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixup rendering of empty paths (including inverted fills)Gravatar bsalomon@google.com2011-10-05
| | | | | | | | | | Add GM and Sample that draw empty paths with various styles and fills Review URL: http://codereview.appspot.com/5185047/ git-svn-id: http://skia.googlecode.com/svn/trunk@2414 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
* fix text for Lion, Leopard, Skia on MacGravatar caryclark@google.com2011-10-05
| | | | | | | | M src/ports/SkFontHost_mac_coretext.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@2411 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
* Change SkAutoMaskImage so that we're less likely to write leaky code.Gravatar bungeman@google.com2011-10-04
| | | | | | | http://codereview.appspot.com/5180047/ git-svn-id: http://skia.googlecode.com/svn/trunk@2409 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove debug messages that are no longer needed.Gravatar vandebo@chromium.org2011-10-04
| | | | | | | | | Code from arthurhsu@chromium.org Original CL: http://codereview.appspot.com/5186045/ Review URL: http://codereview.appspot.com/5190042 git-svn-id: http://skia.googlecode.com/svn/trunk@2406 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable CHECK_NOTHING_TO_DRAW for now, since it doesn't play well with ↵Gravatar reed@google.com2011-10-04
| | | | | | DrawLooper git-svn-id: http://skia.googlecode.com/svn/trunk@2405 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make asBlur method const.Gravatar bungeman@google.com2011-10-04
| | | | | | | | | http://codereview.appspot.com/5190041/ This change makes asBlur const consistent with SkShader::asAGradient and asABitmap. git-svn-id: http://skia.googlecode.com/svn/trunk@2404 2bbb7eff-a529-9590-31e7-b0007b416f81
* Now that layout tests are fixed, remove flag to ignore margin fix.Gravatar bungeman@google.com2011-10-04
| | | | | | | http://codereview.appspot.com/5186044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2403 2bbb7eff-a529-9590-31e7-b0007b416f81
* quick-rejects based on xfermode, using SkPaint::nothingToDraw()Gravatar reed@google.com2011-10-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2402 2bbb7eff-a529-9590-31e7-b0007b416f81
* add force-rle parameter to help with aaclip testingGravatar reed@google.com2011-10-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2401 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r2122, r2116, r2108 Now that Chrome's PlatformDevice doesn't inherit ↵Gravatar vandebo@chromium.org2011-10-03
| | | | | | | | from SkDevice. Review URL: http://codereview.appspot.com/5178045 git-svn-id: http://skia.googlecode.com/svn/trunk@2396 2bbb7eff-a529-9590-31e7-b0007b416f81
* invert gamma for non-black/white textGravatar reed@google.com2011-10-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2394 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix nitsGravatar bsalomon@google.com2011-10-03
| | | | | | | | | Review URL: http://codereview.appspot.com/5155043/ git-svn-id: http://skia.googlecode.com/svn/trunk@2393 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't autoset forceaa (yet), but require the caller to do that. In the futureGravatar reed@google.com2011-09-30
| | | | | | | | | | we may add an explicit flag on Bitmap/Device which will say "disable LCD for me" in which case we would want to set the forceaa flag (meaning the caller wanted LCD, but we couldn't do it) git-svn-id: http://skia.googlecode.com/svn/trunk@2390 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable auto-detection of non-opaque devices for LCD for nowGravatar reed@google.com2011-09-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2389 2bbb7eff-a529-9590-31e7-b0007b416f81
* Detect that we're drawing to a device that has per-pixel alpha, and if so,Gravatar reed@google.com2011-09-30
| | | | | | | | | | | disable LCD text. Add experimental flag to force AA in fontscaler (windows-only). Hope to remove this later. git-svn-id: http://skia.googlecode.com/svn/trunk@2387 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SK_RESTRICT inside radial gradient shader - we can't currently see a ↵Gravatar tomhudson@google.com2011-09-30
| | | | | | benefit, but it shouldn't hurt, and some compiler somewhere ought to benefit from it. git-svn-id: http://skia.googlecode.com/svn/trunk@2383 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some VS2010 warningsGravatar bsalomon@google.com2011-09-29
| | | | | | | | | Review URL: http://codereview.appspot.com/5155043 git-svn-id: http://skia.googlecode.com/svn/trunk@2380 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add licenseGravatar bsalomon@google.com2011-09-29
| | | | | | | Review URL: http://codereview.appspot.com/5154044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2366 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove clearing gamma for BW, since caller does that nowGravatar reed@google.com2011-09-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2359 2bbb7eff-a529-9590-31e7-b0007b416f81
* add gamma-correct textGravatar reed@google.com2011-09-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2358 2bbb7eff-a529-9590-31e7-b0007b416f81
* move specialization of 16 -vs- 32 lcd format to the fonthostGravatar reed@google.com2011-09-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2351 2bbb7eff-a529-9590-31e7-b0007b416f81
* support gamma correction for lcd textGravatar reed@google.com2011-09-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2350 2bbb7eff-a529-9590-31e7-b0007b416f81
* kill gamma flags if we're drawing BWGravatar reed@google.com2011-09-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2349 2bbb7eff-a529-9590-31e7-b0007b416f81
* roll in fixes from android when we have to compress sections of "stretchy"Gravatar reed@google.com2011-09-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2345 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add debug trap to track down crash.Gravatar vandebo@chromium.org2011-09-27
| | | | | | | | | | Original CL by arthurhsu: http://codereview.appspot.com/5144046/ BUG=CR 94421 Review URL: http://codereview.appspot.com/5132051 git-svn-id: http://skia.googlecode.com/svn/trunk@2344 2bbb7eff-a529-9590-31e7-b0007b416f81
* Replace SkMath.h includes as required for fixed point.Gravatar tomhudson@google.com2011-09-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2341 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make SkMath.h less visible in public header files.Gravatar tomhudson@google.com2011-09-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2340 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix bw bits when width >= 16Gravatar reed@google.com2011-09-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2338 2bbb7eff-a529-9590-31e7-b0007b416f81
* doh -- fix conversion to BW from color/grayGravatar reed@google.com2011-09-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2335 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix 2333. Be sure fImage is assigned before giving to SkAutoMaskImage.Gravatar bungeman@google.com2011-09-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2334 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix leak of mask in draw.Gravatar bungeman@google.com2011-09-26
| | | | | | | http://codereview.appspot.com/5132046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2333 2bbb7eff-a529-9590-31e7-b0007b416f81
* Optimize software radial gradients (remove branches from the inner loop whereGravatar tomhudson@google.com2011-09-26
| | | | | | | | | | we can, because an entire row is conservatively either outside or inside the gradient.) Change the gradient benchmark to capture both cases, and add new gm to detect errors in these optimized paths. git-svn-id: http://skia.googlecode.com/svn/trunk@2327 2bbb7eff-a529-9590-31e7-b0007b416f81
* set gamma flag for white, since GDI gives us different (better) valuesGravatar reed@google.com2011-09-26
| | | | | | | | for white-on-black text. git-svn-id: http://skia.googlecode.com/svn/trunk@2325 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add asserts to track down Chrome crash (bug 94421).Gravatar vandebo@chromium.org2011-09-22
| | | | | | | | | Original Cl from arthurhsu@chromium.org http://codereview.appspot.com/5101041/ Review URL: http://codereview.appspot.com/5092048 git-svn-id: http://skia.googlecode.com/svn/trunk@2315 2bbb7eff-a529-9590-31e7-b0007b416f81
* tweak check for BW to avoid cmpGravatar reed@google.com2011-09-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2310 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some warningsGravatar bsalomon@google.com2011-09-21
| | | | | | | | Review URL: http://codereview.appspot.com/5075049/ git-svn-id: http://skia.googlecode.com/svn/trunk@2304 2bbb7eff-a529-9590-31e7-b0007b416f81
* detect when LCD is really just BW, and remark the glyph as that.Gravatar reed@google.com2011-09-21
| | | | | | | | | | | | allows us to take a much faster blitter. TODO: inform SkGlyphCache of this, so it can shrink its allocation for the image buffer (since BW takes up 1/16 as much ram) TODO(2): allow for A8->BW conversion my having scalercontext set a flag if it really-wants A8 (i.e. we have a maskfilter) git-svn-id: http://skia.googlecode.com/svn/trunk@2301 2bbb7eff-a529-9590-31e7-b0007b416f81
* flatten/unflatten fSegmentMaskGravatar reed@google.com2011-09-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2300 2bbb7eff-a529-9590-31e7-b0007b416f81