bsalomon@google.com
6f3795105b
Make all pixel ops go thru ctx so we can correctly flush. Unify two texture upload code paths.
...
Review URL: http://codereview.appspot.com/5373108/
git-svn-id: http://skia.googlecode.com/svn/trunk@2701 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-16 20:36:03 +00:00
caryclark@google.com
aa336da083
pass font size explicitly for leopard
...
http://codereview.appspot.com/5401043/
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2700 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-16 18:36:44 +00:00
senorblanco@chromium.org
54e01b2ab9
This change makes SkImageFilter and SkBlurImageFilter flattenable/unflattenable.
...
The imageblur test also needed to stop calling getDeviceSize(), since it was
returning 99999x99999 for the SkPicture case.
git-svn-id: http://skia.googlecode.com/svn/trunk@2699 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-16 18:20:47 +00:00
djsollen@google.com
da957724d2
Add support in Android for AdvancedTypefaceMetrics
...
Review URL: http://codereview.appspot.com/5396045
git-svn-id: http://skia.googlecode.com/svn/trunk@2698 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-16 17:00:46 +00:00
djsollen@google.com
09752196a1
Fix broken Android build.
...
reviewed by reed.
git-svn-id: http://skia.googlecode.com/svn/trunk@2697 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-16 16:57:08 +00:00
reed@google.com
568468094a
update ARM platform procs for blitmask
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2695 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-16 13:54:47 +00:00
bungeman@google.com
ce04659be8
Remove unneeded include which is breaking build.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2694 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-15 22:30:20 +00:00
bungeman@google.com
39698b1bd7
Add paging support for handle based typefaces.
...
http://codereview.appspot.com/5379043/
http://codereview.appspot.com/5364052/
git-svn-id: http://skia.googlecode.com/svn/trunk@2693 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-15 22:26:41 +00:00
reed@google.com
79841fe3cb
disable reduced checks if we're not enabling fast shadermask
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2692 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-15 21:12:30 +00:00
reed@google.com
d4780e2eb8
need to opt-in to faster shadermask until chrome can rebaseline
...
SK_ENABLE_FAST_SHADERMASK
git-svn-id: http://skia.googlecode.com/svn/trunk@2691 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-15 20:49:52 +00:00
reed@google.com
c1302e6be6
delete these, as then need to be rebaselined
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2690 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-15 20:07:11 +00:00
reed@google.com
1750bf1763
support blitMask+shader natively (1.75x faster for AA, and now we can support
...
LCD at all with a shader.)
git-svn-id: http://skia.googlecode.com/svn/trunk@2689 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-15 19:51:02 +00:00
bsalomon@google.com
f7b5c1ebfd
Add getContext to GrResouce
...
http://codereview.appspot.com/5373106/
git-svn-id: http://skia.googlecode.com/svn/trunk@2688 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-15 19:42:07 +00:00
bsalomon@google.com
9962108c40
Remove allocated size vs content size in textures
...
Review URL: http://codereview.appspot.com/5373100/
git-svn-id: http://skia.googlecode.com/svn/trunk@2687 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-15 16:47:16 +00:00
reed@google.com
cc58651183
add bench for shader+blitMask
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2685 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-15 15:29:45 +00:00
reed@google.com
e901b4ccdb
rename/refactor in preparation for supporting accelerated blits of shader-output
...
through a mask.
git-svn-id: http://skia.googlecode.com/svn/trunk@2684 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 21:56:45 +00:00
caryclark@google.com
ec6d2183bd
suppress warnings on clang
...
http://codereview.appspot.com/5372101
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2683 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 21:48:46 +00:00
bsalomon@google.com
f64b1a27f7
Remove GL functions only used in fixed pipe
...
Review URL: http://codereview.appspot.com/5374084/
git-svn-id: http://skia.googlecode.com/svn/trunk@2681 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 20:17:05 +00:00
bsalomon@google.com
4c5de58552
supportsES() -> supportsES2() in asserts
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2680 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 19:35:08 +00:00
reed@google.com
3563c9ee52
fix autobounds dude to call a custom version of rect.join that doesn't ignore
...
empty rects (since path.bounds must be the bounds of its control-pts, including
empty subcontours)
git-svn-id: http://skia.googlecode.com/svn/trunk@2679 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 19:34:57 +00:00
bsalomon@google.com
1dcf506a1a
Remove GrGpuGLFixed subclass and ES1 support
...
Review URL: http://codereview.appspot.com/5376094/
git-svn-id: http://skia.googlecode.com/svn/trunk@2678 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 19:29:53 +00:00
reed@google.com
ffdb018dae
add test for bounds (disabled as it fails)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2677 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 19:29:14 +00:00
reed@google.com
eac52bdb6c
improve validate to check for empty rects, since contains always returns false
...
if either rect is empty.
git-svn-id: http://skia.googlecode.com/svn/trunk@2676 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 18:13:59 +00:00
tomhudson@google.com
410e9dc9aa
New SkMutex benchmark - used when we suspected mutex performance issues;
...
committed not because they're a bottleneck now but because we might do
something with them in the future & it's quite lightweight.
git-svn-id: http://skia.googlecode.com/svn/trunk@2675 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 17:30:08 +00:00
caryclark@google.com
f1511f2e69
check for null on Lion
...
http://codereview.appspot.com/5369107/
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2674 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 13:46:33 +00:00
reed@google.com
761661580e
add test for bad scanconversion (disabled)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2673 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 13:14:58 +00:00
reed@google.com
b42403bdb9
reorder template functions so it compiles in Lion
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2672 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 13:12:47 +00:00
reed@google.com
ed7f040853
rebaseline for gpu changes
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2671 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-14 13:10:33 +00:00
reed@google.com
f03bb566e2
land http://codereview.appspot.com/5244058/ - add matrix to SkView
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2670 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-11 21:42:12 +00:00
reed@google.com
83ab49556f
record doAA param for clipRect and clipPath in pictures
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2669 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-11 21:34:54 +00:00
bsalomon@google.com
74b98715a3
Do writepixels alpha-premul using gpu
...
Review URL: http://codereview.appspot.com/5373064/
git-svn-id: http://skia.googlecode.com/svn/trunk@2668 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-11 19:46:16 +00:00
vandebo@chromium.org
beb7fe1869
[PDF] Optimize W-array generation with respect to subsetted fonts and add test.
...
Testing framework originally from http://codereview.appspot.com/4916044
Review URL: http://codereview.appspot.com/5379041
git-svn-id: http://skia.googlecode.com/svn/trunk@2667 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-11 19:38:54 +00:00
bsalomon@google.com
ae0fb058dd
Add default param to SkDevice::writePixels b/c WK is relying on old signature. (Function will be made protected once WK calls the Canvas version)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2666 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 22:34:56 +00:00
bsalomon@google.com
0ba52fcf93
Filter out draws to non-PMA configs that won't blend correctly
...
Review URL: http://codereview.appspot.com/5376059/
git-svn-id: http://skia.googlecode.com/svn/trunk@2665 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 22:16:06 +00:00
bsalomon@google.com
c4ff22a296
Hold onto scratch texture until end of readRenderTargetPixels
...
Review URL: http://codereview.appspot.com/5369065/
git-svn-id: http://skia.googlecode.com/svn/trunk@2664 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 21:56:21 +00:00
bsalomon@google.com
bbce8b29bd
Turn off WritePixelsTest in fixed pt build (GPU device known not to work, no plan to fix)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2663 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 21:20:37 +00:00
bsalomon@google.com
d58a1cd00b
Add config8888 support to writePixels
...
Review URL: http://codereview.appspot.com/5374052/
git-svn-id: http://skia.googlecode.com/svn/trunk@2662 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 20:57:43 +00:00
reed@google.com
14debba629
add test gm for vertical text
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2661 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 20:06:01 +00:00
reed@google.com
44da42e92f
have paint's measure calls respect vertical
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2660 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 20:04:47 +00:00
caryclark@google.com
4e27d6e000
add vertical text support in mac port
...
http://codereview.appspot.com/5375053
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2659 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 19:38:32 +00:00
bsalomon@google.com
e7160bff74
Fix convert to bool warning in VS
...
http://codereview.appspot.com/5371051/
git-svn-id: http://skia.googlecode.com/svn/trunk@2658 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 15:28:16 +00:00
reed@google.com
830a23e39b
add vertical-text bit to paint (not supported yet)
...
check-point for using freetype on mac (not enabled yet)
git-svn-id: http://skia.googlecode.com/svn/trunk@2657 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 15:20:49 +00:00
bsalomon@google.com
a2092aab4b
Fix return value in read pixels unit test
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2656 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 15:10:24 +00:00
reed@google.com
b76b34e04f
add initial gyp to build freetype lib (problems with cflags not showing up in xcode)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2655 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 15:00:52 +00:00
bsalomon@google.com
7107fa789a
Add support for GL_EXT_unpack_subimage
...
Review URL: http://codereview.appspot.com/5359048/
git-svn-id: http://skia.googlecode.com/svn/trunk@2654 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 14:54:14 +00:00
bsalomon@google.com
3d3dfe011c
Fixes int to scalar warnings. This checkin changes the range of random matrix values in a benchmark but it is believed not to affect the runtime.
...
Review URL: http://codereview.appspot.com/5371045/
git-svn-id: http://skia.googlecode.com/svn/trunk@2653 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 13:50:19 +00:00
caryclark@google.com
caa91356a7
remove common fields from Offscreen utility class
...
http://codereview.appspot.com/5373046/
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2652 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-10 13:37:48 +00:00
tomhudson@google.com
f74ad8c91a
Removes warnings generated by gcc and clang.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2651 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-09 22:15:08 +00:00
caryclark@google.com
5a5c2ab3a8
change m to f
...
http://codereview.appspot.com/5376043/
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2650 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-09 21:00:43 +00:00
epoger@google.com
513fc01250
New baseline images for GPU blurs and shadows, to greenify bots after r2643.
...
BUG=391
TBR=senorblanco
Review URL: http://codereview.appspot.com/5370044
git-svn-id: http://skia.googlecode.com/svn/trunk@2649 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-09 18:27:09 +00:00