epoger@google.com
002af91302
New baseline images for r2638
...
TBR=vandebo
Review URL: http://codereview.appspot.com/5369044
git-svn-id: http://skia.googlecode.com/svn/trunk@2639 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-09 13:35:17 +00:00
vandebo@chromium.org
290e3bbcf4
[PDF] add drawTextOnPath support.
...
BUG=239
TBR=reed@google.com
Review URL: http://codereview.appspot.com/5363045
git-svn-id: http://skia.googlecode.com/svn/trunk@2638 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 23:42:53 +00:00
epoger@google.com
29018728d5
whitespace commit to trigger buildbots
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2637 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 21:28:15 +00:00
epoger@google.com
841867bf55
whitespace commit to trigger buildbots
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2636 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 21:09:31 +00:00
epoger@google.com
e1874be96e
whitespace commit to trigger buildbots
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2635 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 21:02:58 +00:00
reed@google.com
073c90769e
use new PurgeFontCache() api
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2633 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 20:03:48 +00:00
reed@google.com
fe70112985
handle NaN values in clipPath
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2632 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 19:41:23 +00:00
bsalomon@google.com
0a97be216d
When GL_RGBA readPixels are slow do swizzle using a draw then readPixels with GL_BGRA
...
Review URL: http://codereview.appspot.com/5339051/
git-svn-id: http://skia.googlecode.com/svn/trunk@2631 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 19:20:57 +00:00
djsollen@google.com
318cf92202
Cleanup for the Android build.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2630 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 19:03:43 +00:00
djsollen@google.com
56c69773ae
Update files to use SK_BUILD_FOR_ANDROID.
...
This CL also removes any unecessary references to
the ANDROID definition.
Review URL: http://codereview.appspot.com/5354049
git-svn-id: http://skia.googlecode.com/svn/trunk@2629 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 19:00:26 +00:00
reed@google.com
6245ab718d
fix prev. change for __OpenBSD__
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2628 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 18:21:20 +00:00
reed@google.com
73ee77c908
up default limit to 2Mg
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2627 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 18:14:08 +00:00
bsalomon@google.com
36645d22f8
Remove old and GL-specific defines from GrUserConfig.h comments
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2626 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 15:52:21 +00:00
reed@google.com
2072db8901
post event to ourself to update the title after our constructor
...
(so we can see the title of the first slide)
git-svn-id: http://skia.googlecode.com/svn/trunk@2625 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 15:18:10 +00:00
reed@google.com
ac7aa1bc3f
prefix GM names with "GM " so I know that's what they are.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2624 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 15:06:34 +00:00
reed@google.com
8923c6cfd5
suppress font-purge messages
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2623 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 14:59:38 +00:00
reed@google.com
6c99633f73
return the prev value from SetFontCacheLimit
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2622 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 13:55:36 +00:00
reed@google.com
77407ca019
add api to SkGraphics to get/set font cache limit
...
add SK_DEFAULT_FONT_CACHE_LIMIT to SkUserConfig, to override our default value
git-svn-id: http://skia.googlecode.com/svn/trunk@2621 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-08 13:48:32 +00:00
bsalomon@google.com
ca08edd7a8
Fix logic about who flips y in gpu readpixels
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2620 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-07 16:56:39 +00:00
bungeman@google.com
24babf45b1
Add font scaler gm.
...
http://codereview.appspot.com/5337044/
git-svn-id: http://skia.googlecode.com/svn/trunk@2619 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-07 16:33:40 +00:00
bsalomon@google.com
c436499622
[GPU] Add explicit byte order and PM vs. UPM 8888 configs
...
Review URL: http://codereview.appspot.com/5347042/
git-svn-id: http://skia.googlecode.com/svn/trunk@2618 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-07 15:54:49 +00:00
djsollen@google.com
6ff82553df
Add support for building Android SampleApp.
...
Review URL: http://codereview.appspot.com/5342051
git-svn-id: http://skia.googlecode.com/svn/trunk@2617 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-07 15:43:57 +00:00
bsalomon@google.com
85b505bedc
Add support for GL_ARB_texture_swizzle
...
Review URL: http://codereview.appspot.com/5347042/
git-svn-id: http://skia.googlecode.com/svn/trunk@2615 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-07 14:56:51 +00:00
bsalomon@google.com
e269f210bd
Recommit r2611 with fix for gm
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2614 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-07 13:29:52 +00:00
bsalomon@google.com
e826262939
consolidate debug draw param checking code
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2613 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-07 02:30:51 +00:00
bsalomon@google.com
b87d2b5c2a
Revert r2611 until windows gm can be debugged
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2612 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-07 01:58:39 +00:00
bsalomon@google.com
6d9adaec78
Add replacement APIs for createPlatformSurface: createPlatformTexture and createPlatformRenderTarget
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2611 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-07 01:37:22 +00:00
bsalomon@google.com
979432ba26
Turn off annoying printfs
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2610 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-05 21:38:22 +00:00
bsalomon@google.com
80d09b9f7e
Use timestamp to detect when client GL calls could cause Gr's cache of glTexParam values to be invalid.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2609 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-05 21:21:13 +00:00
bsalomon@google.com
64c4fe4113
More removal of texture fUploadByteCount and rename fFormat to fConfig for consistency.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2608 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-05 14:51:01 +00:00
bsalomon@google.com
9d6cfd80a0
Remove unneeded field from GrGLTexture
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2607 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-05 13:25:21 +00:00
bsalomon@google.com
b635d39172
bump GrGpu reset context timestamp size
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2606 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-05 12:47:43 +00:00
bsalomon@google.com
1bf1c21025
Add reset context count to GrGpu
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2605 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-05 12:18:58 +00:00
bungeman@google.com
ce1d9e2e42
Back out fontscaler gm, as it seems to show up a gpu issue.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2604 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-04 16:06:33 +00:00
bungeman@google.com
0f0c2888e0
Add font scaler gm.
...
http://codereview.appspot.com/5337044/
git-svn-id: http://skia.googlecode.com/svn/trunk@2603 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-04 15:47:41 +00:00
djsollen@google.com
fad4510d43
Move the Android sample app into the android repo.
...
Review URL: http://codereview.appspot.com/5332054
git-svn-id: http://skia.googlecode.com/svn/trunk@2602 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-04 13:00:18 +00:00
bsalomon@google.com
6850eab42b
Override 32BPP format in SkCanvas::readPixels
...
Review URL: http://codereview.appspot.com/5330073/
git-svn-id: http://skia.googlecode.com/svn/trunk@2600 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-03 20:29:47 +00:00
reed@google.com
15356a68b2
experimental -- add SkImageFilter to paint. Not called yet.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2599 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-03 19:29:08 +00:00
djsollen@google.com
3839ca146a
Update the Skia gyp files to use the external android sources.
...
Review URL: http://codereview.appspot.com/5336048
git-svn-id: http://skia.googlecode.com/svn/trunk@2598 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-03 17:31:41 +00:00
reed@google.com
1f5f94325c
revert accidental change to lcd format pref
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2596 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-03 14:29:38 +00:00
reed@google.com
4a1234b7d3
create inline versions of common CGRect functions, since they appeared on
...
our profile of FontScalerBench
git-svn-id: http://skia.googlecode.com/svn/trunk@2595 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-03 14:28:35 +00:00
reed@google.com
8e372c98bf
custom memset32 to speed up erasing the offscreen when its width is small.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2594 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-03 13:45:38 +00:00
djsollen@google.com
51c2fa7bb1
Fix for missing file from previous CL that broke the build.
...
The file defines skia_target_arch to '' for non-arm platforms.
git-svn-id: http://skia.googlecode.com/svn/trunk@2593 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-03 13:13:27 +00:00
djsollen@google.com
58629291bc
Adding support to trunk for building Skia using the Android NDK.
...
This CL depends on a subsequent CL to add the appropriate NDK
toolchain and system sources to the skia repo.
Review URL: http://codereview.appspot.com/5306089/
Review URL: http://codereview.appspot.com/5306089
git-svn-id: http://skia.googlecode.com/svn/trunk@2592 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-03 13:08:29 +00:00
reed@google.com
d0601d2e7d
speed up font cache creation (20x using FontScalerBench)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2591 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-02 21:04:12 +00:00
reed@google.com
6e5a45c038
add bench for building the font cache
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2590 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-02 21:02:57 +00:00
reed@google.com
11b4d8a251
add hack for testing gSkSuppressFontCachePurgeSpew
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2589 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-02 21:02:36 +00:00
bsalomon@google.com
daba14b7d4
Line-endings only change (some windows line-endings snuck in)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2588 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-02 20:10:48 +00:00
bsalomon@google.com
910267dde2
Make SkDevice::onReadPixels take a const& rather than const*
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2587 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-02 20:06:25 +00:00
bsalomon@google.com
c69809745e
Recommit r2584 with gpu pass of the new ReadPixels test disabled in fixed pt (gpu code doesn't work in general in fixed pt).
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2586 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-02 19:57:21 +00:00