bsalomon@google.com
31648eb1cf
Fix warnings
...
Review URL: http://codereview.appspot.com/5433054/
git-svn-id: http://skia.googlecode.com/svn/trunk@2741 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 15:01:08 +00:00
caryclark@google.com
4ee8aea2a7
fix mac warnings
...
http://codereview.appspot.com/5431053/
M include/views/SkOSWindow_Mac.h
M src/utils/mac/SkNSView.mm
M src/utils/mac/SkNSView.h
M src/utils/mac/SkOSWindow_Mac.mm
M src/utils/mac/SkSampleNSView.h
git-svn-id: http://skia.googlecode.com/svn/trunk@2740 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 14:54:19 +00:00
mike@reedtribe.org
95b85bd1ba
add test that aaclip.setRegion creates the same mask as the region
...
... in prep for optimizatin work on setRegion.
git-svn-id: http://skia.googlecode.com/svn/trunk@2739 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 03:12:58 +00:00
mike@reedtribe.org
259210c376
add SK_OVERRIDE
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2738 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-23 02:08:50 +00:00
reed@google.com
f50ff5c240
needs to be rebaselined
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2737 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 20:59:40 +00:00
reed@google.com
819141cd32
delete since it needs to be rebaselined
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2736 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 20:56:41 +00:00
reed@google.com
484561ffde
improve accuracy for luminance coefficients
...
rebaseline image in response to that.
git-svn-id: http://skia.googlecode.com/svn/trunk@2735 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 20:49:22 +00:00
reed@google.com
2b49cc8422
remove obsolete assert
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2734 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 20:08:28 +00:00
bsalomon@google.com
1571792450
[GPU] Allow kMulRGBByAlpha_InConfigFlag and kSwapRAndB_InConfigFlag to both be set
...
Review URL: http://codereview.appspot.com/5433049/
git-svn-id: http://skia.googlecode.com/svn/trunk@2733 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 19:57:18 +00:00
reed@google.com
ffe49f5380
store 3 bits of luminance, but (for now) discretize that in fonthost::filterec
...
for backward compatibility
git-svn-id: http://skia.googlecode.com/svn/trunk@2732 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 19:42:41 +00:00
tomhudson@google.com
8caac6447d
Add fractional-radius blurs to blur benchmark.
...
Specialize loops in apply_kernel and apply_kernel_interp,
improving blur benchmark performance by 25%.
git-svn-id: http://skia.googlecode.com/svn/trunk@2731 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 15:58:06 +00:00
reed@google.com
1f6b4ae0f7
remove GetGammaFlag from SkFontHost
...
prep for retooling of gamma support
git-svn-id: http://skia.googlecode.com/svn/trunk@2730 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-22 14:20:55 +00:00
bsalomon@google.com
897e66cb0b
Add windowscodecs.lib to images.gyp
...
Review URL: http://codereview.appspot.com/5422046/
git-svn-id: http://skia.googlecode.com/svn/trunk@2728 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 21:04:06 +00:00
caryclark@google.com
54c782c968
add SetFlags for command line control
...
http://codereview.appspot.com/5416047/
M include/core/SkGraphics.h
M src/core/SkGraphics.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2727 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 20:42:14 +00:00
reed@google.com
f788feb3f1
use a define for the shift amount for the hinting bits
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2726 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 19:46:00 +00:00
reed@google.com
b6bb5cb7c2
reorder bits and remove obsolete kForceAA experimental bit
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2725 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 19:32:29 +00:00
reed@google.com
8426058dee
ensure we never change the text_encoding of the master paint, since it is used
...
to interpret the text/length parameters in draw[Pos]Text.
git-svn-id: http://skia.googlecode.com/svn/trunk@2724 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 16:42:10 +00:00
bsalomon@google.com
8ef3fd0ca6
Add support for GL_CHROMIUM_flipy
...
Review URL: http://codereview.appspot.com/5413051/
git-svn-id: http://skia.googlecode.com/svn/trunk@2723 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-11-21 15:53:13 +00:00
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