caryclark@google.com
6008c656f9
work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3204 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-15 22:01:16 +00:00
bsalomon@google.com
ca13d39f5e
Revert 3191
...
Review URL: http://codereview.appspot.com/5656068/
git-svn-id: http://skia.googlecode.com/svn/trunk@3203 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-15 21:16:03 +00:00
djsollen@google.com
4dc686d753
Fix regression where we disable fonts with no specified name
...
Review URL: https://codereview.appspot.com/5675061
git-svn-id: http://skia.googlecode.com/svn/trunk@3202 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-15 21:03:45 +00:00
reed@google.com
48b481bc22
fix SkFixed build (I hope)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3201 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-15 19:09:54 +00:00
bsalomon@google.com
20e542e00e
Fix a case missed in r3198 where left/right direction of setOrthog matters (matrix computed from a degenerate quad).
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3200 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-15 18:49:41 +00:00
djsollen@google.com
60abb078e5
Merge changes from the android repo upstream to Skia
...
Review URL: https://codereview.appspot.com/5545070
git-svn-id: http://skia.googlecode.com/svn/trunk@3199 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-15 18:49:15 +00:00
bsalomon@google.com
278dc6929b
Use cheapComputeDirection to determine normal facing in GrAAConvexPathRenderer
...
Review URL: http://codereview.appspot.com/5649083/
git-svn-id: http://skia.googlecode.com/svn/trunk@3198 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-15 16:52:51 +00:00
reed@google.com
dd43df99b1
suport A8 grayscale text with COLOR_LUMINANCE build option
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3197 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-15 14:50:29 +00:00
bsalomon@google.com
178964b6f6
Misc small fixes to unblock skia roll.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3196 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-15 14:10:42 +00:00
epoger@google.com
2109923520
hack to enable SSSE3 on Macs
...
Review URL: https://codereview.appspot.com/5649091
git-svn-id: http://skia.googlecode.com/svn/trunk@3195 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 19:49:19 +00:00
tomhudson@google.com
4ef14f8e83
Attempt to make Windows and Mac compilers happy after breakage in r3193.
...
Verified that changes in parameter signatures
git-svn-id: http://skia.googlecode.com/svn/trunk@3194 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 19:42:39 +00:00
tomhudson@google.com
95ad155263
Add SSSE3 acceleration for S32_{opaque,alpha}_D32_filter_DX; should yield
...
25% speedup on 64b architectures, something smaller but still valuable on
32b.
Adds new files, breaking client gyps.
http://codereview.appspot.com/5515044/
git-svn-id: http://skia.googlecode.com/svn/trunk@3193 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 18:28:54 +00:00
bsalomon@google.com
b35f18f49f
Fix compile errors.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3192 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 17:26:04 +00:00
bsalomon@google.com
621dfe6c84
Add test to detect bias in conversion of frag shader floats to bytes
...
Review URL: http://codereview.appspot.com/5669045/
git-svn-id: http://skia.googlecode.com/svn/trunk@3191 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 17:03:16 +00:00
reed@google.com
ed3ee6418a
add test for colored text drawing (hopefully gamma corrected)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3190 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 16:12:49 +00:00
tomhudson@google.com
d6770e69e0
SSE2 version of blit_lcd16, courtesy of Jin Yang.
...
Yields 25-30% speedup on Windows (32b), 4-7% on Linux (64b, less register
pressure), not invoked on Mac (lcd text is 32b instead of 16b).
Followup: GDI system settings on Windows can suppress LCD text for small
fonts, interfering with our benchmarks.
(http://code.google.com/p/skia/issues/detail?id=483 )
http://codereview.appspot.com/5617058/
git-svn-id: http://skia.googlecode.com/svn/trunk@3189 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 16:01:15 +00:00
tomhudson@google.com
02f90e8ac1
Fix include paths in non-standard targets.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3187 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 15:43:01 +00:00
tomhudson@google.com
6c8c34e65f
Update cross-platform #include paths to new include/gpu/gl directory
...
(aka cowboy fix 3185).
git-svn-id: http://skia.googlecode.com/svn/trunk@3186 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 15:31:03 +00:00
tomhudson@google.com
6bf38b59c9
Move GL-specific include files to their own subdirectory, to better
...
coexist alongside D3D backend.
Requires gyp change.
http://codereview.appspot.com/5665045/
git-svn-id: http://skia.googlecode.com/svn/trunk@3185 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 15:11:59 +00:00
epoger@google.com
7bc13a6260
Set LCD font smoothing to "medium" for gm on Mac, regardless of system settings
...
http://code.google.com/p/skia/issues/detail?id=382 ('make gm results consistent regardless of system LCDtext settings')
Review URL: https://codereview.appspot.com/5661043
git-svn-id: http://skia.googlecode.com/svn/trunk@3184 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 14:53:59 +00:00
bsalomon@google.com
f7fa806d84
Make GLCaps be standalone and be a member of GrGLContextInfo
...
Review URL: http://codereview.appspot.com/5654084/
git-svn-id: http://skia.googlecode.com/svn/trunk@3183 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-14 14:09:57 +00:00
junov@chromium.org
b1e218e782
Adding missing SkIntToScalar to resolve DeferredCanvas unit test failures with fixed-point build
...
TBR=reed
TEST=DeferredCanvas unit test
git-svn-id: http://skia.googlecode.com/svn/trunk@3182 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-13 22:27:58 +00:00
junov@chromium.org
8f9ecbd346
Adding API and unit testing for deferred canvas clearing/purging
...
REVIEW=http://codereview.appspot.com/5646057/
TEST=DeferredCanvas unit test
git-svn-id: http://skia.googlecode.com/svn/trunk@3181 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-13 21:53:45 +00:00
reed@google.com
813d38b7a0
if SK_USE_COLOR_LUMINANCE is defined, then we store 2 bits of each component
...
to create a per-component-luminance value for the fonthost to use. Only supported
on Mac at the moment (but still disabled by default)
git-svn-id: http://skia.googlecode.com/svn/trunk@3180 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-13 21:37:57 +00:00
djsollen@google.com
d6e2c7cf08
Prevent the memset16 ARM opt from failing when count is 0.
...
Review URL: http://codereview.appspot.com/5639051
git-svn-id: http://skia.googlecode.com/svn/trunk@3173 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-13 15:46:26 +00:00
bsalomon@google.com
632151bc91
Add path effect GM
...
Review URL: http://codereview.appspot.com/5649069/
git-svn-id: http://skia.googlecode.com/svn/trunk@3172 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-13 15:18:34 +00:00
bsalomon@google.com
8b58c4d297
path effect on a very thin line should not be discarded
...
Review URL: http://codereview.appspot.com/5649069/
git-svn-id: http://skia.googlecode.com/svn/trunk@3171 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-13 14:49:09 +00:00
bsalomon@google.com
96399948dc
Use GrGLContextInfo in shader generator
...
Review URL: http://codereview.appspot.com/5645083/
git-svn-id: http://skia.googlecode.com/svn/trunk@3170 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-13 14:39:16 +00:00
thakis@chromium.org
2857a784f7
Remove extra SK_API
...
(It's already on the class, not needed on the method too.)
Review URL: http://codereview.appspot.com/5649057/
Patch from Dominic Mazzoni <dmazzoni@chromium.org>!
git-svn-id: http://skia.googlecode.com/svn/trunk@3169 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-10 22:49:31 +00:00
reed@google.com
ce6dbb6b4c
enable color-luminance in font cache (disabled by default)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3168 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-10 22:01:45 +00:00
bsalomon@google.com
4ebf2b4fd2
Add copyright and #ifndef / #define
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3167 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-10 21:35:35 +00:00
tomhudson@google.com
4072556641
Add two files missed in r3165; most critically the gyp!
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3166 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-10 21:35:06 +00:00
tomhudson@google.com
dd182cbca6
Move GL-specific source code to make room for D3D back end.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3165 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-10 21:01:00 +00:00
epoger@google.com
5eb7b8cf34
Fix CFBundleIdentifier of SampleApp
...
This allows SampleApp to pick up the following setting to force on LCD font smoothing:
defaults write com.googlecode.skia.SampleApp AppleFontSmoothing -int 2
See http://code.google.com/p/skia/issues/detail?id=382 ('make gm results consistent regardless of system LCDtext settings')
git-svn-id: http://skia.googlecode.com/svn/trunk@3164 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-10 20:38:14 +00:00
bsalomon@google.com
b447d21577
Fix dumb error of starting loop with 0 instead of 1 that uses shift to increment.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3163 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-10 20:25:36 +00:00
bsalomon@google.com
89ec61e33d
Add GrGLContextInfo
...
Review URL: http://codereview.appspot.com/5653060/
git-svn-id: http://skia.googlecode.com/svn/trunk@3162 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-10 20:05:18 +00:00
bsalomon@google.com
e55fd0f188
Pull GLSL helpers out of GrGLProgram.cpp
...
Review URL: http://codereview.appspot.com/5652047/
git-svn-id: http://skia.googlecode.com/svn/trunk@3161 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-10 15:56:06 +00:00
thakis@chromium.org
368b419200
Mark SkColorFilter and SkCreateCGImageRefWithColorspace as SK_API.
...
Required for the chromium/mac components build.
BUG=chromium:90078
Review URL: https://codereview.appspot.com/5642073/
git-svn-id: http://skia.googlecode.com/svn/trunk@3160 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-09 22:09:41 +00:00
caryclark@google.com
f8b000d7ae
work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3159 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-09 22:04:27 +00:00
senorblanco@chromium.org
dfad3832cb
Add SK_API to SkPixelRef and TextureCacheEntry.
...
Review URL: http://codereview.appspot.com/5649044/
git-svn-id: http://skia.googlecode.com/svn/trunk@3158 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-09 16:07:08 +00:00
bsalomon@google.com
6e85937606
Make SkGLContext's FBO creation more robust (allows test apps to run on Intel GPUs)
...
Review URL: http://codereview.appspot.com/5647059/
git-svn-id: http://skia.googlecode.com/svn/trunk@3157 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-09 15:25:13 +00:00
bsalomon@google.com
b9f026fb21
Turn on read pixels test for raster backend
...
Review URL: http://codereview.appspot.com/5643070/
git-svn-id: http://skia.googlecode.com/svn/trunk@3156 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-09 13:53:48 +00:00
senorblanco@chromium.org
297676545d
Export the texture pixelref classes via SK_API. This is necessary to reference
...
them from another DLL in the windows shared build.
Review URL: http://codereview.appspot.com/5646056/
git-svn-id: http://skia.googlecode.com/svn/trunk@3155 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-08 20:27:16 +00:00
vandebo@chromium.org
f724c4df1c
Add SK_API to SkTableColorFilter
...
Patch from dmazzoni@chromium.org original CL: http://codereview.appspot.com/5645055/
Review URL: https://codereview.appspot.com/5642060
git-svn-id: http://skia.googlecode.com/svn/trunk@3153 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-08 17:01:54 +00:00
caryclark@google.com
6680fb1dc0
work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3151 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-07 22:10:51 +00:00
bungeman@google.com
8ec9956bdf
Add more TT table definitions and create fake enum typedef.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3150 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-07 21:30:21 +00:00
reed@google.com
e7a0a16599
store luminance in a new field
...
Review URL: https://codereview.appspot.com/5644047
git-svn-id: http://skia.googlecode.com/svn/trunk@3149 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-07 21:25:33 +00:00
bungeman@google.com
af5bbf2449
Move SkBase64 to utils, allow user defined encoding.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3148 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-07 20:47:38 +00:00
junov@chromium.org
1f9767c03b
Fixing backing store access in SkDeferredCanvas.
...
Chromium CL required for rolling skia DEPS past this change is posted here: https://chromiumcodereview.appspot.com/9341003/
BUG=http://code.google.com/p/skia/issues/detail?id=475
REVIEW=http://codereview.appspot.com/5626047/
TEST=DeferredCanvas unit test
git-svn-id: http://skia.googlecode.com/svn/trunk@3147 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-07 16:27:57 +00:00
bsalomon@google.com
4bcb0c6e03
Reland 3144 with assertion fix.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3146 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-07 16:06:47 +00:00