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
bsalomon@google.com
0439e56996
revert 3144
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3145 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-07 15:57:36 +00:00
bsalomon@google.com
aa67735579
Allow chrome to limit the number of FBO status checks
...
Review URL: https://codereview.appspot.com/5635052
git-svn-id: http://skia.googlecode.com/svn/trunk@3144 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-07 15:44:39 +00:00
reed@google.com
0a9cc44a40
use macro SkFixedRoundToInt where necessary
...
http://codereview.appspot.com/5617047/
git-svn-id: http://skia.googlecode.com/svn/trunk@3142 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-06 19:05:51 +00:00
caryclark@google.com
c682590538
save work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3141 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-03 22:07:47 +00:00
junov@chromium.org
2c23708e44
Removing some dead code in SkDeferredCanvas
...
REVIEW=http://codereview.appspot.com/5620062/
git-svn-id: http://skia.googlecode.com/svn/trunk@3140 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-03 18:32:38 +00:00
epoger@google.com
db12fee829
Improve default behavior of compare-baselines script.
...
Now it can typically be called without any command-line arguments.
Review URL: https://codereview.appspot.com/5615057
git-svn-id: http://skia.googlecode.com/svn/trunk@3139 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-03 14:32:34 +00:00
epoger@google.com
25d961cf98
Make skdiff always generate white diffs alongside actual pixel diffs
...
(and some associated improvement to the output)
Review URL: https://codereview.appspot.com/5616059
git-svn-id: http://skia.googlecode.com/svn/trunk@3138 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 20:50:36 +00:00
epoger@google.com
5468c9006e
Disable optimization of certain bit-shift operations on Visual Studio 2010 only
...
to address http://code.google.com/p/skia/issues/detail?id=472
Review URL: https://codereview.appspot.com/5607058
git-svn-id: http://skia.googlecode.com/svn/trunk@3137 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 20:41:45 +00:00
reed@google.com
b02af6edf3
add baselines for macpro
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3136 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 19:53:13 +00:00
reed@google.com
c98a0aadc4
rearrange functions to group clamp, repeat, mirror helpers together.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3135 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 19:33:08 +00:00
reed@google.com
177f65cb89
add baselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3134 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 19:25:03 +00:00
reed@google.com
def88cc17d
add baselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3133 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 19:23:35 +00:00
reed@google.com
0f21efad5f
rebaseline following rev. 3126 "dithering 32bit radial gradients"
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3132 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 19:20:41 +00:00
bungeman@google.com
f8d1aee252
Open type table definitions.
...
http://codereview.appspot.com/5577064/
git-svn-id: http://skia.googlecode.com/svn/trunk@3131 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 19:15:21 +00:00
epoger@google.com
afd87fe108
Delete download-baselines-old script, we don't need it anymore.
...
Review URL: https://codereview.appspot.com/5615047
git-svn-id: http://skia.googlecode.com/svn/trunk@3130 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 18:39:40 +00:00
tomhudson@google.com
c3976ec476
Update new baselines for dithered radial gradients (r3126)
...
after visual review.
git-svn-id: http://skia.googlecode.com/svn/trunk@3129 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 17:38:01 +00:00
epoger@google.com
fc241ee752
Create compare-baselines tool to compare locally generated and checked-in GMs.
...
Review URL: https://codereview.appspot.com/5616056
git-svn-id: http://skia.googlecode.com/svn/trunk@3128 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 16:49:49 +00:00
bsalomon@google.com
f3bf18b255
Don't change convexity status of a path after a moveTo
...
Review URL: http://codereview.appspot.com/5581048/
git-svn-id: http://skia.googlecode.com/svn/trunk@3127 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 15:00:19 +00:00
tomhudson@google.com
480e21f239
Add dithering to 32b radial gradients. Behind the same #ifdef as dithered
...
32b linear gradients so that we don't impact clients unexpectedly.
This commit *will* break GM.
http://codereview.appspot.com/5599050/
git-svn-id: http://skia.googlecode.com/svn/trunk@3126 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-02-02 14:11:18 +00:00
bsalomon@google.com
dc3c78076e
[GPU]: Handle degenerate quads when computing UV matrix from control points
...
Review URL: http://codereview.appspot.com/5602045/
git-svn-id: http://skia.googlecode.com/svn/trunk@3125 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 20:46:32 +00:00
bsalomon@google.com
fb6f0f6f18
When adding a convex shape to a path, mark path as convex if path is initially degenerate.
...
Review URL: http://codereview.appspot.com/5504073/
git-svn-id: http://skia.googlecode.com/svn/trunk@3124 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 18:44:34 +00:00
twiz@google.com
e24a07980e
Expose '--notexturecache' command line argument to gm.
...
Pass '--notexturecache' to gm to resize the Ganesh texture cache to 0. This stresses Ganesh's behaviour after a cache purge operation.
Review URL: https://codereview.appspot.com/5569079
git-svn-id: http://skia.googlecode.com/svn/trunk@3123 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 18:35:30 +00:00
epoger@google.com
8722d7c3e0
Roll out r3117 to alleviate http://code.google.com/p/skia/issues/detail?id=471 ('filltypespersp gm test fails with KERN_PROTECTION_FAILURE on Lion')
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3122 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 17:18:58 +00:00
reed@google.com
d414666d18
add additional tests for path direction with multiple pts on y-max
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3121 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 15:42:29 +00:00
reed@google.com
3a314c3ca2
rebaseline after new convexpath code in gpu
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3120 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 15:40:32 +00:00
reed@google.com
3e44e4d1be
fall through to cross-product if the y-max-baseline returns a degenerate line
...
(i.e. maxIndex == minIndex)
git-svn-id: http://skia.googlecode.com/svn/trunk@3119 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 15:25:22 +00:00
bsalomon@google.com
9732f62eae
Fix degenerate test in convex path renderer
...
Review URL: http://codereview.appspot.com/5581058/
git-svn-id: http://skia.googlecode.com/svn/trunk@3118 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 15:19:21 +00:00
digit@google.com
c943bd5984
Remove one static initializer in src/gpu/GrGpu.cpp
...
Review URL: https://codereview.appspot.com/5504073
git-svn-id: http://skia.googlecode.com/svn/trunk@3117 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 15:16:10 +00:00
reed@google.com
c1ea60a9ea
handle multiple points all at the y-max when computing direction
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3116 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 15:15:36 +00:00
epoger@google.com
0928c4acc9
Make SkImageEncoder_CG report more failures to its caller.
...
Review URL: https://codereview.appspot.com/5580052
git-svn-id: http://skia.googlecode.com/svn/trunk@3115 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 15:14:08 +00:00
reed@google.com
bb0948fce2
increase height to include entire circle for large radial
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3114 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-01-31 14:44:13 +00:00