Граф коммитов

2117 Коммитов

Автор SHA1 Сообщение Дата
epoger@google.com cf61e26cd4 whitespace commit to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2331 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-26 17:34:12 +00:00
bsalomon@google.com ecb7b972b1 Rebase complexclip_gpu, add hairmodes_gpu on mac
git-svn-id: http://skia.googlecode.com/svn/trunk@2330 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-26 15:59:51 +00:00
bsalomon@google.com 4fa516aaa2 Rebase complexclip_gpu, hairmodes_gpu on linux
git-svn-id: http://skia.googlecode.com/svn/trunk@2329 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-26 15:59:33 +00:00
bsalomon@google.com 0d2aa8452f 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
2011-09-26 15:59:20 +00:00
tomhudson@google.com 5ea050f662 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
2011-09-26 15:03:55 +00:00
reed@google.com b01ced0042 add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@2326 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-26 14:45:18 +00:00
reed@google.com 754e4ebd10 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
2011-09-26 13:21:39 +00:00
bsalomon@google.com 0e736c23cd rebase win hairmodes_gpu
git-svn-id: http://skia.googlecode.com/svn/trunk@2324 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-23 18:23:18 +00:00
bsalomon@google.com d46e2423a7 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
2011-09-23 17:40:07 +00:00
bsalomon@google.com 4f001d8194 Rebase mac bot's complexclip_gpu
git-svn-id: http://skia.googlecode.com/svn/trunk@2322 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-23 15:16:08 +00:00
bsalomon@google.com 1a315fe57e 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
2011-09-23 14:56:37 +00:00
reed@google.com 894aa9a7af experimental
git-svn-id: http://skia.googlecode.com/svn/trunk@2320 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-23 14:49:49 +00:00
bsalomon@google.com 2caf69d246 Fix signed/unsigned warning in GLCaps::print
git-svn-id: http://skia.googlecode.com/svn/trunk@2319 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-23 14:27:29 +00:00
bsalomon@google.com c8f64082ce Rebase complexclip_gpu on mac
git-svn-id: http://skia.googlecode.com/svn/trunk@2318 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-23 14:26:03 +00:00
bsalomon@google.com 4593b84711 Rebase complexclip_gpu on linux
git-svn-id: http://skia.googlecode.com/svn/trunk@2317 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-23 14:22:47 +00:00
bsalomon@google.com a8a6a32f42 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
2011-09-23 14:19:58 +00:00
vandebo@chromium.org bbb77d5b34 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
2011-09-22 21:17:00 +00:00
bsalomon@google.com 18c9c198f5 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
2011-09-22 21:01:31 +00:00
reed@google.com f1fd30da32 remove this until brian can review the results
git-svn-id: http://skia.googlecode.com/svn/trunk@2313 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-22 14:47:29 +00:00
reed@google.com 2f03c6a46c add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@2312 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-22 14:44:46 +00:00
reed@google.com 669b9ba2e7 add baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@2311 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-22 14:38:59 +00:00
reed@google.com 82cff020b7 tweak check for BW to avoid cmp
git-svn-id: http://skia.googlecode.com/svn/trunk@2310 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-22 14:33:40 +00:00
bsalomon@google.com 4d06214caf 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
2011-09-22 14:31:24 +00:00
bsalomon@google.com c82b8899d9 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
2011-09-22 14:10:33 +00:00
bsalomon@google.com 2ec7280a17 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
2011-09-21 21:46:03 +00:00
reed@google.com 53effc5e32 add tests for flatten, unflatten and transform
git-svn-id: http://skia.googlecode.com/svn/trunk@2303 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-21 19:05:12 +00:00
reed@google.com 34fe616b7a rebaseline with faster gradients
git-svn-id: http://skia.googlecode.com/svn/trunk@2302 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-21 18:43:19 +00:00
reed@google.com 5e2df64215 detect when LCD is really just BW, and remark the glyph as that.
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
2011-09-21 18:42:09 +00:00
reed@google.com 98b11f1c21 flatten/unflatten fSegmentMask
git-svn-id: http://skia.googlecode.com/svn/trunk@2300 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-21 18:40:27 +00:00
bsalomon@google.com bc5cf51627 Use BindFragDataLocation (rather than indexed variant) for FS color output.
Review URL: http://codereview.appspot.com/5098042/



git-svn-id: http://skia.googlecode.com/svn/trunk@2299 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-21 16:21:07 +00:00
reed@google.com 9870e7ef94 rebaseline w/ faster gradients
git-svn-id: http://skia.googlecode.com/svn/trunk@2298 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-21 14:31:03 +00:00
bsalomon@google.com 858c494970 Rebase raster linux GM for faster radial-mirror and sweep
git-svn-id: http://skia.googlecode.com/svn/trunk@2297 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-21 14:23:32 +00:00
reed@google.com fe62638357 use common code for treating thin lines as hairlines (much faster)
git-svn-id: http://skia.googlecode.com/svn/trunk@2296 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-21 13:50:35 +00:00
reed@google.com 0b17770304 update baselines with faster radial-mirror and sweep
git-svn-id: http://skia.googlecode.com/svn/trunk@2295 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-21 13:42:02 +00:00
reed@google.com 51baf5abe7 speed up radial-mirror 16x, sweep by ~2x
git-svn-id: http://skia.googlecode.com/svn/trunk@2294 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-21 13:38:36 +00:00
reed@google.com b3b0a5b128 update fSegmentMask inside ::transform() (thank you validate!)
git-svn-id: http://skia.googlecode.com/svn/trunk@2293 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-21 12:58:51 +00:00
reed@google.com 10296ccb6a add segment types query to SkPath (i.e. does it have any quads)
git-svn-id: http://skia.googlecode.com/svn/trunk@2292 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-21 12:29:05 +00:00
bsalomon@google.com 4fa6694c58 Resubmit 2289 with fix for glsl version
git-svn-id: http://skia.googlecode.com/svn/trunk@2291 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-20 19:06:12 +00:00
bsalomon@google.com 1fac5ca505 Revert 2289. GLSL version detection not robust enough. May think we don't have GLSL 1.50 support based on OpenGL version. We have to look at the available extensions, not just GL version.
git-svn-id: http://skia.googlecode.com/svn/trunk@2290 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-20 17:57:44 +00:00
bsalomon@google.com 98874cdda0 [GPU] Use new Var type for inputs/outputs of FS and VS
Review URL: http://codereview.appspot.com/5056048/



git-svn-id: http://skia.googlecode.com/svn/trunk@2289 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-20 17:33:24 +00:00
reed@google.com dd5bd670e6 add SK_RESTRICT in shadeSpan methods
git-svn-id: http://skia.googlecode.com/svn/trunk@2288 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-20 15:56:13 +00:00
reed@google.com 6a87fafc5c revert match for newAlpha to exactly match old math, so we don't drive
dumprendertree crazy



git-svn-id: http://skia.googlecode.com/svn/trunk@2287 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-19 21:21:45 +00:00
reed@google.com 5672838761 update baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@2286 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-19 19:52:25 +00:00
bsalomon@google.com 21fa0676c5 Add missing header SkTArray.h to core.gyp
git-svn-id: http://skia.googlecode.com/svn/trunk@2285 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-19 19:43:36 +00:00
bungeman@google.com 64e011a59d Fix pdf suppression test for gm.
git-svn-id: http://skia.googlecode.com/svn/trunk@2284 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-19 19:31:04 +00:00
reed@google.com ecadf99c84 use new SkDrawTreatAsHairline method to decide when to approximate a thin-line
with a hairline (and have its alpha modulated).

idea is to be able to share this new function with SkGpuDevice



git-svn-id: http://skia.googlecode.com/svn/trunk@2283 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-19 19:18:18 +00:00
reed@google.com fbc2117288 add getFlags() to gm baseclass
skip PDF for hairmodes for now, since it crashes



git-svn-id: http://skia.googlecode.com/svn/trunk@2282 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-19 19:08:33 +00:00
reed@google.com ab9739777c add gm test for drawing hairlines (and varying thin lines) in xfermodes
add --nopdf option to gm app



git-svn-id: http://skia.googlecode.com/svn/trunk@2281 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-19 19:01:38 +00:00
bsalomon@google.com 3ad3d44f15 Include GrGLInterface.h instead of forward declaring, since we have to get NULL defined anyway.
git-svn-id: http://skia.googlecode.com/svn/trunk@2280 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-16 21:34:29 +00:00
bsalomon@google.com 30ee1b5c23 Fix forward decl
git-svn-id: http://skia.googlecode.com/svn/trunk@2279 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-09-16 21:20:24 +00:00