reed@google.com [Mon, 9 Jul 2012 17:05:51 +0000 (17:05 +0000)]
switch callers to SkChecksum::Compute (no 32/64 preference)
Review URL: https://codereview.appspot.com/
6377043
git-svn-id: http://skia.googlecode.com/svn/trunk@4478
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 9 Jul 2012 16:45:49 +0000 (16:45 +0000)]
remove until PDF understands conical gradients.
git-svn-id: http://skia.googlecode.com/svn/trunk@4477
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 9 Jul 2012 16:42:00 +0000 (16:42 +0000)]
add image to macpro
git-svn-id: http://skia.googlecode.com/svn/trunk@4476
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 9 Jul 2012 16:40:32 +0000 (16:40 +0000)]
new and updated images for gradients on MacPro
git-svn-id: http://skia.googlecode.com/svn/trunk@4475
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 9 Jul 2012 16:32:28 +0000 (16:32 +0000)]
Left over cleanup from r4416 (fix for lingering AA clip mask bug)
http://codereview.appspot.com/
6356058/
git-svn-id: http://skia.googlecode.com/svn/trunk@4474
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Mon, 9 Jul 2012 16:05:53 +0000 (16:05 +0000)]
In SkGPipe, set a limit on the amount of flattenables cached.
Also fix a type in gmmain.
Review URL: https://codereview.appspot.com/
6351061
git-svn-id: http://skia.googlecode.com/svn/trunk@4473
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Mon, 9 Jul 2012 16:03:55 +0000 (16:03 +0000)]
Refactoring code in SkPictureRecord that touches fRestoreOffsetStack
Review URL: http://codereview.appspot.com/
6350059/
BUG=http://code.google.com/p/chromium/issues/detail?id=133432
git-svn-id: http://skia.googlecode.com/svn/trunk@4472
2bbb7eff-a529-9590-31e7-
b0007b416f81
rileya@google.com [Mon, 9 Jul 2012 15:46:29 +0000 (15:46 +0000)]
Delete pdf gradient image.
git-svn-id: http://skia.googlecode.com/svn/trunk@4471
2bbb7eff-a529-9590-31e7-
b0007b416f81
rileya@google.com [Mon, 9 Jul 2012 15:45:04 +0000 (15:45 +0000)]
Rebaseline gradients.
git-svn-id: http://skia.googlecode.com/svn/trunk@4470
2bbb7eff-a529-9590-31e7-
b0007b416f81
rileya@google.com [Mon, 9 Jul 2012 14:42:16 +0000 (14:42 +0000)]
Added conical gradient to gm gradients test, and added two variants of that test, one with perspective applied to the local matrices of the gradients and the other with perspective applied to the overall view matrix.
Will require GM rebaselining.
Review URL: https://codereview.appspot.com/
6344091
git-svn-id: http://skia.googlecode.com/svn/trunk@4468
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 9 Jul 2012 14:30:26 +0000 (14:30 +0000)]
Fix bug in calling NV DeletePaths
Review URL: http://codereview.appspot.com/
6345078/
git-svn-id: http://skia.googlecode.com/svn/trunk@4467
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 9 Jul 2012 14:29:51 +0000 (14:29 +0000)]
Minor cleanup in lighting image filters: Made the light color a member of the
light, rather than the filter, so computation is localized. Changed a couple
of non-const refs in the image filter creation API const refs. Changed "const
SkColor&" to "SkColor", since it's just a uint32_t anyway.
Review URL: http://codereview.appspot.com/
6352071/
git-svn-id: http://skia.googlecode.com/svn/trunk@4466
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Mon, 9 Jul 2012 13:51:32 +0000 (13:51 +0000)]
Add gm baseline images for Xoom.
Note that these are only what could be matched against the Nexus S images or
the Linux images. Since neither set is complete, this set is also incomplete.
Review URL: https://codereview.appspot.com/
6350070
git-svn-id: http://skia.googlecode.com/svn/trunk@4465
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 9 Jul 2012 13:13:23 +0000 (13:13 +0000)]
fix 64bit warnings (use: GYP_DEFINES=skia_arch_width=64 make ... )
git-svn-id: http://skia.googlecode.com/svn/trunk@4464
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 9 Jul 2012 13:02:35 +0000 (13:02 +0000)]
define SK_CPU_SSE_LEVEL to a min of SSE2 if we're on 64bit x86
git-svn-id: http://skia.googlecode.com/svn/trunk@4463
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Mon, 9 Jul 2012 01:53:07 +0000 (01:53 +0000)]
add test for SkChecksum
git-svn-id: http://skia.googlecode.com/svn/trunk@4462
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sat, 7 Jul 2012 00:28:17 +0000 (00:28 +0000)]
HitTest: 10% speedup by adding quick-reject/accept using X bounds
git-svn-id: http://skia.googlecode.com/svn/trunk@4461
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sat, 7 Jul 2012 00:12:12 +0000 (00:12 +0000)]
add support for cubics to SkHitTestPathEx
git-svn-id: http://skia.googlecode.com/svn/trunk@4460
2bbb7eff-a529-9590-31e7-
b0007b416f81
chudy@google.com [Tue, 3 Jul 2012 20:28:14 +0000 (20:28 +0000)]
Adds missing function
Review URL: https://codereview.appspot.com/
6346067
git-svn-id: http://skia.googlecode.com/svn/trunk@4459
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 3 Jul 2012 19:53:30 +0000 (19:53 +0000)]
shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@4458
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 3 Jul 2012 19:44:20 +0000 (19:44 +0000)]
add SkChecksum as a static class, for the replacement API
after this lands, plan to deprecate/remove the older APIs
Review URL: https://codereview.appspot.com/
6356059
git-svn-id: http://skia.googlecode.com/svn/trunk@4457
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 3 Jul 2012 19:12:29 +0000 (19:12 +0000)]
Rolling back r4034 (Proposed plumbing to propagate save & restore)
http://codereview.appspot.com/
6346066/
git-svn-id: http://skia.googlecode.com/svn/trunk@4456
2bbb7eff-a529-9590-31e7-
b0007b416f81
rileya@google.com [Tue, 3 Jul 2012 18:03:04 +0000 (18:03 +0000)]
Reworked gradient shader to no longer explicitly set gl_FragColor or return prematurely.
This should fix failing linux buildbot, and should play nicer with programs that don't use the gl_FragColor global, or that have multiple stages.
Also disabled debug printing from revision 4445.
Review URL: https://codereview.appspot.com/
6345063
git-svn-id: http://skia.googlecode.com/svn/trunk@4454
2bbb7eff-a529-9590-31e7-
b0007b416f81
chudy@google.com [Tue, 3 Jul 2012 16:05:59 +0000 (16:05 +0000)]
Adds functionality to the matrix and clip widget.
Review URL: https://codereview.appspot.com/
6348058
git-svn-id: http://skia.googlecode.com/svn/trunk@4453
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Tue, 3 Jul 2012 16:03:51 +0000 (16:03 +0000)]
Remove unnecessary lines after Android gyp fix
Review URL: https://codereview.appspot.com/
6353066
git-svn-id: http://skia.googlecode.com/svn/trunk@4452
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Tue, 3 Jul 2012 15:16:30 +0000 (15:16 +0000)]
Ensure that SkDeferredCanvas::onCreateCompatibleDevice unrefs its temp device.
Also update my GM to use createCompatibleDevice.
Review URL: https://codereview.appspot.com/
6357061
git-svn-id: http://skia.googlecode.com/svn/trunk@4450
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 3 Jul 2012 15:03:10 +0000 (15:03 +0000)]
Make SkTSearch variants with compare func as template param
Review URL: https://codereview.appspot.com/
6345060/
git-svn-id: http://skia.googlecode.com/svn/trunk@4449
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Tue, 3 Jul 2012 14:52:08 +0000 (14:52 +0000)]
Another fix for drawing bitmaps through an SkGPipe that share pixelrefs.
In addition to checking the offset, also check to ensure that the width
and height match, so that a subset which includes the upper left corner
will be handled properly as well.
Review URL: https://codereview.appspot.com/
6352066
git-svn-id: http://skia.googlecode.com/svn/trunk@4448
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 3 Jul 2012 14:30:08 +0000 (14:30 +0000)]
shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@4446
2bbb7eff-a529-9590-31e7-
b0007b416f81
rileya@google.com [Tue, 3 Jul 2012 14:22:11 +0000 (14:22 +0000)]
Temporary checkin to debug Linux bot issue.
git-svn-id: http://skia.googlecode.com/svn/trunk@4445
2bbb7eff-a529-9590-31e7-
b0007b416f81
rileya@google.com [Tue, 3 Jul 2012 14:11:05 +0000 (14:11 +0000)]
Changed '0.5f' to '0.5' in conical gradient shader to fix problem with shader compile on Mac.
git-svn-id: http://skia.googlecode.com/svn/trunk@4444
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 3 Jul 2012 13:53:41 +0000 (13:53 +0000)]
add scaling factor for subclasses, to normalize running time a little better
git-svn-id: http://skia.googlecode.com/svn/trunk@4443
2bbb7eff-a529-9590-31e7-
b0007b416f81
rileya@google.com [Tue, 3 Jul 2012 13:43:35 +0000 (13:43 +0000)]
Added GPU implementation of 2-point conical gradient.
Review URL: https://codereview.appspot.com/
6354062
git-svn-id: http://skia.googlecode.com/svn/trunk@4442
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 3 Jul 2012 12:23:22 +0000 (12:23 +0000)]
fix SkFixed build
git-svn-id: http://skia.googlecode.com/svn/trunk@4441
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 3 Jul 2012 12:08:39 +0000 (12:08 +0000)]
normalize names for SSE levels
git-svn-id: http://skia.googlecode.com/svn/trunk@4440
2bbb7eff-a529-9590-31e7-
b0007b416f81
rmistry@google.com [Tue, 3 Jul 2012 11:35:07 +0000 (11:35 +0000)]
Pointing to skia-autogen.googlecode.com/svn/docs/html/index.html in Doxyfile
Review URL: https://codereview.appspot.com/
6346049
git-svn-id: http://skia.googlecode.com/svn/trunk@4439
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Tue, 3 Jul 2012 02:44:02 +0000 (02:44 +0000)]
add gm for hittesting paths
git-svn-id: http://skia.googlecode.com/svn/trunk@4438
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Tue, 3 Jul 2012 02:35:36 +0000 (02:35 +0000)]
experimental hittest for paths (incomplete)
git-svn-id: http://skia.googlecode.com/svn/trunk@4437
2bbb7eff-a529-9590-31e7-
b0007b416f81
bensong@google.com [Mon, 2 Jul 2012 21:49:30 +0000 (21:49 +0000)]
git-svn-id: skia.googlecode.com/svn/trunk@4436
2bbb7eff-a529-9590-31e7-
b0007b416f81
bensong@google.com [Mon, 2 Jul 2012 20:48:51 +0000 (20:48 +0000)]
git-svn-id: skia.googlecode.com/svn/trunk@4433
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Mon, 2 Jul 2012 20:44:59 +0000 (20:44 +0000)]
update shapeops_edge gyp
git-svn-id: http://skia.googlecode.com/svn/trunk@4432
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 2 Jul 2012 20:29:00 +0000 (20:29 +0000)]
update test for new NewFromCString behavior
git-svn-id: http://skia.googlecode.com/svn/trunk@4431
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 2 Jul 2012 20:28:31 +0000 (20:28 +0000)]
change NewWithCString to allocate room for the terminating NULL, so the data
can be treated as a cstring (duh).
git-svn-id: http://skia.googlecode.com/svn/trunk@4430
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Mon, 2 Jul 2012 20:27:02 +0000 (20:27 +0000)]
shape ops work in progress
M Intersection/DataTypes.cpp
M Intersection/QuadraticIntersection_Test.cpp
M Intersection/EdgeWalker.cpp
M Intersection/LineQuadraticIntersection_Test.cpp
M Intersection/LineIntersection_Test.cpp
M Intersection/LineIntersection.cpp
D Intersection/edge.xcodeproj
M Intersection/SimplifyFindTop_Test.cpp
M Intersection/DataTypes.h
A Intersection/SimplifyRect4x4_Test.cpp
M Intersection/CubicIntersection_Test.cpp
M Intersection/QuadraticUtilities.h
M Intersection/LineCubicIntersection_Test.cpp
A Intersection/CurveUtilities.h
M Intersection/QuadraticBezierClip.cpp
M Intersection/QuadraticBounds.cpp
M Intersection/LineUtilities.h
M Intersection/Intersection_Tests.cpp
M Intersection/Simplify.cpp
M Intersection/EdgeWalker_TestUtility.cpp
M Intersection/QuadraticUtilities.cpp
M Intersection/thingsToDo.txt
M Intersection/LineUtilities.cpp
M Intersection/CubicUtilities.h
M Intersection/SimplifyFindNext_Test.cpp
M Intersection/Intersection_Tests.h
M Intersection/CubicBezierClip.cpp
M Intersection/ActiveEdge_Test.cpp
M Intersection/CubicBounds.cpp
M Intersection/Simplify.h
M Intersection/SimplifyNew_Test.cpp
M Intersection/EdgeWalker_Test.h
M Intersection/CubicUtilities.cpp
M Intersection/op.htm
M Intersection/ConvexHull.cpp
D Intersection/RectUtilities.cpp
M Intersection/SimplifyAddIntersectingTs_Test.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@4429
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 2 Jul 2012 19:36:47 +0000 (19:36 +0000)]
fix type
git-svn-id: http://skia.googlecode.com/svn/trunk@4428
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 2 Jul 2012 19:35:13 +0000 (19:35 +0000)]
add read/write SkData methods
git-svn-id: http://skia.googlecode.com/svn/trunk@4427
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo [Mon, 2 Jul 2012 19:07:57 +0000 (19:07 +0000)]
Provide static global initializers for SkColorTable and SkComposeShader.
This makes some GMs which were broken on Android work. Reenable them on
Android.
Also fix a typo in gmmain.
Review URL: https://codereview.appspot.com/
6344069
git-svn-id: http://skia.googlecode.com/svn/trunk@4426
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 2 Jul 2012 19:00:27 +0000 (19:00 +0000)]
detect SSE level in visual studio
git-svn-id: http://skia.googlecode.com/svn/trunk@4424
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 2 Jul 2012 17:29:44 +0000 (17:29 +0000)]
undo accidental checkin
git-svn-id: http://skia.googlecode.com/svn/trunk@4422
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 2 Jul 2012 17:27:51 +0000 (17:27 +0000)]
create symbols for the various SSE values
add GCC check for SSSE3, and assume it is ordered SSE3 < SSSE3 < SSE4
git-svn-id: http://skia.googlecode.com/svn/trunk@4421
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 2 Jul 2012 14:36:37 +0000 (14:36 +0000)]
add SK_CPU_SSE_LEVEL, which may be defined to 2 or 3 (or 41 or 42 in the future)
to tell us at compile-time what SSE instructions are available. If none are
known to be available (though we still can check at runtime) SK_CPU_SSE_LEVEL
will be undefined.
git-svn-id: http://skia.googlecode.com/svn/trunk@4419
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Mon, 2 Jul 2012 14:36:33 +0000 (14:36 +0000)]
Fix buildbot.
GM is currently broken due to my new test. Disable the portion that
causes a crash.
Review URL: https://codereview.appspot.com/
6344067
git-svn-id: http://skia.googlecode.com/svn/trunk@4418
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Mon, 2 Jul 2012 13:35:09 +0000 (13:35 +0000)]
Properly handle extracted bitmaps in cross process/shared addr space SkGPipe.
Use the pixel ref which we have already copied and the appropriate pixel ref
offset.
Turn SampleDrawBitmap into a GM to test this functionality.
Review URL: https://codereview.appspot.com/
6348059
git-svn-id: http://skia.googlecode.com/svn/trunk@4417
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 29 Jun 2012 21:38:47 +0000 (21:38 +0000)]
Fixed lingering gpu-path AA clip mask generation bug
http://codereview.appspot.com/
6351055/
git-svn-id: http://skia.googlecode.com/svn/trunk@4416
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 29 Jun 2012 20:55:14 +0000 (20:55 +0000)]
Partially rolled forward the SkGrPixelRef changes
http://codereview.appspot.com/
6354060/
git-svn-id: http://skia.googlecode.com/svn/trunk@4415
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Fri, 29 Jun 2012 19:25:21 +0000 (19:25 +0000)]
Only skip pipe playback for blurs GM in FIXED mode.
Only skip it when it would actually fail. Also add a comment
describing why it fails:
// SkCanvas::drawCircle, used by this test, performs a quick reject.
// The large size given to the device used by SkGPipeCanvas means that
// the device clip will not be set properly and circles will be
// rejected when in FIXED.
Review URL: https://codereview.appspot.com/
6354058
git-svn-id: http://skia.googlecode.com/svn/trunk@4414
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Fri, 29 Jun 2012 19:24:25 +0000 (19:24 +0000)]
Fix a warning on linux when compiling SkGPipeWrite.cpp
Review URL: https://codereview.appspot.com/
6349057
git-svn-id: http://skia.googlecode.com/svn/trunk@4413
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Fri, 29 Jun 2012 18:51:29 +0000 (18:51 +0000)]
Fix build by reverting make all to not include the debugger
git-svn-id: http://skia.googlecode.com/svn/trunk@4412
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Fri, 29 Jun 2012 18:37:57 +0000 (18:37 +0000)]
Un-trifurcate GrTextContext: get rid of Default and Batched subclasses,
folding their functionality back into the base class.
Requires gyp changes.
http://codereview.appspot.com/
6357048/
git-svn-id: http://skia.googlecode.com/svn/trunk@4411
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Fri, 29 Jun 2012 18:26:27 +0000 (18:26 +0000)]
Update the makefile and gyp for the debugger.
Review URL: https://codereview.appspot.com/
6355052
git-svn-id: http://skia.googlecode.com/svn/trunk@4410
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Fri, 29 Jun 2012 18:11:31 +0000 (18:11 +0000)]
Disable pipe playback on android for composeshader GM.
Review URL: https://codereview.appspot.com/
6349058
git-svn-id: http://skia.googlecode.com/svn/trunk@4409
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Fri, 29 Jun 2012 17:45:49 +0000 (17:45 +0000)]
Allow composeshader GM to run PDF.
Review URL: https://codereview.appspot.com/
6373043
git-svn-id: http://skia.googlecode.com/svn/trunk@4408
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Fri, 29 Jun 2012 17:28:50 +0000 (17:28 +0000)]
Create a new GM to exercise ComposeShader.
Code borrowed from samplecode/SampleShaders.cpp
Review URL: https://codereview.appspot.com/
6371043
git-svn-id: http://skia.googlecode.com/svn/trunk@4407
2bbb7eff-a529-9590-31e7-
b0007b416f81
chudy@google.com [Fri, 29 Jun 2012 14:34:58 +0000 (14:34 +0000)]
Add missing gyp dependencies for debugger
git-svn-id: http://skia.googlecode.com/svn/trunk@4405
2bbb7eff-a529-9590-31e7-
b0007b416f81
chudy@google.com [Fri, 29 Jun 2012 14:21:22 +0000 (14:21 +0000)]
clt debugger
Review URL: https://codereview.appspot.com/
6267043
git-svn-id: http://skia.googlecode.com/svn/trunk@4404
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 29 Jun 2012 14:01:53 +0000 (14:01 +0000)]
Fix some NV path rendering issues with perspective and inverse paths
Review URL: http://codereview.appspot.com/
6347050/
git-svn-id: http://skia.googlecode.com/svn/trunk@4403
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 29 Jun 2012 00:30:13 +0000 (00:30 +0000)]
Pseudo-reverted r4396 (SkGrPixelRef files are still in source pool but are unused)
git-svn-id: http://skia.googlecode.com/svn/trunk@4402
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 28 Jun 2012 21:59:38 +0000 (21:59 +0000)]
Temporarily readding SkGrTexturePixelRef.h/.cpp until WebKit is transitioned to SkGrPixelRef
git-svn-id: http://skia.googlecode.com/svn/trunk@4401
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Thu, 28 Jun 2012 21:37:20 +0000 (21:37 +0000)]
[PDF] Fix PDF code to not crash on SkComposeShader.
Review URL: https://codereview.appspot.com/
6354053
git-svn-id: http://skia.googlecode.com/svn/trunk@4400
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 28 Jun 2012 21:30:45 +0000 (21:30 +0000)]
Fixed memory deletion error in instance counting mechanism
http://codereview.appspot.com/
6344057/
git-svn-id: http://skia.googlecode.com/svn/trunk@4399
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 28 Jun 2012 20:59:13 +0000 (20:59 +0000)]
Moved SkGrTexturePixelRef to SkGrPixelRef
http://codereview.appspot.com/
6344054/
git-svn-id: http://skia.googlecode.com/svn/trunk@4397
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 28 Jun 2012 20:02:39 +0000 (20:02 +0000)]
Collapsed SkGrTexturePixelRef and SkGrRenderTargetPixelRef into SkGrPixelRef using new GrSurface class
http://codereview.appspot.com/
6359045/
git-svn-id: http://skia.googlecode.com/svn/trunk@4396
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 28 Jun 2012 19:55:06 +0000 (19:55 +0000)]
Disable pipe for bitmapfilters gm on Android.
Until I can investigate why the test is broken.
Review URL: https://codereview.appspot.com/
6357045
git-svn-id: http://skia.googlecode.com/svn/trunk@4395
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 28 Jun 2012 19:50:27 +0000 (19:50 +0000)]
Rebaseline MSAA16 AA clip images. We now enable MSAA when stencil clipping if the clip element is AA.
git-svn-id: http://skia.googlecode.com/svn/trunk@4393
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 28 Jun 2012 18:56:22 +0000 (18:56 +0000)]
Change CT assert to RT assert
git-svn-id: http://skia.googlecode.com/svn/trunk@4391
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 28 Jun 2012 18:48:06 +0000 (18:48 +0000)]
Initial support for GL_NV_path_renering. Experimental, there are still some issues to resolve, set gyp variable skia_nv_path_rendering=1 or build flag GR_GL_USE_NV_PATH_RENDERING to enable.
http://codereview.appspot.com/
6349049/
git-svn-id: http://skia.googlecode.com/svn/trunk@4390
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 28 Jun 2012 16:47:34 +0000 (16:47 +0000)]
Improve sorting of skdiff output, and make it consistent across platforms
BUG=https://code.google.com/p/skia/issues/detail?id=677
Review URL: https://codereview.appspot.com/
6351045
git-svn-id: http://skia.googlecode.com/svn/trunk@4388
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 28 Jun 2012 16:19:03 +0000 (16:19 +0000)]
fix the build
git-svn-id: http://skia.googlecode.com/svn/trunk@4387
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 28 Jun 2012 16:09:39 +0000 (16:09 +0000)]
Turn off the blurs GM for Pipe playback.
It was failing on FIXED. Turn it off while we fix the real problem.
Review URL: https://codereview.appspot.com/
6349051
git-svn-id: http://skia.googlecode.com/svn/trunk@4386
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 28 Jun 2012 16:08:05 +0000 (16:08 +0000)]
Separate target architecture type and width into separate variables.
Also add support for building mac in 64 bit mode.
Review URL: https://codereview.appspot.com/
6343050
git-svn-id: http://skia.googlecode.com/svn/trunk@4385
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 28 Jun 2012 15:41:32 +0000 (15:41 +0000)]
Fix SkGPipe drawing, and turn it on by default.
A recent change broke SkGPipe. Fix it, and turn on pipe drawing
in GM by default so we will catch these in the future.
We already had a bug where SkGPipeWriter had to use its Cross Process
flag to work, so for a quick fix, force the reader to use the Cross
Process flag as well. The bug to allow both cross and non cross process
is http://code.google.com/p/skia/issues/detail?id=663
Review URL: https://codereview.appspot.com/
6333071
git-svn-id: http://skia.googlecode.com/svn/trunk@4384
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 28 Jun 2012 15:40:09 +0000 (15:40 +0000)]
add SkData::NewFromCString()
git-svn-id: http://skia.googlecode.com/svn/trunk@4383
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 28 Jun 2012 01:01:53 +0000 (01:01 +0000)]
fixed another clang++ compiler error
git-svn-id: http://skia.googlecode.com/svn/trunk@4382
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 28 Jun 2012 00:29:23 +0000 (00:29 +0000)]
Added EOF marker to address clang++ error
git-svn-id: http://skia.googlecode.com/svn/trunk@4381
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 27 Jun 2012 20:44:52 +0000 (20:44 +0000)]
Split GrSWMaskHelper into its own files
http://codereview.appspot.com/
6350046/
git-svn-id: http://skia.googlecode.com/svn/trunk@4380
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 27 Jun 2012 20:13:49 +0000 (20:13 +0000)]
fixed missing "return" error
git-svn-id: http://skia.googlecode.com/svn/trunk@4379
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Wed, 27 Jun 2012 20:03:16 +0000 (20:03 +0000)]
Adding checksum to SkFlatData to accelerate SkPicture recording.
The checksum triggers an early exit in the mem compare use to search for duplicate flattened objects. Also, call to memcmp was replaced with 64-bit at a time comparison loop.
Review URL: http://codereview.appspot.com/
6339046/
BUG=http://code.google.com/p/chromium/issues/detail?id=54079
TEST=Checksum and PictureRecord tests in bench.exe
git-svn-id: http://skia.googlecode.com/svn/trunk@4378
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 27 Jun 2012 19:52:20 +0000 (19:52 +0000)]
Altered SkInstCnt to print out atexit
http://codereview.appspot.com/
6348043/
git-svn-id: http://skia.googlecode.com/svn/trunk@4377
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 27 Jun 2012 19:41:42 +0000 (19:41 +0000)]
Separated Inst counting from the SK_DEBUG #define (now SK_ENABLE_INST_COUNT)
http://codereview.appspot.com/
6353047/
git-svn-id: http://skia.googlecode.com/svn/trunk@4376
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 27 Jun 2012 19:33:29 +0000 (19:33 +0000)]
land https://codereview.appspot.com/
6349043/
git-svn-id: http://skia.googlecode.com/svn/trunk@4375
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 27 Jun 2012 19:31:41 +0000 (19:31 +0000)]
Added ReadPixels format-supported check to GL Caps
http://codereview.appspot.com/
6336055/
git-svn-id: http://skia.googlecode.com/svn/trunk@4374
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 27 Jun 2012 19:08:37 +0000 (19:08 +0000)]
whitespace change to trigger Skia buildbots after updating Android build
git-svn-id: http://skia.googlecode.com/svn/trunk@4373
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 27 Jun 2012 19:06:59 +0000 (19:06 +0000)]
whitespace change to trigger Skia buildbots after updating Android build
git-svn-id: http://skia.googlecode.com/svn/trunk@4372
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Wed, 27 Jun 2012 19:04:39 +0000 (19:04 +0000)]
When building for Android, package executables in APKs (trunk)
Review URL: https://codereview.appspot.com/
6307101
git-svn-id: http://skia.googlecode.com/svn/trunk@4368
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 27 Jun 2012 18:23:01 +0000 (18:23 +0000)]
add explicit purgeAll() so we don't get foiled by the min cache-limit
call unref instead of delete on the GrFontScaler
Review URL: https://codereview.appspot.com/
6353045
git-svn-id: http://skia.googlecode.com/svn/trunk@4366
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 27 Jun 2012 18:02:57 +0000 (18:02 +0000)]
Enable Scratch texture detach in SW path renderer's onDrawPath (again)
http://codereview.appspot.com/
6331057/
git-svn-id: http://skia.googlecode.com/svn/trunk@4365
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Wed, 27 Jun 2012 15:57:34 +0000 (15:57 +0000)]
Bump max flattenable from 64 to 1024.
Ran into limit on Mac.
git-svn-id: http://skia.googlecode.com/svn/trunk@4364
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 27 Jun 2012 15:41:54 +0000 (15:41 +0000)]
remove duplicate definition of SkAlign8()
git-svn-id: http://skia.googlecode.com/svn/trunk@4363
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 27 Jun 2012 15:07:11 +0000 (15:07 +0000)]
add SkAlign8 and SkIsAlign8 macros
git-svn-id: http://skia.googlecode.com/svn/trunk@4362
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 27 Jun 2012 14:59:18 +0000 (14:59 +0000)]
Fixed Resource counting bug in AutoScratchTexture detach mechanism
http://codereview.appspot.com/
6356043/
git-svn-id: http://skia.googlecode.com/svn/trunk@4361
2bbb7eff-a529-9590-31e7-
b0007b416f81