aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Add an SK_PRINTF_LIKE macro, which declares a function to have printf-likeGravatar senorblanco@chromium.org2012-07-09
| | | | | | | | | | | | | semantics, allowing gcc and clang to check the format string against the arguments. Enable its use on SkString (printf, appendf, and prependf). Also define an SK_SIZE_T_SPECIFIER macro so there's a cross-platform way of printing a size_t. Review URL: http://codereview.appspot.com/6375043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4485 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix definition of isEqual() for two gradient effect custom stages.Gravatar tomhudson@google.com2012-07-09
| | | | | | | | | | | Expand comments defining isEqual() to better distinguish equality from equivalence, which is more significant in Ganesh shader cache management. http://codereview.appspot.com/6379043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4484 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix SkBlendLCD16_SSE2 for non ARGB platforms.Gravatar bungeman@google.com2012-07-09
| | | | | | | http://codereview.appspot.com/6356062/ git-svn-id: http://skia.googlecode.com/svn/trunk@4481 2bbb7eff-a529-9590-31e7-b0007b416f81
* restore 4478 w/ fixed assert (no long need 8-byte alignment)Gravatar reed@google.com2012-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4480 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 4478Gravatar reed@google.com2012-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4479 2bbb7eff-a529-9590-31e7-b0007b416f81
* switch callers to SkChecksum::Compute (no 32/64 preference)Gravatar reed@google.com2012-07-09
| | | | | | Review URL: https://codereview.appspot.com/6377043 git-svn-id: http://skia.googlecode.com/svn/trunk@4478 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove until PDF understands conical gradients.Gravatar reed@google.com2012-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4477 2bbb7eff-a529-9590-31e7-b0007b416f81
* add image to macproGravatar reed@google.com2012-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4476 2bbb7eff-a529-9590-31e7-b0007b416f81
* new and updated images for gradients on MacProGravatar reed@google.com2012-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4475 2bbb7eff-a529-9590-31e7-b0007b416f81
* Left over cleanup from r4416 (fix for lingering AA clip mask bug)Gravatar robertphillips@google.com2012-07-09
| | | | | | | | http://codereview.appspot.com/6356058/ git-svn-id: http://skia.googlecode.com/svn/trunk@4474 2bbb7eff-a529-9590-31e7-b0007b416f81
* In SkGPipe, set a limit on the amount of flattenables cached.Gravatar scroggo@google.com2012-07-09
| | | | | | | | 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
* Refactoring code in SkPictureRecord that touches fRestoreOffsetStackGravatar junov@chromium.org2012-07-09
| | | | | | | | | 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
* Delete pdf gradient image.Gravatar rileya@google.com2012-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4471 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline gradients.Gravatar rileya@google.com2012-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4470 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added conical gradient to gm gradients test, and added two variants of that ↵Gravatar rileya@google.com2012-07-09
| | | | | | | | | 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
* Fix bug in calling NV DeletePathsGravatar bsalomon@google.com2012-07-09
| | | | | | | | Review URL: http://codereview.appspot.com/6345078/ git-svn-id: http://skia.googlecode.com/svn/trunk@4467 2bbb7eff-a529-9590-31e7-b0007b416f81
* Minor cleanup in lighting image filters: Made the light color a member of theGravatar senorblanco@chromium.org2012-07-09
| | | | | | | | | | | 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
* Add gm baseline images for Xoom.Gravatar borenet@google.com2012-07-09
| | | | | | | | 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
* fix 64bit warnings (use: GYP_DEFINES=skia_arch_width=64 make ... )Gravatar reed@google.com2012-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4464 2bbb7eff-a529-9590-31e7-b0007b416f81
* define SK_CPU_SSE_LEVEL to a min of SSE2 if we're on 64bit x86Gravatar reed@google.com2012-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4463 2bbb7eff-a529-9590-31e7-b0007b416f81
* add test for SkChecksumGravatar mike@reedtribe.org2012-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4462 2bbb7eff-a529-9590-31e7-b0007b416f81
* HitTest: 10% speedup by adding quick-reject/accept using X boundsGravatar mike@reedtribe.org2012-07-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4461 2bbb7eff-a529-9590-31e7-b0007b416f81
* add support for cubics to SkHitTestPathExGravatar mike@reedtribe.org2012-07-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4460 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adds missing functionGravatar chudy@google.com2012-07-03
| | | | | | Review URL: https://codereview.appspot.com/6346067 git-svn-id: http://skia.googlecode.com/svn/trunk@4459 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2012-07-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4458 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkChecksum as a static class, for the replacement APIGravatar reed@google.com2012-07-03
| | | | | | | 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
* Rolling back r4034 (Proposed plumbing to propagate save & restore)Gravatar robertphillips@google.com2012-07-03
| | | | | | | | http://codereview.appspot.com/6346066/ git-svn-id: http://skia.googlecode.com/svn/trunk@4456 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reworked gradient shader to no longer explicitly set gl_FragColor or return ↵Gravatar rileya@google.com2012-07-03
| | | | | | | | | | 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
* Adds functionality to the matrix and clip widget.Gravatar chudy@google.com2012-07-03
| | | | | | Review URL: https://codereview.appspot.com/6348058 git-svn-id: http://skia.googlecode.com/svn/trunk@4453 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove unnecessary lines after Android gyp fixGravatar borenet@google.com2012-07-03
| | | | | | Review URL: https://codereview.appspot.com/6353066 git-svn-id: http://skia.googlecode.com/svn/trunk@4452 2bbb7eff-a529-9590-31e7-b0007b416f81
* Ensure that SkDeferredCanvas::onCreateCompatibleDevice unrefs its temp device.Gravatar scroggo@google.com2012-07-03
| | | | | | | | 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
* Make SkTSearch variants with compare func as template paramGravatar bsalomon@google.com2012-07-03
| | | | | | | | Review URL: https://codereview.appspot.com/6345060/ git-svn-id: http://skia.googlecode.com/svn/trunk@4449 2bbb7eff-a529-9590-31e7-b0007b416f81
* Another fix for drawing bitmaps through an SkGPipe that share pixelrefs.Gravatar scroggo@google.com2012-07-03
| | | | | | | | | | 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
* shape ops work in progressGravatar caryclark@google.com2012-07-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4446 2bbb7eff-a529-9590-31e7-b0007b416f81
* Temporary checkin to debug Linux bot issue.Gravatar rileya@google.com2012-07-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4445 2bbb7eff-a529-9590-31e7-b0007b416f81
* Changed '0.5f' to '0.5' in conical gradient shader to fix problem with ↵Gravatar rileya@google.com2012-07-03
| | | | | | shader compile on Mac. git-svn-id: http://skia.googlecode.com/svn/trunk@4444 2bbb7eff-a529-9590-31e7-b0007b416f81
* add scaling factor for subclasses, to normalize running time a little betterGravatar reed@google.com2012-07-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4443 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added GPU implementation of 2-point conical gradient.Gravatar rileya@google.com2012-07-03
| | | | | | Review URL: https://codereview.appspot.com/6354062 git-svn-id: http://skia.googlecode.com/svn/trunk@4442 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix SkFixed buildGravatar reed@google.com2012-07-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4441 2bbb7eff-a529-9590-31e7-b0007b416f81
* normalize names for SSE levelsGravatar reed@google.com2012-07-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4440 2bbb7eff-a529-9590-31e7-b0007b416f81
* Pointing to http://skia-autogen.googlecode.com/svn/docs/html/index.html in ↵Gravatar rmistry@google.com2012-07-03
| | | | | | | | Doxyfile Review URL: https://codereview.appspot.com/6346049 git-svn-id: http://skia.googlecode.com/svn/trunk@4439 2bbb7eff-a529-9590-31e7-b0007b416f81
* add gm for hittesting pathsGravatar mike@reedtribe.org2012-07-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4438 2bbb7eff-a529-9590-31e7-b0007b416f81
* experimental hittest for paths (incomplete)Gravatar mike@reedtribe.org2012-07-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4437 2bbb7eff-a529-9590-31e7-b0007b416f81
* git-svn-id: http://skia.googlecode.com/svn/trunk@4436 ↵Gravatar bensong@google.com2012-07-02
| | | | 2bbb7eff-a529-9590-31e7-b0007b416f81
* git-svn-id: http://skia.googlecode.com/svn/trunk@4433 ↵Gravatar bensong@google.com2012-07-02
| | | | 2bbb7eff-a529-9590-31e7-b0007b416f81
* update shapeops_edge gypGravatar caryclark@google.com2012-07-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4432 2bbb7eff-a529-9590-31e7-b0007b416f81
* update test for new NewFromCString behaviorGravatar reed@google.com2012-07-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4431 2bbb7eff-a529-9590-31e7-b0007b416f81
* change NewWithCString to allocate room for the terminating NULL, so the dataGravatar reed@google.com2012-07-02
| | | | | | | | can be treated as a cstring (duh). git-svn-id: http://skia.googlecode.com/svn/trunk@4430 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2012-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix typeGravatar reed@google.com2012-07-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4428 2bbb7eff-a529-9590-31e7-b0007b416f81