reed@google.com
5125d84433
add more cases to dashline: circle-vs-square, 0,1,2 stroke_width
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5397 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 20:19:35 +00:00
reed@google.com
31e9d64cb1
add bench for drawline + dashing
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5396 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 20:07:23 +00:00
borenet@google.com
623ff0a5f7
Add ANGLE to DEPS, integrate build
...
Review URL: https://codereview.appspot.com/6494052
git-svn-id: http://skia.googlecode.com/svn/trunk@5387 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 16:45:05 +00:00
tomhudson@google.com
b9e4c5d82b
Upstream Clank's SkFontHost_Android DRT infinite loop fix.
...
We may have to do future work to reconcile this with Android native; probably pending
Android OS adding a font manager API.
http://codereview.appspot.com/6497081/
git-svn-id: http://skia.googlecode.com/svn/trunk@5386 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 16:37:09 +00:00
tomhudson@google.com
26a4d352e5
Upstream clank: fix build on platforms (Clang/ARM) that don't support 'optimize'
...
http://codereview.appspot.com/6496082/
git-svn-id: http://skia.googlecode.com/svn/trunk@5385 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 16:25:27 +00:00
bsalomon@google.com
202a51b335
Add effects/core.gypi to 'sources' to make them appear in VS projects
...
Review URL: https://codereview.appspot.com/6493075/
git-svn-id: http://skia.googlecode.com/svn/trunk@5384 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 14:37:12 +00:00
borenet@google.com
2ebe890282
Fix compile error in SkFontHost_none.cpp
...
Review URL: https://codereview.appspot.com/6501083
git-svn-id: http://skia.googlecode.com/svn/trunk@5383 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 14:32:50 +00:00
bungeman@google.com
b24b4fa12b
Future proof luminance caches.
...
https://codereview.appspot.com/6495071/
git-svn-id: http://skia.googlecode.com/svn/trunk@5382 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 13:49:59 +00:00
robertphillips@google.com
6806bdaca8
Added bench to test multiple readPixels case
...
https://codereview.appspot.com/6501081/
git-svn-id: http://skia.googlecode.com/svn/trunk@5381 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 13:39:01 +00:00
robertphillips@google.com
6fc9518a55
Don't purge resources from cache if they have > 1 ref
...
https://codereview.appspot.com/6494069/
git-svn-id: http://skia.googlecode.com/svn/trunk@5380 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 13:36:31 +00:00
robertphillips@google.com
9474ed0617
Switch GrGpu's GrResource list over to using SkTDLinkedList
...
https://codereview.appspot.com/6500062/
git-svn-id: http://skia.googlecode.com/svn/trunk@5379 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 13:34:32 +00:00
robertphillips@google.com
b78765e63b
Reverting r5364 (Update ARM and NEON optimizations for S32A_Opaque_BlitRow32)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5378 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 12:48:01 +00:00
skia.committer@gmail.com
4f55d39a17
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5377 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-01 02:00:58 +00:00
caryclark@google.com
32546db149
shape ops work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5376 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-31 20:55:07 +00:00
reed@google.com
d7e2782203
truncate our llist w/ null during rewind.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5375 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-31 20:17:56 +00:00
scroggo@google.com
6bc8cf8f64
Fix windows build of tools.
...
Review URL: https://codereview.appspot.com/6494068
git-svn-id: http://skia.googlecode.com/svn/trunk@5374 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-31 18:34:09 +00:00
skia.committer@gmail.com
11f869277c
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5373 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-31 17:14:46 +00:00
scroggo@google.com
8e073ba2d6
Rename my DeferredPipeController to not conflict with the other.
...
Fixes build.
Review URL: https://codereview.appspot.com/6506055
git-svn-id: http://skia.googlecode.com/svn/trunk@5372 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-31 16:25:46 +00:00
scroggo@google.com
58b4ead36c
Perform multi core rendering in bench_pictures.
...
Add a flag in SkGPipeWriter for threadsafe drawing.
Add a deferred pipe controller to SamplePipeControllers, which can
be called to play back in multiple threads.
Depends on http://codereview.appspot.com/6459105/
Review URL: https://codereview.appspot.com/6482068
git-svn-id: http://skia.googlecode.com/svn/trunk@5371 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-31 16:15:22 +00:00
reed@google.com
b1d47e211c
add --dump-ops option to pinspect, which will invoke SkDumpCanvas on the picture(s)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5370 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-31 15:41:37 +00:00
reed@google.com
4258c2c9b8
add more details when dumping saveLayer
...
rework utilitiy toString() functions to always append, so they can be chained together
git-svn-id: http://skia.googlecode.com/svn/trunk@5369 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-31 15:41:10 +00:00
bungeman@google.com
94acfb5b9d
Serialization for DirectWrite
...
https://codereview.appspot.com/6494061/
git-svn-id: http://skia.googlecode.com/svn/trunk@5368 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-31 15:41:09 +00:00
reed@google.com
0a5c18ba79
(disabled) option to re-record a picture when loading
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5366 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-31 13:32:47 +00:00
robertphillips@google.com
5955202c80
Allow cache tracking to be enabled in release
...
https://codereview.appspot.com/6500057/
git-svn-id: http://skia.googlecode.com/svn/trunk@5365 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-31 13:07:37 +00:00
djsollen@google.com
dc1a3badc7
Update ARM and NEON optimizations for S32A_Opaque_BlitRow32.
...
These patches replace those written by ARM with ones provided by NVidia.
Review URL: https://codereview.appspot.com/6465075
git-svn-id: http://skia.googlecode.com/svn/trunk@5364 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-31 12:41:48 +00:00
jkleinert@google.com
ed01f12d13
Adding checkboxes to skdiff output so a user can select a subset of images to rebaseline.
...
BUG=745
Review URL: https://codereview.appspot.com/6497054
git-svn-id: http://skia.googlecode.com/svn/trunk@5360 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 22:05:53 +00:00
robertphillips@google.com
d07cb0c037
Begin moving locking out of GrResourceCache
...
http://codereview.appspot.com/6498064/
git-svn-id: http://skia.googlecode.com/svn/trunk@5354 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 19:22:29 +00:00
bsalomon@google.com
868a8e7fc8
Recommit r5350 with fix for image failures (which affected GLs that don't support ARB_texture_swizzle).
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5353 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 19:11:34 +00:00
bensong@google.com
7426743837
Records bench graph scale information so we can calculate back the bench values.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5352 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 18:19:02 +00:00
bsalomon@google.com
a3d707b4ec
Revert 5350 while image changes are diagnosed.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5351 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 18:11:48 +00:00
bsalomon@google.com
b41b2bc29c
Remove fModulate from GrGLShaderBuilder
...
Review URL: https://codereview.appspot.com/6495051/
git-svn-id: http://skia.googlecode.com/svn/trunk@5350 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 17:54:14 +00:00
george@mozilla.com
1ea01bf4ce
The UBFX instruction isn't available on ARMv6; use LSL/LSR or UXTB.
...
Review URL: https://codereview.appspot.com/6476072
git-svn-id: http://skia.googlecode.com/svn/trunk@5349 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 17:38:03 +00:00
scroggo@google.com
057655589f
Remove dead code and update a comment.
...
InlineFactoryNames_Flag is no longer used, so remove it and update
the comment.
Review URL: https://codereview.appspot.com/6492057
git-svn-id: http://skia.googlecode.com/svn/trunk@5348 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 17:34:29 +00:00
reed@google.com
ffacd3c56d
peephole optimize save/restore brackets that contain no draw calls.
...
Review URL: https://codereview.appspot.com/6443149
git-svn-id: http://skia.googlecode.com/svn/trunk@5347 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 15:31:23 +00:00
skia.committer@gmail.com
a27096b474
Sanitizing source files in Skia_Nightly_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5346 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 14:38:00 +00:00
reed@google.com
1cf58d03a8
add SkWriter32::rewindToOffset() -- used for peephole edits in picture recording
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5345 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 14:03:21 +00:00
robertphillips@google.com
a9b0623eac
Added find, lock to GrContext & GrResourceCache interfaces
...
https://codereview.appspot.com/6499052/
git-svn-id: http://skia.googlecode.com/svn/trunk@5343 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 11:06:31 +00:00
robertphillips@google.com
9cb5adf50d
Minor refactoring of GrClipMaskManager::clipMaskPreamble
...
https://codereview.appspot.com/6495052/
git-svn-id: http://skia.googlecode.com/svn/trunk@5342 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-30 11:05:08 +00:00
bsalomon@google.com
405d0f43d8
In which a series of things around attachToCanvas and writePixels are fixed
...
Review URL: https://codereview.appspot.com/6506051/
git-svn-id: http://skia.googlecode.com/svn/trunk@5341 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-29 21:26:13 +00:00
reed@google.com
bae9ff70d9
SkDraw's constructor zero's is fields, so don't do it outside
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5340 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-29 20:23:24 +00:00
reed@google.com
c07448fd72
check for exceeding int range when we stash the values in the cache
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5339 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-29 19:46:06 +00:00
bsalomon@google.com
c2a2483bbe
Clear SkCanvas::fLastDeviceToGainFocus when releasing a device
...
Review URL: https://codereview.appspot.com/6499051/
git-svn-id: http://skia.googlecode.com/svn/trunk@5338 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-29 19:40:59 +00:00
bsalomon@google.com
d9e0181405
Linux warning fixes
...
Review URL: https://codereview.appspot.com/6500045/
git-svn-id: http://skia.googlecode.com/svn/trunk@5337 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-29 19:35:44 +00:00
djsollen@google.com
57cdcc091b
Change Arabic sample character from 0x0600 to 0x0627.
...
Arabic font on some devices doesn't have 0x0600 glyph and is not correctly
handled by complex text path.
BUG=6772513
Review URL: https://codereview.appspot.com/6497053
git-svn-id: http://skia.googlecode.com/svn/trunk@5336 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-29 19:08:50 +00:00
djsollen@google.com
c9ab987efc
Implement multi-threaded picture playback via cloning.
...
The CL adds SkPicture.clone() which produces a thread-safe copy by
creating a shallow copy of the thread-safe data within the picture and
a deep copy of the data that is not (e.g. SkPaint). This implementation
re-flattens the paints when cloning instead of retaining the flattened
paints from the recording process.
Changes were also needed to various classes to ensure thread safety
Review URL: https://codereview.appspot.com/6459105
git-svn-id: http://skia.googlecode.com/svn/trunk@5335 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-29 18:52:07 +00:00
rileya@google.com
b947b91794
Fix uninitialized values in bench_pictures' tiled renderer.
...
Review URL: https://codereview.appspot.com/6506049
git-svn-id: http://skia.googlecode.com/svn/trunk@5333 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-29 17:35:07 +00:00
bsalomon@google.com
4af0af612f
Add helpers to add/modulate glsl vec4s.
...
Review URL: https://codereview.appspot.com/6497046/
git-svn-id: http://skia.googlecode.com/svn/trunk@5332 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-29 12:59:57 +00:00
robertphillips@google.com
1fcc1b8099
Moved GrClipMaskCache to its own files
...
https://codereview.appspot.com/6496055/
git-svn-id: http://skia.googlecode.com/svn/trunk@5331 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-29 12:52:05 +00:00
bsalomon@google.com
5e497329bb
Fix int64->int32 warning
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5330 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 21:45:26 +00:00
bsalomon@google.com
0d82fe5a4b
Add "class" missing from "friend class". How did this compile on windows?
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5329 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-28 21:39:15 +00:00