Commit Graph

2284 Commits

Author SHA1 Message Date
bsalomon@google.com
57f5d9854b Recommit r2510 now that mac build bot issue has been fixed.
git-svn-id: http://skia.googlecode.com/svn/trunk@2521 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-24 21:17:53 +00:00
bsalomon@google.com
820e80ad63 Fix some warnings on VS2010
Review URL: http://codereview.appspot.com/5312051/



git-svn-id: http://skia.googlecode.com/svn/trunk@2520 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-24 21:09:40 +00:00
epoger@google.com
45dd1fa3cf Whitespace change to trigger buildbot and make sure the mac buildbot still
succeeds, even though the Mac build slave is now connected to a fake
"VGA dongle" rather than an actual monitor.

git-svn-id: http://skia.googlecode.com/svn/trunk@2519 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-24 19:21:05 +00:00
epoger@google.com
d9acea2589 Update gm baselines to work when the bot is plugged into the big screen
(as opposed to headless, as it has been running for a while)

I forced LCD font smoothing on for the machine by running this command:
defaults -currentHost write -globalDomain AppleFontSmoothing -int 2

git-svn-id: http://skia.googlecode.com/svn/trunk@2518 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-24 18:27:56 +00:00
epoger@google.com
c0da07c85b Whitespace change to trigger buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@2517 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-24 14:26:17 +00:00
reed@google.com
67ba5fa328 fix scalar=fixed by implementing SkRegion form of AntiFillRect
git-svn-id: http://skia.googlecode.com/svn/trunk@2516 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-24 12:56:20 +00:00
reed@google.com
045e62d715 enable soft clipping (yikes)
git-svn-id: http://skia.googlecode.com/svn/trunk@2515 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-24 12:19:46 +00:00
reed@google.com
5a0920c22c don't mention the neon functions if no neon is available
git-svn-id: http://skia.googlecode.com/svn/trunk@2514 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-21 14:05:33 +00:00
reed@google.com
f0f617a502 add SkRect::intersect(a, b), matching what was already available in SkIRect
git-svn-id: http://skia.googlecode.com/svn/trunk@2513 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-21 14:05:06 +00:00
bungeman@google.com
cb6c2f4667 Just use ExtTextOutW for glyphs.
http://codereview.appspot.com/5308047/


git-svn-id: http://skia.googlecode.com/svn/trunk@2512 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-20 22:23:38 +00:00
bsalomon@google.com
d92780b558 Temporary revert of r2510. The test that it introduced fails on the Mac build bots. I suspect there is something wrong with the Mac bot machine's GL that is preventing context creation from succeeding. The OpenGL Driver monitor on the machine only shows a software rasterizer. aglChoosePixelFormat seems to fail regardless of input. It may just need a reboot. I'll investigate it more on Monday.
git-svn-id: http://skia.googlecode.com/svn/trunk@2511 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-20 21:54:46 +00:00
bsalomon@google.com
d47fafe057 Add test that validates GrGLInterfaces
Review URL: http://codereview.appspot.com/5304048/



git-svn-id: http://skia.googlecode.com/svn/trunk@2510 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-20 21:09:45 +00:00
bsalomon@google.com
ffa11bbbed Move a bunch of headers from include/gpu to src/gpu. Delete some unused files.
Review URL: http://codereview.appspot.com/5304047/



git-svn-id: http://skia.googlecode.com/svn/trunk@2506 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-20 13:43:13 +00:00
bsalomon@google.com
e173992c23 Fix macro call for getting fn ptr to EXT version of glGetQueryObjectui64v on windows.
git-svn-id: http://skia.googlecode.com/svn/trunk@2505 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-20 13:26:21 +00:00
reed@google.com
d40da64fcd add typefacecache to be purged in SkGraphics::Term()
git-svn-id: http://skia.googlecode.com/svn/trunk@2504 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-20 13:18:37 +00:00
bungeman@google.com
c961442926 Fix wall clock in bench system timer on Windows.
git-svn-id: http://skia.googlecode.com/svn/trunk@2503 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-19 22:10:21 +00:00
bsalomon@google.com
f97c194df7 GrGLInterface fixes wrt r2499
git-svn-id: http://skia.googlecode.com/svn/trunk@2502 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-19 21:35:26 +00:00
bsalomon@google.com
ba3664285b Pass NULL to BenchTimer cons when gl context creation failed.
git-svn-id: http://skia.googlecode.com/svn/trunk@2501 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-19 21:02:27 +00:00
bsalomon@google.com
788e247484 Fix benchmain to build w/ scalar=fixed
git-svn-id: http://skia.googlecode.com/svn/trunk@2500 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-19 20:56:30 +00:00
bsalomon@google.com
373a6635b7 Virtualize SkGLContext with subclasses SkNativeGLContext and SkMesaGLContext, allow both in gm
Review URL: http://codereview.appspot.com/5307045/



git-svn-id: http://skia.googlecode.com/svn/trunk@2499 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-19 20:43:20 +00:00
tomhudson@google.com
5960d00495 Extract six functions from GrGLProgram::genStageCode() to shorten it by
~170 LOC.



git-svn-id: http://skia.googlecode.com/svn/trunk@2498 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-19 20:21:48 +00:00
reed@google.com
de916c8ac8 add SK_API to our malloc functions
git-svn-id: http://skia.googlecode.com/svn/trunk@2497 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-19 19:50:48 +00:00
bsalomon@google.com
b5b5eaff47 Ensure all vertex attributes (except zero that we always use) are disabled after a resetContext.
Review URL: http://codereview.appspot.com/5309043/


git-svn-id: http://skia.googlecode.com/svn/trunk@2494 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-19 13:25:46 +00:00
reed@google.com
7a17e3a34f oops, init fSize to 0 before calling resize
git-svn-id: http://skia.googlecode.com/svn/trunk@2493 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-18 18:58:06 +00:00
reed@google.com
1c401d8f42 add OnShrink options to SkAutoMalloc
git-svn-id: http://skia.googlecode.com/svn/trunk@2492 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-18 18:52:03 +00:00
reed@google.com
3ab4195445 remove unused optional param to SkAutoMalloc
git-svn-id: http://skia.googlecode.com/svn/trunk@2491 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-18 18:32:46 +00:00
reed@google.com
86b49d2ef3 move SkAutoMaskFreeImage from SkMaskFilter.h to SkMask.h
git-svn-id: http://skia.googlecode.com/svn/trunk@2489 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-18 17:35:26 +00:00
reed@google.com
f52e55543e (re)add SkMask::getAddr() which now checks its pixel-size at runtime.
git-svn-id: http://skia.googlecode.com/svn/trunk@2488 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-18 17:29:44 +00:00
reed@google.com
7989186dab rename SkMask::getAddr to getAddr8, to match the specificity of the others
e.g. getAddr1, getAddrLCD16, etc.

This is to make way for a real getAddr that will compute its pixel-size at runtime



git-svn-id: http://skia.googlecode.com/svn/trunk@2487 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-18 15:44:57 +00:00
bsalomon@google.com
17f339485d Set stage params in program descriptor to canonical values when stage isn't used
git-svn-id: http://skia.googlecode.com/svn/trunk@2486 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-18 15:13:13 +00:00
reed@google.com
5344a1ad2f fix warning (add default in switch)
git-svn-id: http://skia.googlecode.com/svn/trunk@2485 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-18 14:03:23 +00:00
reed@google.com
edb606cb99 move LCD blits into opts, so they can have assembly versions
git-svn-id: http://skia.googlecode.com/svn/trunk@2484 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-18 13:56:50 +00:00
reed@google.com
095186a466 change text bench to measure text blit speed
git-svn-id: http://skia.googlecode.com/svn/trunk@2483 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-18 12:21:50 +00:00
reed@google.com
19f286b6f4 add tests for read/writePackedUInt, and fix a bug there.
git-svn-id: http://skia.googlecode.com/svn/trunk@2482 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-18 11:49:52 +00:00
vandebo@chromium.org
b3b465567d Handle failure of GetAdvancedTypefaceMetrics gracefully until we can figure out why it is failing.
Code from arthurhsu@chromium.org.  Original CL: http://codereview.appspot.com/5276057/

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

git-svn-id: http://skia.googlecode.com/svn/trunk@2480 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-17 23:22:49 +00:00
reed@google.com
ec4400824c commit http://codereview.chromium.org/8274009/
git-svn-id: http://skia.googlecode.com/svn/trunk@2479 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-13 19:16:20 +00:00
reed@google.com
da96563e31 add FillIRect variant that takes a rasterclip
git-svn-id: http://skia.googlecode.com/svn/trunk@2478 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-13 15:29:01 +00:00
reed@google.com
29ffc03677 update to use new api (offset -> translate)
git-svn-id: http://skia.googlecode.com/svn/trunk@2476 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-13 15:18:49 +00:00
reed@google.com
34f7e47a35 checkpoint -- more support changes for soft clipping
git-svn-id: http://skia.googlecode.com/svn/trunk@2475 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-13 15:11:59 +00:00
bsalomon@google.com
e295313f01 move utils/SkEGLContext to gpu/SkGLContext, some gpu.gyp cleanup, set eol style LF on all gpu files
Review URL: http://codereview.appspot.com/5242056/



git-svn-id: http://skia.googlecode.com/svn/trunk@2474 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-13 13:33:08 +00:00
reed@google.com
1ba7137fc0 add rasterclip entrypoints for scan converting paths
git-svn-id: http://skia.googlecode.com/svn/trunk@2473 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 20:42:05 +00:00
reed@google.com
1778564c75 trim off extra alpha==0 spans before and after our bounds
git-svn-id: http://skia.googlecode.com/svn/trunk@2472 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 20:23:55 +00:00
bsalomon@google.com
d38f137e9b Move gpu/include/* to include/gpu and gpu/src/* to src/gpu
Review URL: http://codereview.appspot.com/5250070/



git-svn-id: http://skia.googlecode.com/svn/trunk@2471 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 19:53:16 +00:00
bsalomon@google.com
4d5cb45f3e Set SDK for Mac build to 10.6, ignore gyp/build, fixup gpu files to compile against 10.5 if needed
Review URL: http://codereview.appspot.com/5260041/



git-svn-id: http://skia.googlecode.com/svn/trunk@2470 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 18:12:11 +00:00
bsalomon@google.com
674b34c2c3 Rebaseline win fixed. (shadertext images were long out of date and several tests didn't have images)
git-svn-id: http://skia.googlecode.com/svn/trunk@2469 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 15:55:04 +00:00
reed@google.com
e7a055dcca remove these (they need to be rebaselined)
git-svn-id: http://skia.googlecode.com/svn/trunk@2468 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 15:31:03 +00:00
bsalomon@google.com
f06e0a3548 Rebase linux for gpu xfer mode changes
git-svn-id: http://skia.googlecode.com/svn/trunk@2467 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 15:23:36 +00:00
bsalomon@google.com
12f3e90b9e Rebase mac pro for gpu xfer mode changes
git-svn-id: http://skia.googlecode.com/svn/trunk@2466 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 15:12:50 +00:00
reed@google.com
56074222ee forgot explicit return statements
git-svn-id: http://skia.googlecode.com/svn/trunk@2465 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 15:11:14 +00:00
bsalomon@google.com
86c1f71625 Gpu blend optimizations, handle more xfer modes with fractional pixel coverage
Review URL: http://codereview.appspot.com/5237062/



git-svn-id: http://skia.googlecode.com/svn/trunk@2464 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-10-12 14:54:26 +00:00