reed@google.com
d9f2dea532
update to new api for doAA
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2463 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 14:43:27 +00:00
reed@google.com
0017708a5b
use SkRasterClip inside canvas (check-point for soft clipping)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2462 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 14:34:30 +00:00
reed@google.com
58af9a6470
separate SkBlitMask decl into its own header
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2461 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 13:43:52 +00:00
reed@google.com
c42d35daa7
add bool arg to clipRect and clipPath
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2460 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 11:57:42 +00:00
reed@google.com
071eef918d
add bool argument to canvas' clipRect and clipPath for antialiasing
...
(currently ignored)
git-svn-id: http://skia.googlecode.com/svn/trunk@2459 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 11:52:53 +00:00
bsalomon@google.com
e10f6fdf76
Fix per-vertex coverage on Macs with aligned attrib bug
...
Review URL: http://codereview.appspot.com/5250067
git-svn-id: http://skia.googlecode.com/svn/trunk@2458 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-11 20:15:26 +00:00
reed@google.com
2174494ccd
use ATSFontRef for our unique ID. Much more stable than using the ptr itself (duh)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2457 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-11 19:30:02 +00:00
reed@google.com
c2188cf233
add SkRasterClip
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2456 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-11 18:00:20 +00:00
reed@google.com
3771a030b0
fix warnings (failed to return a bool)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2455 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-11 17:18:04 +00:00
reed@google.com
ba16da97e8
add op(rgn, op)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2454 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-11 13:15:03 +00:00
reed@google.com
294dd7b3d7
change getLastPt to return a bool
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2453 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-11 11:58:32 +00:00
reed@google.com
5e2457ef2e
add getTotalClipBounds() as a partial replacement for getTotalClip. This can be
...
faster than getTotalClip, since it doesn't need to compute the actual complex
region for the answer.
git-svn-id: http://skia.googlecode.com/svn/trunk@2452 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 21:24:37 +00:00
reed@google.com
d1e3c5fde3
add experimental wrapper for region+aaclip
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2451 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 19:36:25 +00:00
reed@google.com
f3c1da1e97
add setRegion and doAA parameter to setPath
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2450 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 19:35:47 +00:00
reed@google.com
82d344a28d
add baselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2449 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 17:38:58 +00:00
suyang1
bb3f4a8d0a
Bug fixes:
...
- Mac SampleApp resize and maximize bug
- Mac SampleApp now accepts/dispatches mouse moved events
- SampleAnimator: moved drawColor outside so the sample draws a background every drawing call
- Removed SampleExtractAlpha from the repository and SampleApp.gyp
http://codereview.appspot.com/5249054/
git-svn-id: http://skia.googlecode.com/svn/trunk@2448 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 16:38:58 +00:00
reed@google.com
719fd045ab
add SkAAClip.cpp
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2447 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 16:04:26 +00:00
reed@google.com
3bcf8d30a7
add sample for clipping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2446 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 15:42:36 +00:00
bsalomon@google.com
077232e29c
Add semicolon back that was accidentally deleted in r2444
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2445 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 15:27:20 +00:00
bsalomon@google.com
1983f39f1b
Make a bunch of GrPrintfs be debug-only
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2444 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 15:17:58 +00:00
bsalomon@google.com
96e96dfd1e
When we're not using the NULL buffer data hint update with glBufferData rather than glBufferSubData.
...
Review URL: http://codereview.appspot.com/5253047/
git-svn-id: http://skia.googlecode.com/svn/trunk@2443 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 14:49:29 +00:00
reed@google.com
e05cc8e94e
explicitly set opt level for mac-release
...
delete obsolete FPS bench
git-svn-id: http://skia.googlecode.com/svn/trunk@2442 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 14:19:40 +00:00
bsalomon@google.com
58f511989f
Add baselines for linux aarectmodes and some missing gpu linux baselines.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2441 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 14:16:05 +00:00
bsalomon@google.com
a310826855
Add per-vertex coverage field, use in AA rects when alpha tweak is not valid, add relevant sample/gm
...
Review URL: http://codereview.appspot.com/5181044/
git-svn-id: http://skia.googlecode.com/svn/trunk@2440 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 14:08:47 +00:00
bsalomon@google.com
f12449b5d2
Fixed signed/unsigned comparison warnings in empty path gm/sample
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2439 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 14:03:33 +00:00
bungeman@google.com
0f1541f1c3
Mac does not like empty projects.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2438 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 13:47:06 +00:00
bungeman@google.com
b29c883fb4
Add xps device to skia.
...
http://codereview.appspot.com/5076041/
git-svn-id: http://skia.googlecode.com/svn/trunk@2437 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 13:19:10 +00:00
reed@google.com
1c04bf97b6
implement region-ops
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2436 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-10 12:57:12 +00:00
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