Commit Graph

5045 Commits

Author SHA1 Message Date
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
senorblanco@chromium.org
55ed83db1b Actually remove the GrMorphologyEffect.* files from svn, which I should've
done in my last patch.  Unreviewed.



git-svn-id: http://skia.googlecode.com/svn/trunk@5242 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 20:58:33 +00:00
senorblanco@chromium.org
84207c4278 Move the code for the GPU implementation of morphology effects from GrContext
and GrMorphologyEffect.* into SkMorphologyImageFilter.cpp.

Review URL:  https://codereview.appspot.com/6458065/



git-svn-id: http://skia.googlecode.com/svn/trunk@5241 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 20:51:19 +00:00
senorblanco@chromium.org
ab2246fa08 Another speculative Android build fix (unreviewed).
git-svn-id: http://skia.googlecode.com/svn/trunk@5240 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 18:57:28 +00:00
bungeman@google.com
1fd201b9df SkRef for expressions.
https://codereview.appspot.com/6475045/


git-svn-id: http://skia.googlecode.com/svn/trunk@5238 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 18:56:56 +00:00
senorblanco@chromium.org
35c5ff0be8 Android build fix (unreviewed).
git-svn-id: http://skia.googlecode.com/svn/trunk@5236 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 18:34:16 +00:00
rmistry@google.com
b1faddffd8 The script does the following:
* Adds a newline to the end of files if it does not have one.
* Sets svn:eol-style to LF.
* Replaces CRLF with LF.
* Replaces Tabs with 4 whitespaces.
* Removes trailing whitespaces.

Created to fix http://code.google.com/p/skia/issues/detail?id=779 : New buildbot step that fixes and submits whitespace and newline source file fixes.
Review URL: https://codereview.appspot.com/6465078

git-svn-id: http://skia.googlecode.com/svn/trunk@5234 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 18:10:37 +00:00
robertphillips@google.com
4fa9c9f9b4 Fixed instance counting for templated classes
http://codereview.appspot.com/6478045/



git-svn-id: http://skia.googlecode.com/svn/trunk@5233 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 17:31:22 +00:00
senorblanco@chromium.org
cfe57e520e Fix for no-GPU build (unreviewed).
git-svn-id: http://skia.googlecode.com/svn/trunk@5232 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 16:29:42 +00:00
senorblanco@chromium.org
b2ee33c535 Implements the non-Porter-Duff compositing modes required for SVG's feBlend
element.  This filter has two inputs, since normal blending can't be used.  The
GPU side uses two filter stages to accomplish this:  one to sample the
background, and one to sample the foreground and blend it.

Review URL:  https://codereview.appspot.com/6463081/



git-svn-id: http://skia.googlecode.com/svn/trunk@5231 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 16:24:44 +00:00
scroggo@google.com
6a9368d411 SkBitmap::scrollRect changes pixels, but only if not immutable.
scrollRect will now return false if the bitmap is immutable, and
call notifyPixelsChanged when changing the pixels. This will give
the bitmap a new generation ID.

Review URL: https://codereview.appspot.com/6480046

git-svn-id: http://skia.googlecode.com/svn/trunk@5230 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 16:19:52 +00:00
scroggo@google.com
825bb95d6a Fix GPU-less build.
Review URL: https://codereview.appspot.com/6478046

git-svn-id: http://skia.googlecode.com/svn/trunk@5228 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 15:14:43 +00:00
scroggo@google.com
d5764e8ab7 When copying a bitmap, copy the generation ID.
Review URL: https://codereview.appspot.com/6462084

git-svn-id: http://skia.googlecode.com/svn/trunk@5227 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 15:00:05 +00:00
bsalomon@google.com
e8e7d5f275 Remove unnecessary flush from SkGpuDevice
Review URL: http://codereview.appspot.com/6476046/




git-svn-id: http://skia.googlecode.com/svn/trunk@5224 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 13:30:37 +00:00
bsalomon@google.com
cae9529cfb Revert 5213. WK r126226 has landed in Chromium and the workaround is no longer necessary.
git-svn-id: http://skia.googlecode.com/svn/trunk@5223 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 13:00:24 +00:00
bsalomon@google.com
fa1b5a6888 Delete failing images on galaxy nexus (Issue 790).
git-svn-id: http://skia.googlecode.com/svn/trunk@5222 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 12:56:29 +00:00
robertphillips@google.com
521eaf8cc7 Scratch textures are no longer removed from the cache in Debug
http://codereview.appspot.com/6465079/



git-svn-id: http://skia.googlecode.com/svn/trunk@5221 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 11:03:19 +00:00
robertphillips@google.com
5f9f2f574f Added resource cache debug output to help track changes
http://codereview.appspot.com/6463079/



git-svn-id: http://skia.googlecode.com/svn/trunk@5220 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-22 10:57:05 +00:00
bsalomon@google.com
936fb954db Delete more win7 intel flaky hairline position images.
git-svn-id: http://skia.googlecode.com/svn/trunk@5219 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-21 20:07:09 +00:00
bungeman@google.com
27123cd59f Force opaque in SkBlendLCD16Opaque_SSE2 to match SkBlendLCD16.
https://codereview.appspot.com/6460123/


git-svn-id: http://skia.googlecode.com/svn/trunk@5218 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-21 19:25:42 +00:00
djsollen@google.com
f3d3d968c8 Update bench_compare to do the comparison using different statistical methods
Review URL: https://codereview.appspot.com/6461110

git-svn-id: http://skia.googlecode.com/svn/trunk@5217 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-21 19:10:05 +00:00
keyar@chromium.org
9299eded38 Images are written by PictureRenderer and not render_pictures_main.
Review URL: https://codereview.appspot.com/6448174

git-svn-id: http://skia.googlecode.com/svn/trunk@5216 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-21 19:05:08 +00:00
keyar@chromium.org
db9a5fb55f Benchmark results will now print to STDOUT if on not-Android.
Review URL: https://codereview.appspot.com/6446164

git-svn-id: http://skia.googlecode.com/svn/trunk@5215 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-21 17:57:59 +00:00
bsalomon@google.com
5b5919862f Flush in ~SkGpuDevice to unblock Skia roll
Review URL: http://codereview.appspot.com/6453160/


git-svn-id: http://skia.googlecode.com/svn/trunk@5213 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-21 15:41:28 +00:00
djsollen@google.com
a2efab28ca Add check for EDSP to the 565 opaque blitter.
Review URL: https://codereview.appspot.com/6464082

git-svn-id: http://skia.googlecode.com/svn/trunk@5212 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-21 15:27:29 +00:00
djsollen@google.com
db39996d46 Upstream ARM 565 optimizations from AOSP.
Review URL: https://codereview.appspot.com/6461101

git-svn-id: http://skia.googlecode.com/svn/trunk@5211 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-21 15:16:56 +00:00
robertphillips@google.com
a9590fc00c Fixed compilation issue when instance counting is disabled
http://codereview.appspot.com/6462089/



git-svn-id: http://skia.googlecode.com/svn/trunk@5210 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-21 15:16:41 +00:00
caryclark@google.com
03f970652e shape ops work in progress
working demo of old vs. new

git-svn-id: http://skia.googlecode.com/svn/trunk@5209 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-21 13:13:52 +00:00
borenet@google.com
dd391b537e Whitespace change to trigger rebuild after master restart
Windows 64-bit build is now enabled - should fail due to
lack of VS2010 Pro.

git-svn-id: http://skia.googlecode.com/svn/trunk@5207 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-20 22:58:18 +00:00
keyar@chromium.org
da652c2ad5 Removed the TileInfo struct used in TiledPictureRenderer.
Review URL: https://codereview.appspot.com/6443153

git-svn-id: http://skia.googlecode.com/svn/trunk@5206 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-20 22:04:07 +00:00