Commit Graph

2171 Commits

Author SHA1 Message Date
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
epoger@google.com
be2faf0c07 whitespace commit to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2384 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-30 17:06:11 +00:00
tomhudson@google.com
3e0f22c060 Add SK_RESTRICT inside radial gradient shader - we can't currently see a 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
2011-09-30 14:31:28 +00:00
bsalomon@google.com
9d12f5c11b Fix some VS2010 warnings
Review URL: http://codereview.appspot.com/5155043




git-svn-id: http://skia.googlecode.com/svn/trunk@2380 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-29 18:08:18 +00:00
bsalomon@google.com
6f92f18b62 Fix GLPrograms unit test, only set fExperimentalGS if driver support is
available



git-svn-id: http://skia.googlecode.com/svn/trunk@2367 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-29 15:05:48 +00:00
bsalomon@google.com
f75b84e94b Add license
Review URL: http://codereview.appspot.com/5154044/


git-svn-id: http://skia.googlecode.com/svn/trunk@2366 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-29 14:58:28 +00:00
bsalomon@google.com
edfe1aac5c Add experimental geometry shader code to gpu backend
Review URL: http://codereview.appspot.com/5129047/


git-svn-id: http://skia.googlecode.com/svn/trunk@2365 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-29 14:40:26 +00:00
bsalomon@google.com
5088385d98 Rebase win fixed
git-svn-id: http://skia.googlecode.com/svn/trunk@2364 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-29 12:51:38 +00:00
bsalomon@google.com
7aab4663d5 Rebase gm win float
git-svn-id: http://skia.googlecode.com/svn/trunk@2363 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 21:42:10 +00:00
reed@google.com
17bea24a68 rebaseline (with Brian's cleartype settings)
git-svn-id: http://skia.googlecode.com/svn/trunk@2362 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 21:38:00 +00:00
reed@google.com
bf7a7fb8dc add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@2361 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 21:24:30 +00:00
reed@google.com
9b8c20c331 rebaseline with gamma correct text
git-svn-id: http://skia.googlecode.com/svn/trunk@2360 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 20:43:04 +00:00
reed@google.com
3c9f8ffd22 remove clearing gamma for BW, since caller does that now
git-svn-id: http://skia.googlecode.com/svn/trunk@2359 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 20:37:56 +00:00
reed@google.com
6f5df48c1d add gamma-correct text
git-svn-id: http://skia.googlecode.com/svn/trunk@2358 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 20:33:24 +00:00
reed@google.com
2ac386795e rebaseline with new gamma-corrected text
git-svn-id: http://skia.googlecode.com/svn/trunk@2357 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 20:29:33 +00:00
bsalomon@google.com
4fdfcbe5ea Fix gl error debug print.
git-svn-id: http://skia.googlecode.com/svn/trunk@2356 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 17:58:13 +00:00
bsalomon@google.com
4b90c62dfc Add GrSTAllocator subclass, hide cons in GrTAllocator that takes ptr
Review URL: http://codereview.appspot.com/5147045/


git-svn-id: http://skia.googlecode.com/svn/trunk@2355 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 17:52:15 +00:00
reed@google.com
0922fb1be5 rebaseline
git-svn-id: http://skia.googlecode.com/svn/trunk@2354 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 17:50:17 +00:00
reed@google.com
afe2448c9f update baseline
git-svn-id: http://skia.googlecode.com/svn/trunk@2353 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 17:42:03 +00:00
reed@google.com
86b201bd78 rebaseline
git-svn-id: http://skia.googlecode.com/svn/trunk@2352 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 17:38:18 +00:00
reed@google.com
2739b27d7d move specialization of 16 -vs- 32 lcd format to the fonthost
git-svn-id: http://skia.googlecode.com/svn/trunk@2351 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 17:26:42 +00:00
reed@google.com
421093d99c support gamma correction for lcd text
git-svn-id: http://skia.googlecode.com/svn/trunk@2350 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 17:10:57 +00:00
reed@google.com
3e8ae5b457 kill gamma flags if we're drawing BW
git-svn-id: http://skia.googlecode.com/svn/trunk@2349 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 15:32:20 +00:00
reed@google.com
021b405496 splitscreen for black and white versions
git-svn-id: http://skia.googlecode.com/svn/trunk@2348 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 15:24:00 +00:00
bsalomon@google.com
950d7a8d8d Turn off AA when coverage can't be handled correctly.
This may make some gms go red if bots don't have dual source blend. Will rebase if so.

Review URL: http://codereview.appspot.com/5146049/



git-svn-id: http://skia.googlecode.com/svn/trunk@2347 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 15:05:33 +00:00
bsalomon@google.com
8b5abeca87 Set window build flags (warn level 4, release optimization options, pdbs in release builds)
Review URL: http://codereview.appspot.com/5142050/



git-svn-id: http://skia.googlecode.com/svn/trunk@2346 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 14:32:01 +00:00
reed@google.com
ade907bf98 roll in fixes from android when we have to compress sections of "stretchy"
git-svn-id: http://skia.googlecode.com/svn/trunk@2345 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-28 12:33:41 +00:00
vandebo@chromium.org
f8897e8d5b Add debug trap to track down crash.
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
2011-09-27 19:49:57 +00:00
reed@google.com
f65dfbf4e5 add initial baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@2343 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-27 19:18:16 +00:00
bsalomon@google.com
92669014aa Add SkSTArray, hide stack storage cons in SkTArray, unify SkTArray init logic
Review URL: http://codereview.appspot.com/5127044/



git-svn-id: http://skia.googlecode.com/svn/trunk@2342 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-27 19:10:05 +00:00
tomhudson@google.com
c12e1b138e Replace SkMath.h includes as required for fixed point.
git-svn-id: http://skia.googlecode.com/svn/trunk@2341 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-27 18:03:23 +00:00
tomhudson@google.com
889bd8bd7f Make SkMath.h less visible in public header files.
git-svn-id: http://skia.googlecode.com/svn/trunk@2340 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-27 17:38:17 +00:00
epoger@google.com
41ecf9253d whitespace commit to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2339 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-27 15:57:14 +00:00
reed@google.com
7a230142e0 fix bw bits when width >= 16
git-svn-id: http://skia.googlecode.com/svn/trunk@2338 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-27 14:07:21 +00:00
reed@google.com
ca27a1cb47 initial baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@2337 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-27 13:22:12 +00:00
reed@google.com
44b059260a add initial baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@2336 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-27 12:57:29 +00:00