platform/upstream/libSkiaSharp.git
13 years agocheck-point for aaclip
reed@google.com [Thu, 6 Oct 2011 13:11:25 +0000 (13:11 +0000)]
check-point for aaclip

git-svn-id: http://skia.googlecode.com/svn/trunk@2419 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoremove unused variable "inside", begin fixing coding style
reed@google.com [Thu, 6 Oct 2011 13:11:46 +0000 (13:11 +0000)]
remove unused variable "inside", begin fixing coding style

git-svn-id: http://skia.googlecode.com/svn/trunk@2418 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agomove call to nothingToDraw into our iterator, so it sees the results of filters and...
reed@google.com [Thu, 6 Oct 2011 12:37:00 +0000 (12:37 +0000)]
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

13 years agoadd baselines
reed@google.com [Thu, 6 Oct 2011 12:17:50 +0000 (12:17 +0000)]
add baselines

git-svn-id: http://skia.googlecode.com/svn/trunk@2416 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRebaseline shadertext on windows
bsalomon@google.com [Wed, 5 Oct 2011 20:04:04 +0000 (20:04 +0000)]
Rebaseline shadertext on windows

git-svn-id: http://skia.googlecode.com/svn/trunk@2415 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFixup rendering of empty paths (including inverted fills)
bsalomon@google.com [Wed, 5 Oct 2011 19:57:55 +0000 (19:57 +0000)]
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

13 years agocheck-point for aaclip
reed@google.com [Wed, 5 Oct 2011 16:27:44 +0000 (16:27 +0000)]
check-point for aaclip

git-svn-id: http://skia.googlecode.com/svn/trunk@2413 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRemove failing tests. Go green.
caryclark@google.com [Wed, 5 Oct 2011 15:19:56 +0000 (15:19 +0000)]
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

13 years agofix text for Lion, Leopard, Skia on Mac
caryclark@google.com [Wed, 5 Oct 2011 14:38:15 +0000 (14:38 +0000)]
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

13 years agofirst cut at aaclipping
reed@google.com [Tue, 4 Oct 2011 21:38:55 +0000 (21:38 +0000)]
first cut at aaclipping

git-svn-id: http://skia.googlecode.com/svn/trunk@2410 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoChange SkAutoMaskImage so that we're less likely to write leaky code.
bungeman@google.com [Tue, 4 Oct 2011 21:25:00 +0000 (21:25 +0000)]
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

13 years agoRemove nonexistant header from gyp file
bsalomon@google.com [Tue, 4 Oct 2011 21:03:41 +0000 (21:03 +0000)]
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

13 years agofix calculation and assert for grmask -> bytes-per-pixel
reed@google.com [Tue, 4 Oct 2011 20:14:57 +0000 (20:14 +0000)]
fix calculation and assert for grmask -> bytes-per-pixel

git-svn-id: http://skia.googlecode.com/svn/trunk@2407 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRemove debug messages that are no longer needed.
vandebo@chromium.org [Tue, 4 Oct 2011 19:00:44 +0000 (19:00 +0000)]
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

13 years agodisable CHECK_NOTHING_TO_DRAW for now, since it doesn't play well with DrawLooper
reed@google.com [Tue, 4 Oct 2011 15:37:22 +0000 (15:37 +0000)]
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

13 years agoMake asBlur method const.
bungeman@google.com [Tue, 4 Oct 2011 15:11:38 +0000 (15:11 +0000)]
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

13 years agoNow that layout tests are fixed, remove flag to ignore margin fix.
bungeman@google.com [Tue, 4 Oct 2011 13:39:37 +0000 (13:39 +0000)]
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

13 years agoquick-rejects based on xfermode, using SkPaint::nothingToDraw()
reed@google.com [Tue, 4 Oct 2011 01:17:15 +0000 (01:17 +0000)]
quick-rejects based on xfermode, using SkPaint::nothingToDraw()

git-svn-id: http://skia.googlecode.com/svn/trunk@2402 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoadd force-rle parameter to help with aaclip testing
reed@google.com [Mon, 3 Oct 2011 21:15:46 +0000 (21:15 +0000)]
add force-rle parameter to help with aaclip testing

git-svn-id: http://skia.googlecode.com/svn/trunk@2401 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix two warnings in bench timers.
bungeman@google.com [Mon, 3 Oct 2011 20:44:39 +0000 (20:44 +0000)]
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

13 years agoadd accessors to irect
reed@google.com [Mon, 3 Oct 2011 20:27:14 +0000 (20:27 +0000)]
add accessors to irect

git-svn-id: http://skia.googlecode.com/svn/trunk@2399 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoUpdate common_conditions to make sure there is a slash in VS2008.
bungeman@google.com [Mon, 3 Oct 2011 20:15:13 +0000 (20:15 +0000)]
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

13 years agoRoll gyp and add librarian settings (now supported).
bungeman@google.com [Mon, 3 Oct 2011 19:36:51 +0000 (19:36 +0000)]
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

13 years agoRevert r2122, r2116, r2108 Now that Chrome's PlatformDevice doesn't inherit from...
vandebo@chromium.org [Mon, 3 Oct 2011 19:03:48 +0000 (19:03 +0000)]
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

13 years agoUse SK_OVERRIDE to add a little extra robustness against name changes.
tomhudson@google.com [Mon, 3 Oct 2011 16:01:10 +0000 (16:01 +0000)]
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

13 years agoinvert gamma for non-black/white text
reed@google.com [Mon, 3 Oct 2011 14:37:38 +0000 (14:37 +0000)]
invert gamma for non-black/white text

git-svn-id: http://skia.googlecode.com/svn/trunk@2394 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix nits
bsalomon@google.com [Mon, 3 Oct 2011 13:17:22 +0000 (13:17 +0000)]
Fix nits

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

git-svn-id: http://skia.googlecode.com/svn/trunk@2393 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoNew baseline images for windows. Visually OKed by Mike and Elliot.
epoger@google.com [Fri, 30 Sep 2011 21:51:56 +0000 (21:51 +0000)]
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

13 years agoneed these for the forceaa change
reed@google.com [Fri, 30 Sep 2011 20:57:05 +0000 (20:57 +0000)]
need these for the forceaa change

git-svn-id: http://skia.googlecode.com/svn/trunk@2391 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agodon't autoset forceaa (yet), but require the caller to do that. In the future
reed@google.com [Fri, 30 Sep 2011 20:53:23 +0000 (20:53 +0000)]
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

13 years agodisable auto-detection of non-opaque devices for LCD for now
reed@google.com [Fri, 30 Sep 2011 20:42:50 +0000 (20:42 +0000)]
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

13 years agoupdate baselines
reed@google.com [Fri, 30 Sep 2011 20:32:26 +0000 (20:32 +0000)]
update baselines

git-svn-id: http://skia.googlecode.com/svn/trunk@2388 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoDetect that we're drawing to a device that has per-pixel alpha, and if so,
reed@google.com [Fri, 30 Sep 2011 20:31:25 +0000 (20:31 +0000)]
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

13 years agowhitespace commit to trigger buildbots
epoger@google.com [Fri, 30 Sep 2011 17:38:25 +0000 (17:38 +0000)]
whitespace commit to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2386 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agowhitespace commit to trigger buildbots
epoger@google.com [Fri, 30 Sep 2011 17:06:11 +0000 (17:06 +0000)]
whitespace commit to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2384 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAdd SK_RESTRICT inside radial gradient shader - we can't currently see a benefit...
tomhudson@google.com [Fri, 30 Sep 2011 14:31:28 +0000 (14:31 +0000)]
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

13 years agoFix some VS2010 warnings
bsalomon@google.com [Thu, 29 Sep 2011 18:08:18 +0000 (18:08 +0000)]
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

13 years agoFix GLPrograms unit test, only set fExperimentalGS if driver support is
bsalomon@google.com [Thu, 29 Sep 2011 15:05:48 +0000 (15:05 +0000)]
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

13 years agoAdd license
bsalomon@google.com [Thu, 29 Sep 2011 14:58:28 +0000 (14:58 +0000)]
Add license

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

git-svn-id: http://skia.googlecode.com/svn/trunk@2366 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAdd experimental geometry shader code to gpu backend
bsalomon@google.com [Thu, 29 Sep 2011 14:40:26 +0000 (14:40 +0000)]
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

13 years agoRebase win fixed
bsalomon@google.com [Thu, 29 Sep 2011 12:51:38 +0000 (12:51 +0000)]
Rebase win fixed

git-svn-id: http://skia.googlecode.com/svn/trunk@2364 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRebase gm win float
bsalomon@google.com [Wed, 28 Sep 2011 21:42:10 +0000 (21:42 +0000)]
Rebase gm win float

git-svn-id: http://skia.googlecode.com/svn/trunk@2363 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agorebaseline (with Brian's cleartype settings)
reed@google.com [Wed, 28 Sep 2011 21:38:00 +0000 (21:38 +0000)]
rebaseline (with Brian's cleartype settings)

git-svn-id: http://skia.googlecode.com/svn/trunk@2362 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoadd baselines
reed@google.com [Wed, 28 Sep 2011 21:24:30 +0000 (21:24 +0000)]
add baselines

git-svn-id: http://skia.googlecode.com/svn/trunk@2361 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agorebaseline with gamma correct text
reed@google.com [Wed, 28 Sep 2011 20:43:04 +0000 (20:43 +0000)]
rebaseline with gamma correct text

git-svn-id: http://skia.googlecode.com/svn/trunk@2360 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoremove clearing gamma for BW, since caller does that now
reed@google.com [Wed, 28 Sep 2011 20:37:56 +0000 (20:37 +0000)]
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

13 years agoadd gamma-correct text
reed@google.com [Wed, 28 Sep 2011 20:33:24 +0000 (20:33 +0000)]
add gamma-correct text

git-svn-id: http://skia.googlecode.com/svn/trunk@2358 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agorebaseline with new gamma-corrected text
reed@google.com [Wed, 28 Sep 2011 20:29:33 +0000 (20:29 +0000)]
rebaseline with new gamma-corrected text

git-svn-id: http://skia.googlecode.com/svn/trunk@2357 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix gl error debug print.
bsalomon@google.com [Wed, 28 Sep 2011 17:58:13 +0000 (17:58 +0000)]
Fix gl error debug print.

git-svn-id: http://skia.googlecode.com/svn/trunk@2356 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAdd GrSTAllocator subclass, hide cons in GrTAllocator that takes ptr
bsalomon@google.com [Wed, 28 Sep 2011 17:52:15 +0000 (17:52 +0000)]
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

13 years agorebaseline
reed@google.com [Wed, 28 Sep 2011 17:50:17 +0000 (17:50 +0000)]
rebaseline

git-svn-id: http://skia.googlecode.com/svn/trunk@2354 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoupdate baseline
reed@google.com [Wed, 28 Sep 2011 17:42:03 +0000 (17:42 +0000)]
update baseline

git-svn-id: http://skia.googlecode.com/svn/trunk@2353 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agorebaseline
reed@google.com [Wed, 28 Sep 2011 17:38:18 +0000 (17:38 +0000)]
rebaseline

git-svn-id: http://skia.googlecode.com/svn/trunk@2352 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agomove specialization of 16 -vs- 32 lcd format to the fonthost
reed@google.com [Wed, 28 Sep 2011 17:26:42 +0000 (17:26 +0000)]
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

13 years agosupport gamma correction for lcd text
reed@google.com [Wed, 28 Sep 2011 17:10:57 +0000 (17:10 +0000)]
support gamma correction for lcd text

git-svn-id: http://skia.googlecode.com/svn/trunk@2350 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agokill gamma flags if we're drawing BW
reed@google.com [Wed, 28 Sep 2011 15:32:20 +0000 (15:32 +0000)]
kill gamma flags if we're drawing BW

git-svn-id: http://skia.googlecode.com/svn/trunk@2349 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agosplitscreen for black and white versions
reed@google.com [Wed, 28 Sep 2011 15:24:00 +0000 (15:24 +0000)]
splitscreen for black and white versions

git-svn-id: http://skia.googlecode.com/svn/trunk@2348 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoTurn off AA when coverage can't be handled correctly.
bsalomon@google.com [Wed, 28 Sep 2011 15:05:33 +0000 (15:05 +0000)]
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

13 years agoSet window build flags (warn level 4, release optimization options, pdbs in release...
bsalomon@google.com [Wed, 28 Sep 2011 14:32:01 +0000 (14:32 +0000)]
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

13 years agoroll in fixes from android when we have to compress sections of "stretchy"
reed@google.com [Wed, 28 Sep 2011 12:33:41 +0000 (12:33 +0000)]
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

13 years agoAdd debug trap to track down crash.
vandebo@chromium.org [Tue, 27 Sep 2011 19:49:57 +0000 (19:49 +0000)]
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

13 years agoadd initial baselines
reed@google.com [Tue, 27 Sep 2011 19:18:16 +0000 (19:18 +0000)]
add initial baselines

git-svn-id: http://skia.googlecode.com/svn/trunk@2343 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAdd SkSTArray, hide stack storage cons in SkTArray, unify SkTArray init logic
bsalomon@google.com [Tue, 27 Sep 2011 19:10:05 +0000 (19:10 +0000)]
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

13 years agoReplace SkMath.h includes as required for fixed point.
tomhudson@google.com [Tue, 27 Sep 2011 18:03:23 +0000 (18:03 +0000)]
Replace SkMath.h includes as required for fixed point.

git-svn-id: http://skia.googlecode.com/svn/trunk@2341 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoMake SkMath.h less visible in public header files.
tomhudson@google.com [Tue, 27 Sep 2011 17:38:17 +0000 (17:38 +0000)]
Make SkMath.h less visible in public header files.

git-svn-id: http://skia.googlecode.com/svn/trunk@2340 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agowhitespace commit to trigger buildbots
epoger@google.com [Tue, 27 Sep 2011 15:57:14 +0000 (15:57 +0000)]
whitespace commit to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2339 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agofix bw bits when width >= 16
reed@google.com [Tue, 27 Sep 2011 14:07:21 +0000 (14:07 +0000)]
fix bw bits when width >= 16

git-svn-id: http://skia.googlecode.com/svn/trunk@2338 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoinitial baselines
reed@google.com [Tue, 27 Sep 2011 13:22:12 +0000 (13:22 +0000)]
initial baselines

git-svn-id: http://skia.googlecode.com/svn/trunk@2337 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoadd initial baselines
reed@google.com [Tue, 27 Sep 2011 12:57:29 +0000 (12:57 +0000)]
add initial baselines

git-svn-id: http://skia.googlecode.com/svn/trunk@2336 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agodoh -- fix conversion to BW from color/gray
reed@google.com [Tue, 27 Sep 2011 12:54:24 +0000 (12:54 +0000)]
doh -- fix conversion to BW from color/gray

git-svn-id: http://skia.googlecode.com/svn/trunk@2335 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix 2333. Be sure fImage is assigned before giving to SkAutoMaskImage.
bungeman@google.com [Mon, 26 Sep 2011 19:51:33 +0000 (19:51 +0000)]
Fix 2333. Be sure fImage is assigned before giving to SkAutoMaskImage.

git-svn-id: http://skia.googlecode.com/svn/trunk@2334 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix leak of mask in draw.
bungeman@google.com [Mon, 26 Sep 2011 19:09:08 +0000 (19:09 +0000)]
Fix leak of mask in draw.
http://codereview.appspot.com/5132046/

git-svn-id: http://skia.googlecode.com/svn/trunk@2333 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agowhitespace commit to trigger buildbots
epoger@google.com [Mon, 26 Sep 2011 17:57:07 +0000 (17:57 +0000)]
whitespace commit to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2332 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agowhitespace commit to trigger buildbots
epoger@google.com [Mon, 26 Sep 2011 17:34:12 +0000 (17:34 +0000)]
whitespace commit to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2331 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRebase complexclip_gpu, add hairmodes_gpu on mac
bsalomon@google.com [Mon, 26 Sep 2011 15:59:51 +0000 (15:59 +0000)]
Rebase complexclip_gpu, add hairmodes_gpu on mac

git-svn-id: http://skia.googlecode.com/svn/trunk@2330 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRebase complexclip_gpu, hairmodes_gpu on linux
bsalomon@google.com [Mon, 26 Sep 2011 15:59:33 +0000 (15:59 +0000)]
Rebase complexclip_gpu, hairmodes_gpu on linux

git-svn-id: http://skia.googlecode.com/svn/trunk@2329 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix override issue, rebase win hairmodes_gpu, complexclip_gpu
bsalomon@google.com [Mon, 26 Sep 2011 15:59:20 +0000 (15:59 +0000)]
Fix override issue, rebase win hairmodes_gpu, complexclip_gpu
Mac gm bot will go red until I can remote in to mac mini and fix the baseline

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

git-svn-id: http://skia.googlecode.com/svn/trunk@2328 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoOptimize software radial gradients (remove branches from the inner loop where
tomhudson@google.com [Mon, 26 Sep 2011 15:03:55 +0000 (15:03 +0000)]
Optimize software radial gradients (remove branches from the inner loop where
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

13 years agoadd baselines
reed@google.com [Mon, 26 Sep 2011 14:45:18 +0000 (14:45 +0000)]
add baselines

git-svn-id: http://skia.googlecode.com/svn/trunk@2326 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoset gamma flag for white, since GDI gives us different (better) values
reed@google.com [Mon, 26 Sep 2011 13:21:39 +0000 (13:21 +0000)]
set gamma flag for white, since GDI gives us different (better) values
for white-on-black text.

git-svn-id: http://skia.googlecode.com/svn/trunk@2325 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agorebase win hairmodes_gpu
bsalomon@google.com [Fri, 23 Sep 2011 18:23:18 +0000 (18:23 +0000)]
rebase win hairmodes_gpu

git-svn-id: http://skia.googlecode.com/svn/trunk@2324 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAdd detection of when partial pixel coverage (for aa or otherwise) will cause incorre...
bsalomon@google.com [Fri, 23 Sep 2011 17:40:07 +0000 (17:40 +0000)]
Add detection of when partial pixel coverage (for aa or otherwise) will cause incorrect blend

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

git-svn-id: http://skia.googlecode.com/svn/trunk@2323 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRebase mac bot's complexclip_gpu
bsalomon@google.com [Fri, 23 Sep 2011 15:16:08 +0000 (15:16 +0000)]
Rebase mac bot's complexclip_gpu

git-svn-id: http://skia.googlecode.com/svn/trunk@2322 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoMake skdiff paths work on windows
bsalomon@google.com [Fri, 23 Sep 2011 14:56:37 +0000 (14:56 +0000)]
Make skdiff paths work on windows

http://codereview.appspot.com/5111041/

git-svn-id: http://skia.googlecode.com/svn/trunk@2321 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoexperimental
reed@google.com [Fri, 23 Sep 2011 14:49:49 +0000 (14:49 +0000)]
experimental

git-svn-id: http://skia.googlecode.com/svn/trunk@2320 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix signed/unsigned warning in GLCaps::print
bsalomon@google.com [Fri, 23 Sep 2011 14:27:29 +0000 (14:27 +0000)]
Fix signed/unsigned warning in GLCaps::print

git-svn-id: http://skia.googlecode.com/svn/trunk@2319 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRebase complexclip_gpu on mac
bsalomon@google.com [Fri, 23 Sep 2011 14:26:03 +0000 (14:26 +0000)]
Rebase complexclip_gpu on mac

git-svn-id: http://skia.googlecode.com/svn/trunk@2318 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRebase complexclip_gpu on linux
bsalomon@google.com [Fri, 23 Sep 2011 14:22:47 +0000 (14:22 +0000)]
Rebase complexclip_gpu on linux

git-svn-id: http://skia.googlecode.com/svn/trunk@2317 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoUse GrAAHairlineRenderer for line segments only if FS derivs not avail
bsalomon@google.com [Fri, 23 Sep 2011 14:19:58 +0000 (14:19 +0000)]
Use GrAAHairlineRenderer for line segments only if FS derivs not avail
Rebaseline complexclip_gpu for windows
Note: complexclip_gpu gm will go red on mac and linux until I update them

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

git-svn-id: http://skia.googlecode.com/svn/trunk@2316 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAdd asserts to track down Chrome crash (bug 94421).
vandebo@chromium.org [Thu, 22 Sep 2011 21:17:00 +0000 (21:17 +0000)]
Add asserts to track down Chrome crash (bug 94421).

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

13 years agoPut caps in a struct, move up to GrDrawTarget
bsalomon@google.com [Thu, 22 Sep 2011 21:01:31 +0000 (21:01 +0000)]
Put caps in a struct, move up to GrDrawTarget

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

git-svn-id: http://skia.googlecode.com/svn/trunk@2314 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoremove this until brian can review the results
reed@google.com [Thu, 22 Sep 2011 14:47:29 +0000 (14:47 +0000)]
remove this until brian can review the results

git-svn-id: http://skia.googlecode.com/svn/trunk@2313 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoadd baselines
reed@google.com [Thu, 22 Sep 2011 14:44:46 +0000 (14:44 +0000)]
add baselines

git-svn-id: http://skia.googlecode.com/svn/trunk@2312 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoadd baselines
reed@google.com [Thu, 22 Sep 2011 14:38:59 +0000 (14:38 +0000)]
add baselines

git-svn-id: http://skia.googlecode.com/svn/trunk@2311 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agotweak check for BW to avoid cmp
reed@google.com [Thu, 22 Sep 2011 14:33:40 +0000 (14:33 +0000)]
tweak check for BW to avoid cmp

git-svn-id: http://skia.googlecode.com/svn/trunk@2310 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoChange GrGLVersion from typedef GrFixed to uint32_t
bsalomon@google.com [Thu, 22 Sep 2011 14:31:24 +0000 (14:31 +0000)]
Change GrGLVersion from typedef GrFixed to uint32_t
Review URL: http://codereview.appspot.com/5097044

git-svn-id: http://skia.googlecode.com/svn/trunk@2309 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoCleanup handling of GL versions, fix function names
bsalomon@google.com [Thu, 22 Sep 2011 14:10:33 +0000 (14:10 +0000)]
Cleanup handling of GL versions, fix function names
Review URL: http://codereview.appspot.com/5097044/

git-svn-id: http://skia.googlecode.com/svn/trunk@2308 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix some warnings
bsalomon@google.com [Wed, 21 Sep 2011 21:46:03 +0000 (21:46 +0000)]
Fix some warnings

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

git-svn-id: http://skia.googlecode.com/svn/trunk@2304 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoadd tests for flatten, unflatten and transform
reed@google.com [Wed, 21 Sep 2011 19:05:12 +0000 (19:05 +0000)]
add tests for flatten, unflatten and transform

git-svn-id: http://skia.googlecode.com/svn/trunk@2303 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agorebaseline with faster gradients
reed@google.com [Wed, 21 Sep 2011 18:43:19 +0000 (18:43 +0000)]
rebaseline with faster gradients

git-svn-id: http://skia.googlecode.com/svn/trunk@2302 2bbb7eff-a529-9590-31e7-b0007b416f81