robertphillips@google.com
bdb1be5994
Added cache stats printout to tests
...
http://codereview.appspot.com/6495104/
git-svn-id: http://skia.googlecode.com/svn/trunk@5438 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-07 18:24:43 +00:00
bsalomon@google.com
6c76d2410a
Remove extraneous const qualifier.
...
Found by clang:
[293/898] CXX obj/src/gpu/gl/gr.GrGpuGL.o
../../src/gpu/gl/GrGpuGL.cpp:2031:1: warning: 'const' type qualifier on return
type has no effect [-Wignored-qualifiers]
const GrGLenum tile_to_gl_wrap(SkShader::TileMode tm) {
^~~~~
Signed-off-by: Thiago Farina <tfarina@chromium.org>
Review URL: https://codereview.appspot.com/6492093/
git-svn-id: http://skia.googlecode.com/svn/trunk@5437 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-07 16:52:24 +00:00
epoger@google.com
f5ad077741
download_baselines: allow user to select which builder's images to download
...
BUG=806
Review URL: https://codereview.appspot.com/6492091
git-svn-id: http://skia.googlecode.com/svn/trunk@5435 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-07 16:05:34 +00:00
scroggo@google.com
d62f1b0171
Fix for Windows build.
...
Review URL: https://codereview.appspot.com/6494098
git-svn-id: http://skia.googlecode.com/svn/trunk@5434 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-07 15:57:18 +00:00
bsalomon@google.com
69aca79b5c
SkPathRef: one allocation for pts+verbs, path GenID, copy-on-write
...
Review URL: https://codereview.appspot.com/6488063/
git-svn-id: http://skia.googlecode.com/svn/trunk@5433 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-07 15:35:06 +00:00
scroggo@google.com
9a4125283a
Report data from bench_pictures in the same fashion as bench.
...
Move SkBenchLogger into separate files and make bench_pictures use it.
Remove sk_tools::print_msg, since SkBenchLogger is now used instead.
Combine picture_benchmark with bench_pictures, since that is the
only project that uses it.
Refactor the aggregator for bench timer data into its own class and
make bench_pictures use it.
Consolidate the various virtual PictureBenchmark::run functions
into one for reuse.
BUG=https://code.google.com/p/skia/issues/detail?id=822
Review URL: https://codereview.appspot.com/6488086
git-svn-id: http://skia.googlecode.com/svn/trunk@5432 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-07 15:21:18 +00:00
bsalomon@google.com
2d8edaf175
Try r5428 again with fix
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5431 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-07 14:47:31 +00:00
bsalomon@google.com
4592df8e91
Revert 5428 and 5429.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5430 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-07 14:20:32 +00:00
bsalomon@google.com
78201c27a7
Fix shader errors in r5428.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5429 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-07 14:14:01 +00:00
bsalomon@google.com
dbbf843dfe
Consolidate texture access functions, provide default GrTextureAccess
...
Review URL: https://codereview.appspot.com/6506086/
git-svn-id: http://skia.googlecode.com/svn/trunk@5428 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-07 13:54:15 +00:00
bsalomon@google.com
5e72845024
Add SK_API to path == decl.
...
Over-the-shoulder review from robertphillips@
git-svn-id: http://skia.googlecode.com/svn/trunk@5426 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-07 13:32:37 +00:00
skia.committer@gmail.com
04ba448579
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5425 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-07 02:01:30 +00:00
rileya@google.com
e0201a4448
Add SkPictureRecord subclass that computes bounding boxes.
...
Review URL: https://codereview.appspot.com/6506082
git-svn-id: http://skia.googlecode.com/svn/trunk@5423 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-06 20:50:11 +00:00
bsalomon@google.com
f06df1bb9a
Introduce GrGLShaderBuilder::TextureSampler
...
Review URL: https://codereview.appspot.com/6495099/
git-svn-id: http://skia.googlecode.com/svn/trunk@5422 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-06 20:22:31 +00:00
robertphillips@google.com
94acc70312
Fixed Windows compiler complaints (esp. in debugger)
...
https://codereview.appspot.com/6497090/
git-svn-id: http://skia.googlecode.com/svn/trunk@5419 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-06 18:43:21 +00:00
wjmaclean@chromium.org
22023bea1b
Export SkPath equality operator.
...
This change will allow external access to the SkPath equality operator.
BUG=none
Review URL: https://codereview.appspot.com/6500079
git-svn-id: http://skia.googlecode.com/svn/trunk@5418 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-06 18:42:03 +00:00
robertphillips@google.com
8b62c60e96
Added 4.6.2 prefix to existing debugger moc files
...
http://codereview.appspot.com/6488090/
git-svn-id: http://skia.googlecode.com/svn/trunk@5416 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-06 18:04:07 +00:00
robertphillips@google.com
a56b706e29
Adding 4.8.2 moc files for debugger
...
http://codereview.appspot.com/6494092/
git-svn-id: http://skia.googlecode.com/svn/trunk@5415 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-06 18:02:52 +00:00
robertphillips@google.com
667c3a3b8b
Fixed assert in unlockStencilBuffer
...
http://codereview.appspot.com/6492088/
git-svn-id: http://skia.googlecode.com/svn/trunk@5413 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-06 14:50:45 +00:00
bungeman@google.com
0d50bc1490
Restore line breaking in SkTextBox.
...
https://codereview.appspot.com/6500078/
git-svn-id: http://skia.googlecode.com/svn/trunk@5412 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-06 14:46:30 +00:00
rileya@google.com
61348d1cc6
Fix rtree bench name bug. Unreviewed.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5411 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-06 13:38:53 +00:00
skia.committer@gmail.com
6c778164a7
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5410 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-06 02:01:13 +00:00
reed@google.com
b4c2819671
Record the initial matrix when we begin picture-playback, and concat with
...
that if we see a setMatrix command. In this way we can respect the caller's
overall playback matrix environment.
Review URL: https://codereview.appspot.com/6495092
git-svn-id: http://skia.googlecode.com/svn/trunk@5409 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-05 23:14:07 +00:00
robertphillips@google.com
f2e93fc989
Resource cache now explicitly takes ref of managed resources
...
https://codereview.appspot.com/6489085/
git-svn-id: http://skia.googlecode.com/svn/trunk@5407 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-05 19:44:18 +00:00
edisonn@google.com
d966ab9906
Add efffects to the list of dependencies for bench_pictures. Required on Android.
...
Review URL: http://codereview.appspot.com/6489078
git-svn-id: http://skia.googlecode.com/svn/trunk@5406 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-05 19:43:46 +00:00
robertphillips@google.com
d364554bcf
Enforce calling of inherited onRelease & onAbandon mthds in GrResource-derived classes
...
http://codereview.appspot.com/6499077/
git-svn-id: http://skia.googlecode.com/svn/trunk@5405 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-05 18:37:39 +00:00
rileya@google.com
981b33abc6
Add R-Tree bench.
...
Review URL: https://codereview.appspot.com/6497086
git-svn-id: http://skia.googlecode.com/svn/trunk@5404 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-05 18:36:17 +00:00
bsalomon@google.com
100abf49e1
Shut up some Mac (xcode 3) warnings
...
Review URL: http://codereview.appspot.com/6503053/
git-svn-id: http://skia.googlecode.com/svn/trunk@5402 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-05 17:40:04 +00:00
rileya@google.com
1f45e934b6
Add R-Tree data structure.
...
Review URL: https://codereview.appspot.com/6489055
git-svn-id: http://skia.googlecode.com/svn/trunk@5401 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-05 16:10:59 +00:00
robertphillips@google.com
d6bbbf8a83
Simplified stencil buffer caching
...
https://codereview.appspot.com/6503073/
git-svn-id: http://skia.googlecode.com/svn/trunk@5400 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-05 15:46:34 +00:00
skia.committer@gmail.com
73bb3bee93
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5399 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-05 02:01:29 +00:00
borenet@google.com
a98eb919a2
Add NaCl port of Skia
...
Initial commit. This is far from done.
Review URL: https://codereview.appspot.com/6428064
git-svn-id: http://skia.googlecode.com/svn/trunk@5398 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-09-04 21:09:40 +00:00
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