reed@google.com
3d60812865
don't quickReject bitmaps if there is a looper or other possible bounds-modifier
...
add unittest for the above change
git-svn-id: http://skia.googlecode.com/svn/trunk@2722 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 15:16:16 +00:00
reed@google.com
bdc9988bf2
only call FT_Get_Advance if we really want linear metrics
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2721 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 14:36:57 +00:00
bsalomon@google.com
bc4b654af8
assert that resources used with ctx are owned by the ctx
...
Review URL: http://codereview.appspot.com/5398042/
git-svn-id: http://skia.googlecode.com/svn/trunk@2720 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-19 13:56:11 +00:00
bsalomon@google.com
a85449dac1
Resubmit 2717 w/ fix workaround OS X GL bug.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2719 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-19 02:36:05 +00:00
bsalomon@google.com
484be2bafd
Revert 2717
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2718 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-18 21:07:03 +00:00
bsalomon@google.com
5c56e3441c
Recommit r2714 with clip fix
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2717 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-18 19:57:50 +00:00
reed@google.com
22048623de
use older, slightly slower, blend math, to retain (mostly) the previous results
...
to minimize rebaselining.
git-svn-id: http://skia.googlecode.com/svn/trunk@2716 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-18 18:36:07 +00:00
bsalomon@google.com
e1d3127ed4
Revert 2714 for debugging of test failure
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2715 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-18 18:23:59 +00:00
bsalomon@google.com
598a1ff72a
Write direct to RT/Tex when possible, use BGRA rather than RGBA intermediate texture on ANGLE
...
Review URL: http://codereview.appspot.com/5417046/
git-svn-id: http://skia.googlecode.com/svn/trunk@2714 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-18 18:15:42 +00:00
reed@google.com
9998c66930
remove all references to SkGlobals (obsolete)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2713 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-17 22:09:47 +00:00
reed@google.com
5d248bce64
remove use of SkGlobals
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2712 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-17 21:49:02 +00:00
reed@google.com
d54c85731e
remove obsolete SK_USE_RUNTIME_GLOBALS
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2711 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-17 21:35:41 +00:00
reed@google.com
0069aa5708
add commented line to try to add additional warnings
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2706 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-17 15:35:47 +00:00
mike@reedtribe.org
be2aa2aa1f
use AsMode instead of deprecated IsMode
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2705 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-17 02:32:04 +00:00
mike@reedtribe.org
3565f0fd25
add test for IsMode
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2704 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-17 02:27:26 +00:00
mike@reedtribe.org
e303fcf68d
add SkXfermode::IsMode() and use that in SkDevice
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2703 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-17 02:16:43 +00:00
reed@google.com
b03db4a366
fix signed/unsigned warning (use size_t in conjunction with SK_ARRAY_COUNT)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2702 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-16 21:36:27 +00:00
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