bungeman@google.com
1bfe01d06b
When creating gray from lcd, use luminance instead of coverage.
...
https://codereview.appspot.com/6496048/
git-svn-id: http://skia.googlecode.com/svn/trunk@5318 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 16:02:42 +00:00
reed@google.com
9c72827f90
disable pipe for now
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5317 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 15:54:54 +00:00
digit@google.com
536079b209
Fix Clang build on Android.
...
The optimize attribute is not supported with Clang/ARM r161757.
This warning, turned into an error, is emitted by -Wattribute (implicitly set).
Review URL: https://codereview.appspot.com/6489045
git-svn-id: http://skia.googlecode.com/svn/trunk@5316 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 15:22:37 +00:00
borenet@google.com
0dd5ceb6d6
Fix ANGLE build
...
Review URL: https://codereview.appspot.com/6498045
git-svn-id: http://skia.googlecode.com/svn/trunk@5315 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 15:15:49 +00:00
bsalomon@google.com
8090e651fc
Make the SkGrPixelRef be responsible for unlocking device's scratch texture in the cache
...
Review URL: https://codereview.appspot.com/6498046/
git-svn-id: http://skia.googlecode.com/svn/trunk@5313 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 15:07:11 +00:00
rileya@google.com
5ee3f67ce3
Added an overload of SkTQSort that sorts an array of values, rather than an array of pointers.
...
Also added some parentheses to all the QSort variants to get rid of a gcc warning.
Review URL: https://codereview.appspot.com/6492044
git-svn-id: http://skia.googlecode.com/svn/trunk@5311 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 14:40:49 +00:00
bsalomon@google.com
d0f3f6825b
Fix dumb bug: redundant runs of upm<->pm roundtrip test
...
Review URL: https://codereview.appspot.com/6498043/
git-svn-id: http://skia.googlecode.com/svn/trunk@5310 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 13:08:14 +00:00
reed@google.com
7edfb4939e
need to declare INHERITED for the instcount macros
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5309 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 12:48:35 +00:00
reed@google.com
fd875e8014
re-enable inst counting
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5308 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 12:43:54 +00:00
bsalomon@google.com
a292112154
Remove SkGpuDevice::fTexture, use new pixel ref class name
...
Review URL: https://codereview.appspot.com/6474068/
git-svn-id: http://skia.googlecode.com/svn/trunk@5307 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 12:34:17 +00:00
reed@google.com
97af1a64ae
Add caching of the snapshot image form a surface
...
Notify the surface when the canvas draws into it, so it can invalidate the
cached image, and (if needed) perform a copy-on-write on the surface if it
was being shared with the image.
Review URL: https://codereview.appspot.com/6441115
git-svn-id: http://skia.googlecode.com/svn/trunk@5306 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 12:19:02 +00:00
robertphillips@google.com
91ee3a11ed
Added second "truncated" cpu/wall timer to bench
...
http://codereview.appspot.com/6476064/
This CL will increase the bench baselines across the board
git-svn-id: http://skia.googlecode.com/svn/trunk@5305 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 12:18:40 +00:00
robertphillips@google.com
2af1b188aa
Added default to switch to stop compiler failure in Chrome (unreviewed)
...
GrConfigConversionEffect.cpp:33:21: error: enumeration values 'kNone_PMConversion' and 'kPMConversionCnt' not handled in switch [-Werror,-Wswitch]
git-svn-id: http://skia.googlecode.com/svn/trunk@5304 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 11:23:09 +00:00
reed@google.com
99dc22df19
remove these (flakes)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5296 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-27 20:30:25 +00:00
reed@google.com
fda2caab5b
rebaseline after text-gamma change
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5295 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-27 20:23:57 +00:00
reed@google.com
4a42643a0f
rebaseline after text-gamma change
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5294 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-27 20:19:43 +00:00
reed@google.com
eb5f7fec3d
rebaseline after text gamma change
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5293 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-27 20:10:48 +00:00
george@mozilla.com
cb39ee645a
Add a new SkMemory implementation that uses mozalloc instead of malloc
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5292 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-27 19:56:43 +00:00
borenet@google.com
405ebbcade
Script to help cycle skia-autogen
...
Review URL: https://codereview.appspot.com/6481066
git-svn-id: http://skia.googlecode.com/svn/trunk@5291 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-27 19:37:48 +00:00
george@mozilla.com
7c207e7435
Explicitly cast to uin16_t to avoid an invalid implicit type narrowing.
...
This was causing a build failure on OS X for us:
SkOTTable_head.h:124:72: error: non-type template argument evaluates to -2, which cannot be narrowed to type 'uint16_t' (aka 'unsigned short') [-Wc++11-narrowing]
Review URL: https://codereview.appspot.com/6482067
git-svn-id: http://skia.googlecode.com/svn/trunk@5290 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-27 19:31:10 +00:00
robertphillips@google.com
e7e4425f4a
Added cros_daisy to build bots list
...
https://codereview.appspot.com/6481069/
git-svn-id: http://skia.googlecode.com/svn/trunk@5289 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-27 17:57:58 +00:00
caryclark@google.com
9e49fb63d3
shape ops work in progress
...
add copyrights everywhere
start working on quadratic line segments (for quad intersection)
git-svn-id: http://skia.googlecode.com/svn/trunk@5286 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-27 14:11:33 +00:00
borenet@google.com
98a9e1f958
Change comment in PointTest to refer to GCC bug
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5285 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-27 13:14:46 +00:00
bsalomon@google.com
a04e8e8424
Do premul and r/b swap conversions in a custom effect
...
Review URL: https://codereview.appspot.com/6473060/
git-svn-id: http://skia.googlecode.com/svn/trunk@5284 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-27 12:53:13 +00:00
bungeman@google.com
b7b5d93359
Fix PointTest.
...
https://codereview.appspot.com/6486062/
git-svn-id: http://skia.googlecode.com/svn/trunk@5283 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-24 19:53:58 +00:00
bungeman@google.com
6e59e498e5
Rebaseline for r5280.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5281 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-24 19:49:29 +00:00
bungeman@google.com
fd668cfffe
Fix greenish text rendering on Linux.
...
https://codereview.appspot.com/6484048/
git-svn-id: http://skia.googlecode.com/svn/trunk@5280 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-24 17:46:11 +00:00
rmistry@google.com
0032407e29
Created to fix http://code.google.com/p/skia/issues/detail?id=817 : UpdateDoxygen step does not fail when Doxygen step fails.
...
Review URL: https://codereview.appspot.com/6480060
git-svn-id: http://skia.googlecode.com/svn/trunk@5278 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-24 17:16:05 +00:00
caryclark@google.com
3350c3c68a
shape ops work in progress
...
this fixes quad/line intersection
git-svn-id: http://skia.googlecode.com/svn/trunk@5277 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-24 15:24:36 +00:00
keyar@chromium.org
e599ab74ac
Updated options for test_picturs.py to match new option in render_pictures.
...
Review URL: https://codereview.appspot.com/6481056
git-svn-id: http://skia.googlecode.com/svn/trunk@5275 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 21:51:11 +00:00
keyar@chromium.org
f4959ab118
Implemented power of two tiling.
...
Review URL: https://codereview.appspot.com/6485056
git-svn-id: http://skia.googlecode.com/svn/trunk@5274 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 20:53:25 +00:00
bsalomon@google.com
ac4b86cdcf
Make gpu.gypi show up in IDE projects
...
Review URL: http://codereview.appspot.com/6481053/
git-svn-id: http://skia.googlecode.com/svn/trunk@5270 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 19:18:29 +00:00
senorblanco@chromium.org
d912ca4199
Proper Android fix, and revert of workaround in r5267. Unreviewed.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5269 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 19:10:04 +00:00
senorblanco@chromium.org
42e1f0f573
Workaround for Android crash (unreviewed).
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5267 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 18:58:24 +00:00
rmistry@google.com
89467c610b
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/ )
...
This CL is part IV of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6475054
git-svn-id: http://skia.googlecode.com/svn/trunk@5265 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 18:22:09 +00:00
rmistry@google.com
ae933ce0ea
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/ )
...
This CL is part III of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6475053
git-svn-id: http://skia.googlecode.com/svn/trunk@5264 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 18:19:56 +00:00
rmistry@google.com
d6176b0dca
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/ )
...
This CL is part II of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6474054
git-svn-id: http://skia.googlecode.com/svn/trunk@5263 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 18:14:13 +00:00
rmistry@google.com
fbfcd56021
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/ )
...
This CL is part I of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6485054
git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 18:09:54 +00:00
robertphillips@google.com
2abed83478
Added -min option to bench
...
http://codereview.appspot.com/6478052/
git-svn-id: http://skia.googlecode.com/svn/trunk@5260 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 17:50:06 +00:00
senorblanco@chromium.org
1fb9525e50
warning fix (unreviewed).
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5258 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 16:29:26 +00:00
senorblanco@chromium.org
e52f209aec
Speculative Android GM blend fix (unreviewed).
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5257 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 16:27:48 +00:00
caryclark@google.com
c899ad9c7f
shape ops work in progress
...
add xor spot tests
rewrite path compare
work on quadratic, angle, tooCloseToCall code
git-svn-id: http://skia.googlecode.com/svn/trunk@5255 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 15:24:42 +00:00
keyar@chromium.org
ea82695325
Changed how tiles are copied to the master canvas.
...
This is in preparation for adding the powers of two mode.
Review URL: https://codereview.appspot.com/6464087
git-svn-id: http://skia.googlecode.com/svn/trunk@5254 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 15:24:13 +00:00
rmistry@google.com
3de7b21efa
Fix bug in tools/sanitize_source_files.py
...
Review URL: https://codereview.appspot.com/6474053
git-svn-id: http://skia.googlecode.com/svn/trunk@5253 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 14:46:18 +00:00
rileya@google.com
2afb8ec738
Change scratch texture cache behavior to only reuse scratch textures used as render targets if they will be reused as render targets.
...
The original behavior could sometimes confuse the driver; textures would alternate between being used as render targets and having data uploaded into them.
Review URL: https://codereview.appspot.com/6480049
git-svn-id: http://skia.googlecode.com/svn/trunk@5252 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 14:08:57 +00:00
bsalomon@google.com
39ac1aec0e
#if SK_DEBUG -> #ifdef SK_DEBUG in SkTDLinkedList.h (to fix chrome android trybot errors)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5251 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 13:24:31 +00:00
bsalomon@google.com
2080635ce0
Add gpu.gypi to ease skia->chrome rolls
...
http://codereview.appspot.com/6486043/
git-svn-id: http://skia.googlecode.com/svn/trunk@5250 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 12:55:01 +00:00
robertphillips@google.com
a5c43a5a71
Fixed compiler error in r5247 (unreviewed)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5248 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 11:24:02 +00:00
robertphillips@google.com
2ea0a231a8
Refactored GrDLinkedList into SkTDLinkedList
...
http://codereview.appspot.com/6484045/
git-svn-id: http://skia.googlecode.com/svn/trunk@5247 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 11:13:48 +00:00
george@mozilla.com
c59b5dac90
Split out SkFontHost_FreeType into common files
...
Review URL: https://codereview.appspot.com/6442092
git-svn-id: http://skia.googlecode.com/svn/trunk@5246 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-23 00:39:08 +00:00