Commit Graph

2206 Commits

Author SHA1 Message Date
bungeman@google.com
07faed1102 Setting perspective in fixed point.
http://codereview.appspot.com/5088043/


git-svn-id: http://skia.googlecode.com/svn/trunk@2435 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-07 21:55:56 +00:00
bungeman@google.com
cf385232c4 Don't let templates live in shadows.
git-svn-id: http://skia.googlecode.com/svn/trunk@2434 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-07 21:10:39 +00:00
bungeman@google.com
a12cc7fda0 Separate code paths of SkTArray at compile time.
http://codereview.appspot.com/5243043/


git-svn-id: http://skia.googlecode.com/svn/trunk@2433 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-07 20:54:15 +00:00
bsalomon@google.com
8e06dabfe6 Fix more VS2010 warnings.
Review URL: http://codereview.appspot.com/5169053/



git-svn-id: http://skia.googlecode.com/svn/trunk@2432 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-07 20:03:39 +00:00
bsalomon@google.com
6150c2051e Add newlines to debug error strings
git-svn-id: http://skia.googlecode.com/svn/trunk@2431 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-07 19:55:03 +00:00
bsalomon@google.com
7d1276ff67 Directly assign glBindTexture in windows gl interface rather than wglGetProcAddress since it is a GL 1.1 function and isn't exported as a ptr in the ATI driver.
git-svn-id: http://skia.googlecode.com/svn/trunk@2430 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-07 17:01:32 +00:00
reed@google.com
685d9e2fd0 rebaseline
git-svn-id: http://skia.googlecode.com/svn/trunk@2429 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 20:24:11 +00:00
reed@google.com
702a55dde6 update baseline
git-svn-id: http://skia.googlecode.com/svn/trunk@2428 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 20:18:28 +00:00
reed@google.com
111c19bfeb fix scalar=fixed for the new tests
git-svn-id: http://skia.googlecode.com/svn/trunk@2427 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 20:13:22 +00:00
reed@google.com
0abb499daf add SkAlphaBlend255
git-svn-id: http://skia.googlecode.com/svn/trunk@2426 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 20:04:36 +00:00
bungeman@google.com
01744a46e8 Fix clamped_gradients gm to work in fixed.
git-svn-id: http://skia.googlecode.com/svn/trunk@2425 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 19:37:39 +00:00
reed@google.com
fd8772e008 bug fix for character 0x200B : zero-advance-space
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
2011-10-06 16:28:45 +00:00
reed@google.com
767ea3be7f change gamma for white and neutral text
git-svn-id: http://skia.googlecode.com/svn/trunk@2423 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 15:40:43 +00:00
reed@google.com
733e302b1c make no promises if we see a looper
git-svn-id: http://skia.googlecode.com/svn/trunk@2422 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 15:11:03 +00:00
reed@google.com
644fc767bc remove mention of obsolete symbol SK_SUPPORT_888_TEXT
git-svn-id: http://skia.googlecode.com/svn/trunk@2421 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 13:24:52 +00:00
reed@google.com
2d4297cfa4 use SK_OVERRIDE
git-svn-id: http://skia.googlecode.com/svn/trunk@2420 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 13:14:12 +00:00
reed@google.com
47ac84edaf check-point for aaclip
git-svn-id: http://skia.googlecode.com/svn/trunk@2419 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 13:11:25 +00:00
reed@google.com
1deaab51e7 remove unused variable "inside", begin fixing coding style
git-svn-id: http://skia.googlecode.com/svn/trunk@2418 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 13:11:46 +00:00
reed@google.com
632e1a281b move call to nothingToDraw into our iterator, so it sees the results of filters and loopers
before making its decision.



git-svn-id: http://skia.googlecode.com/svn/trunk@2417 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 12:37:00 +00:00
reed@google.com
2b33468232 add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@2416 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-06 12:17:50 +00:00
bsalomon@google.com
bbaa439756 Rebaseline shadertext on windows
git-svn-id: http://skia.googlecode.com/svn/trunk@2415 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-05 20:04:04 +00:00
bsalomon@google.com
fa6ac938e6 Fixup rendering of empty paths (including inverted fills)
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
2011-10-05 19:57:55 +00:00
reed@google.com
322878907f check-point for aaclip
git-svn-id: http://skia.googlecode.com/svn/trunk@2413 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-05 16:27:44 +00:00
caryclark@google.com
d21845c127 Remove failing tests. Go green.
D    gm/base-macmini-fixed/lcdtext_8888.png
D    gm/base-macbook/lcdtext_8888.png
D    gm/base-macmini/lcdtext_8888.png
D    gm/base-MacPro-fixed/lcdtext_8888.png
D    gm/base/lcdtext_8888.png



git-svn-id: http://skia.googlecode.com/svn/trunk@2412 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-05 15:19:56 +00:00
caryclark@google.com
84e43fd750 fix text for Lion, Leopard, Skia on Mac
M    src/ports/SkFontHost_mac_coretext.cpp



git-svn-id: http://skia.googlecode.com/svn/trunk@2411 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-05 14:38:15 +00:00
reed@google.com
e36707a4a8 first cut at aaclipping
git-svn-id: http://skia.googlecode.com/svn/trunk@2410 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-04 21:38:55 +00:00
bungeman@google.com
02f5584185 Change SkAutoMaskImage so that we're less likely to write leaky code.
http://codereview.appspot.com/5180047/


git-svn-id: http://skia.googlecode.com/svn/trunk@2409 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-04 21:25:00 +00:00
bsalomon@google.com
a30bc82a2e Remove nonexistant header from gyp file
Review URL: http://codereview.appspot.com/5179046/


git-svn-id: http://skia.googlecode.com/svn/trunk@2408 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-04 21:03:41 +00:00
reed@google.com
bbf1226530 fix calculation and assert for grmask -> bytes-per-pixel
git-svn-id: http://skia.googlecode.com/svn/trunk@2407 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-04 20:14:57 +00:00
vandebo@chromium.org
127c3be42b Remove debug messages that are no longer needed.
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
2011-10-04 19:00:44 +00:00
reed@google.com
675dd888db disable CHECK_NOTHING_TO_DRAW for now, since it doesn't play well with DrawLooper
git-svn-id: http://skia.googlecode.com/svn/trunk@2405 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-04 15:37:22 +00:00
bungeman@google.com
18ac1ba3d1 Make asBlur method const.
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
2011-10-04 15:11:38 +00:00
bungeman@google.com
5eba98c4d1 Now that layout tests are fixed, remove flag to ignore margin fix.
http://codereview.appspot.com/5186044/


git-svn-id: http://skia.googlecode.com/svn/trunk@2403 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-04 13:39:37 +00:00
reed@google.com
dcd0f3a980 quick-rejects based on xfermode, using SkPaint::nothingToDraw()
git-svn-id: http://skia.googlecode.com/svn/trunk@2402 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-04 01:17:15 +00:00
reed@google.com
2c508f2dc2 add force-rle parameter to help with aaclip testing
git-svn-id: http://skia.googlecode.com/svn/trunk@2401 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-03 21:15:46 +00:00
bungeman@google.com
a38c819b76 Fix two warnings in bench timers.
http://codereview.appspot.com/5164049/


git-svn-id: http://skia.googlecode.com/svn/trunk@2400 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-03 20:44:39 +00:00
reed@google.com
c74ab18130 add accessors to irect
git-svn-id: http://skia.googlecode.com/svn/trunk@2399 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-03 20:27:14 +00:00
bungeman@google.com
7deaa3b75c Update common_conditions to make sure there is a slash in VS2008.
http://codereview.appspot.com/5172047/


git-svn-id: http://skia.googlecode.com/svn/trunk@2398 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-03 20:15:13 +00:00
bungeman@google.com
983297e813 Roll gyp and add librarian settings (now supported).
http://codereview.appspot.com/5169048/


git-svn-id: http://skia.googlecode.com/svn/trunk@2397 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-03 19:36:51 +00:00
vandebo@chromium.org
5676b4a23a Revert r2122, r2116, r2108 Now that Chrome's PlatformDevice doesn't inherit from SkDevice.
Review URL: http://codereview.appspot.com/5178045

git-svn-id: http://skia.googlecode.com/svn/trunk@2396 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-03 19:03:48 +00:00
tomhudson@google.com
1341304449 Use SK_OVERRIDE to add a little extra robustness against name changes.
git-svn-id: http://skia.googlecode.com/svn/trunk@2395 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-03 16:01:10 +00:00
reed@google.com
7430a3376c invert gamma for non-black/white text
git-svn-id: http://skia.googlecode.com/svn/trunk@2394 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-03 14:37:38 +00:00
bsalomon@google.com
c2c9b97e60 Fix nits
Review URL: http://codereview.appspot.com/5155043/




git-svn-id: http://skia.googlecode.com/svn/trunk@2393 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-03 13:17:22 +00:00
epoger@google.com
5ebc70023f New baseline images for windows. Visually OKed by Mike and Elliot.
git-svn-id: http://skia.googlecode.com/svn/trunk@2392 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-30 21:51:56 +00:00
reed@google.com
3253898f72 need these for the forceaa change
git-svn-id: http://skia.googlecode.com/svn/trunk@2391 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-30 20:57:05 +00:00
reed@google.com
600b3f658c don't autoset forceaa (yet), but require the caller to do that. In the future
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
2011-09-30 20:53:23 +00:00
reed@google.com
97d1a22398 disable auto-detection of non-opaque devices for LCD for now
git-svn-id: http://skia.googlecode.com/svn/trunk@2389 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-30 20:42:50 +00:00
reed@google.com
c47c4ab278 update baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@2388 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-30 20:32:26 +00:00
reed@google.com
6fc3c1fe42 Detect that we're drawing to a device that has per-pixel alpha, and if so,
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
2011-09-30 20:31:25 +00:00
epoger@google.com
e958c6949a whitespace commit to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2386 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-30 17:38:25 +00:00