mike@reedtribe.org
a920a35c0f
add support for cubics to SkHitTestPathEx
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4460 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-07 00:12:12 +00:00
chudy@google.com
f14143226a
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
2012-07-03 20:28:14 +00:00
caryclark@google.com
b973801328
shape ops work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4458 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-03 19:53:30 +00:00
reed@google.com
88db9ef0cd
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
2012-07-03 19:44:20 +00:00
robertphillips@google.com
54823c227d
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
2012-07-03 19:12:29 +00:00
rileya@google.com
e38160c38c
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
2012-07-03 18:03:04 +00:00
chudy@google.com
2f89179395
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
2012-07-03 16:05:59 +00:00
borenet@google.com
0fcf474921
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
2012-07-03 16:03:51 +00:00
scroggo@google.com
d7dbd423f2
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
2012-07-03 15:16:30 +00:00
bsalomon@google.com
44f7c4a6f8
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
2012-07-03 15:03:10 +00:00
scroggo@google.com
6ea165dd8f
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
2012-07-03 14:52:08 +00:00
caryclark@google.com
66ca2fba44
shape ops work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4446 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-03 14:30:08 +00:00
rileya@google.com
11b2d8b8d2
Temporary checkin to debug Linux bot issue.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4445 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-03 14:22:11 +00:00
rileya@google.com
baaaeebf17
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
2012-07-03 14:11:05 +00:00
reed@google.com
f1d4695cae
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
2012-07-03 13:53:41 +00:00
rileya@google.com
3e33258cd1
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
2012-07-03 13:43:35 +00:00
reed@google.com
dbc5d28979
fix SkFixed build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4441 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-03 12:23:22 +00:00
reed@google.com
8dbd5725c0
normalize names for SSE levels
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4440 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-03 12:08:39 +00:00
rmistry@google.com
6e5d63a4a2
Pointing to http://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
2012-07-03 11:35:07 +00:00
mike@reedtribe.org
43c62b11ec
add gm for hittesting paths
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4438 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-03 02:44:02 +00:00
mike@reedtribe.org
a2a95f9def
experimental hittest for paths (incomplete)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4437 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-03 02:35:36 +00:00
bensong@google.com
ead2b39ab1
git-svn-id: http://skia.googlecode.com/svn/trunk@4436 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-02 21:49:30 +00:00
bensong@google.com
af3d79a8c8
git-svn-id: http://skia.googlecode.com/svn/trunk@4433 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-02 20:48:51 +00:00
caryclark@google.com
ec390ea610
update shapeops_edge gyp
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4432 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-02 20:44:59 +00:00
reed@google.com
a63a851afb
update test for new NewFromCString behavior
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4431 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-02 20:29:00 +00:00
reed@google.com
fd59d12000
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
2012-07-02 20:28:31 +00:00
caryclark@google.com
8dcf114db9
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
2012-07-02 20:27:02 +00:00
reed@google.com
0985c558fc
fix type
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4428 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-02 19:36:47 +00:00
reed@google.com
2e07942f42
add read/write SkData methods
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4427 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-02 19:35:13 +00:00
scroggo
b3c0f4886e
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
2012-07-02 19:07:57 +00:00
reed@google.com
126b4362be
detect SSE level in visual studio
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4424 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-02 19:00:27 +00:00
reed@google.com
5ccbe38285
undo accidental checkin
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4422 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-02 17:29:44 +00:00
reed@google.com
ab69788571
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
2012-07-02 17:27:51 +00:00
reed@google.com
4a2cb30acc
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
2012-07-02 14:36:37 +00:00
scroggo@google.com
aae9e27fcc
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
2012-07-02 14:36:33 +00:00
scroggo@google.com
4f1f6bf050
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
2012-07-02 13:35:09 +00:00
robertphillips@google.com
366f1c6a09
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
2012-06-29 21:38:47 +00:00
robertphillips@google.com
41efe04af9
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
2012-06-29 20:55:14 +00:00
scroggo@google.com
b340cf7e3d
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
2012-06-29 19:25:21 +00:00
scroggo@google.com
d33819aeb6
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
2012-06-29 19:24:25 +00:00
djsollen@google.com
686989b242
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
2012-06-29 18:51:29 +00:00
tomhudson@google.com
375ff85e96
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
2012-06-29 18:37:57 +00:00
djsollen@google.com
e7290ef304
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
2012-06-29 18:26:27 +00:00
scroggo@google.com
d5429282d1
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
2012-06-29 18:11:31 +00:00
scroggo@google.com
99853c743d
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
2012-06-29 17:45:49 +00:00
scroggo@google.com
32f20eb02c
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
2012-06-29 17:28:50 +00:00
chudy@google.com
b6789115b7
Add missing gyp dependencies for debugger
...
git-svn-id: http://skia.googlecode.com/svn/trunk@4405 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-29 14:34:58 +00:00
chudy@google.com
902ebe5eb4
clt debugger
...
Review URL: https://codereview.appspot.com/6267043
git-svn-id: http://skia.googlecode.com/svn/trunk@4404 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-06-29 14:21:22 +00:00
bsalomon@google.com
05a718c9d2
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
2012-06-29 14:01:53 +00:00
robertphillips@google.com
e9c0469a49
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
2012-06-29 00:30:13 +00:00