rmistry@google.com
647ca8bc89
Leave one and only one newline at the end of source files
...
Review URL: https://codereview.appspot.com/7216043
git-svn-id: http://skia.googlecode.com/svn/trunk@7398 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 18:26:58 +00:00
bungeman@google.com
bbec4e6be2
Avoid O(n) stack space usage in qsort.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7397 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 18:25:17 +00:00
reed@google.com
a53dcce4b4
reduce array size in debug builds for sortbench. This avoids a stack-overflow
...
due to (1) SkTQSort's bad behavior on repeated-keys, and (2) windows-debug doesn't
implement tail-recursion.
Not an issue, since we don't care about perf in our debug builds anyway.
git-svn-id: http://skia.googlecode.com/svn/trunk@7396 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 17:49:49 +00:00
bsalomon@google.com
3bc7200240
Move random from core to utils
...
Review URL: https://codereview.appspot.com/7193064
git-svn-id: http://skia.googlecode.com/svn/trunk@7395 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 17:49:03 +00:00
rmistry@google.com
6548cecb43
Whitespace change to test (SkipBuildbotRuns) locally
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7394 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 15:28:23 +00:00
bsalomon@google.com
32cf29eed5
Only clear the part of the texture used by the device (duh!)
...
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/7205055
git-svn-id: http://skia.googlecode.com/svn/trunk@7393 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 15:03:18 +00:00
reed@google.com
70375529cc
doh: use *srcPtr instead of src (which is now obsolete) when we check for specialLine
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7392 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 14:52:11 +00:00
robertphillips@google.com
d760073266
Hid large dashed line optimization behind compiler flag
...
https://codereview.appspot.com/7133078/
git-svn-id: http://skia.googlecode.com/svn/trunk@7391 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 14:47:48 +00:00
rmistry@google.com
ae97795901
Whitespace change to trigger rebuilds
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7390 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 13:30:20 +00:00
rmistry@google.com
5170db22cd
Whitespace change to trigger rebuilds
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7388 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 13:09:15 +00:00
rmistry@google.com
9272086dbe
Triggering rebuilds after r7386
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7387 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 12:16:34 +00:00
skia.committer@gmail.com
4024f32d99
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7385 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 07:06:46 +00:00
rmistry@google.com
e8625ac205
Rebaselined webpage image GMs for ['base-shuttle-win7-intel-float'] on Google Storage.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7384 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-25 04:54:41 +00:00
bungeman@google.com
82c2fec824
Remove ConcaveToTriangles.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7383 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 22:31:01 +00:00
bungeman@google.com
59ed91079c
Bottom-up heapsort.
...
https://codereview.appspot.com/7199050/
git-svn-id: http://skia.googlecode.com/svn/trunk@7382 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 22:18:56 +00:00
reed@google.com
58c0aaaf1b
fix missing-case-statement warning
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7381 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 22:09:06 +00:00
caryclark@google.com
9f60291c53
shape ops work in progress
...
first 100,000 random cubic/cubic intersections working
git-svn-id: http://skia.googlecode.com/svn/trunk@7380 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 21:47:16 +00:00
borenet@google.com
6c55b513bf
Modify submit_try to work on windows
...
Review URL: https://codereview.appspot.com/7199053
git-svn-id: http://skia.googlecode.com/svn/trunk@7379 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 21:38:51 +00:00
reed@google.com
4bbdeac58c
add optional cull-rect to patheffects, so they can do less work if their results
...
lie outside of the current clip-bounds (the cull rect).
Review URL: https://codereview.appspot.com/7206044
git-svn-id: http://skia.googlecode.com/svn/trunk@7378 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 21:03:11 +00:00
bsalomon@google.com
82502e2e39
Fix SampleApp ANGLE mode.
...
Review URL: https://codereview.appspot.com/7206052
git-svn-id: http://skia.googlecode.com/svn/trunk@7377 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 20:47:18 +00:00
bsalomon@google.com
c5fae9e1ed
Fix spelling error.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7376 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 19:00:02 +00:00
reed@google.com
c270baf97a
change giantdashline test to use 4 intervals, to explicitly avoid the asPoints
...
special case code (which we may test separately later).
git-svn-id: http://skia.googlecode.com/svn/trunk@7375 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 18:43:32 +00:00
reed@google.com
7fcfeb13b6
doh. drawRRect is not on SkDevice.... yet
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7374 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 18:37:53 +00:00
bsalomon@google.com
dcd69bfca1
Fix logic bug introduced in r7346.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7373 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 18:28:51 +00:00
reed@google.com
72aa79cfea
override drawOval and drawRRect in GatherPixelRefDevice, so we don't miss those,
...
and possibly crash trying to raster into an empty device.
http://code.google.com/p/skia/issues/detail?id=1086
Review URL: https://codereview.appspot.com/7193057
git-svn-id: http://skia.googlecode.com/svn/trunk@7372 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 18:27:42 +00:00
reed@google.com
e5ceea9232
update to emphasis the culling aspect of the test (making the line much longer,
...
and adding hairline and non-hairline cases.)
git-svn-id: http://skia.googlecode.com/svn/trunk@7371 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 17:33:21 +00:00
reed@google.com
996f64f8e7
add bench for giant dashed lines, to test future optimizations for culling
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7368 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 17:17:28 +00:00
reed@google.com
a8f23c7e1e
use DEF_BENCH for clarity
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7367 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 16:56:36 +00:00
bungeman@google.com
b77b69f89f
Remove method calls on invalid "this" pointer.
...
https://codereview.appspot.com/7198050/
git-svn-id: http://skia.googlecode.com/svn/trunk@7366 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 16:38:23 +00:00
jvanverth@google.com
e2bfd8b7b1
The oval path bench tests used to draw a circle, but I changed them to an oval
...
so that we could track performance changes for ovals. However, rendering the
stroked oval cases are now ~5ms slower since they're larger. This restores them
to something close to their original performance by slightly shrinking the
bounds. This will help determine what effect r7304 may have had.
git-svn-id: http://skia.googlecode.com/svn/trunk@7365 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 15:45:35 +00:00
bungeman@google.com
7c56c16322
Fix sort test.
...
https://codereview.appspot.com/7199050/
git-svn-id: http://skia.googlecode.com/svn/trunk@7364 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 15:06:47 +00:00
rmistry@google.com
9780530f5f
Rebaselined webpage image GMs for ['base-shuttle-win7-intel-float'] on Google Storage.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7363 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 15:01:22 +00:00
bsalomon@google.com
95ed55adc6
Make all GrContext members that return a texture also ref the texture for the caller.
...
Review URL: https://codereview.appspot.com/7198049
git-svn-id: http://skia.googlecode.com/svn/trunk@7362 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 14:46:47 +00:00
junov@chromium.org
baa0220dfd
Move code in isPaintOpaque from SkDeferredCanvas.cpp to SkPaintPriv
...
The purpose of this code move is to make it re-usable in order to implement
occlusion culling optimizations in SkPicture similar to what we have now
in SkDeferredCanvas.
BUG=https://code.google.com/p/chromium/issues/detail?id=164530
Review URL: https://codereview.appspot.com/7196046
git-svn-id: http://skia.googlecode.com/svn/trunk@7361 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 14:38:23 +00:00
skia.committer@gmail.com
43a6b6a046
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7357 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 07:06:13 +00:00
rmistry@google.com
3fc8d87b2f
Rebaselined webpage image GMs for ['base-shuttle-win7-intel-float'] on Google Storage.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7356 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-24 04:15:57 +00:00
bsalomon@google.com
838f6e18fb
Add deferred count to GrResource.
...
This will be used to determine whether a resource can either be deleted or reinserted in the cache when its ref count reaches zero.
Review URL: https://codereview.appspot.com/7202046
git-svn-id: http://skia.googlecode.com/svn/trunk@7355 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 21:37:01 +00:00
bsalomon@google.com
1f0f1a3b5e
Fix bug introduced in r7348, deleting wrapped resources.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7354 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 21:32:32 +00:00
borenet@google.com
6b5388e71b
Replace gcl_try with submit_try
...
submit_try supports both git and svn and hooks directly into depot_tools rather
than calling it in a subprocess.
Review URL: https://codereview.appspot.com/7202044
git-svn-id: http://skia.googlecode.com/svn/trunk@7352 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 20:54:29 +00:00
bensong@google.com
7fa58acb04
Changes per-tile bench values to use the average of repetitions from new bench log output.
...
Corresponding logs change was done at https://codereview.appspot.com/7101060/ and this CL needs to be submitted together with that one for data consistency. Then we can turn on timePerTile.
Review URL: https://codereview.appspot.com/7193051
git-svn-id: http://skia.googlecode.com/svn/trunk@7351 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 20:51:17 +00:00
robertphillips@google.com
194bf824f0
Reverse sense of convex-quad-fix compiler flag
...
https://codereview.appspot.com/7206045/
git-svn-id: http://skia.googlecode.com/svn/trunk@7349 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 20:45:26 +00:00
bsalomon@google.com
7283022819
Make GrResource know whether 3D objects' lifetimes are managed by Skia or not.
...
Review URL: https://codereview.appspot.com/7201046
git-svn-id: http://skia.googlecode.com/svn/trunk@7348 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 20:25:22 +00:00
edisonn@google.com
f91c63e116
Revert r7341
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7347 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 20:12:31 +00:00
bsalomon@google.com
ca43208e4a
Reland r7342 with fixes.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7346 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 19:53:46 +00:00
bsalomon@google.com
58f9ae1c7a
Revert 7342 to investigate failures.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7345 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 19:09:06 +00:00
djsollen@google.com
4dcc624ee0
Update Android toolchain to NDK r8d with GCC 4.7
...
Review URL: https://codereview.appspot.com/7201045
git-svn-id: http://skia.googlecode.com/svn/trunk@7343 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 18:56:38 +00:00
bsalomon@google.com
bcede394ee
Add GrDrawState::DeferredState for saving GrDrawStates in GrInOrderDrawBuffer.
...
A future CL will do the unref'ing of GrResources when converting a GrDrawState to a DeferredState.
Review URL: https://codereview.appspot.com/7181049
git-svn-id: http://skia.googlecode.com/svn/trunk@7342 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 18:29:21 +00:00
edisonn@google.com
c13ee606d8
If getAdvance fails, getAdvanceData should not assert, but ignored.
...
Review URL: https://codereview.appspot.com/7127056
git-svn-id: http://skia.googlecode.com/svn/trunk@7341 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 16:08:15 +00:00
reed@google.com
1d6cff7293
add alias for MakeFromIRect (just Make)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@7340 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 15:37:56 +00:00
bungeman@google.com
23c2939a4f
Use Skia style cast in SkDeviceProperties.
...
(Alternative to 7329.)
git-svn-id: http://skia.googlecode.com/svn/trunk@7339 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-23 15:31:43 +00:00