aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* saving away the old before blowing the machine awayGravatar caryclark@google.com2013-04-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8564 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allow single-pass filters (which use asNewEffect()) to participate in the ↵Gravatar senorblanco@chromium.org2013-04-08
| | | | | | | | | | image filter DAG. This was done by introducing the SkSinglePassImageFilter abstract base class, which implements canFilterImageGPU() and filterImageGPU() on behalf of the derived class. The derived class still only needs to asNewEffect(). This allows us to recurse on the filter input in SkSinglePassImageFilter::onFilterImageGPU(). It also allows us to remove any knowledge of single-pass image filters from SkGpuDevice and from the SkImageFilter base class as well. BUG= Review URL: https://codereview.chromium.org/13602013 git-svn-id: http://skia.googlecode.com/svn/trunk@8563 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add before and after command count to filter toolGravatar robertphillips@google.com2013-04-08
| | | | | | | | https://codereview.chromium.org/13405003/ git-svn-id: http://skia.googlecode.com/svn/trunk@8562 2bbb7eff-a529-9590-31e7-b0007b416f81
* Switches to a Skia-specific appengine entry point that uses condensed data ↵Gravatar bensong@google.com2013-04-08
| | | | | | | | | | and taskqueue writes (SkipBuildbotRuns). The default entry /add_point does not handle large data efficiently, so we've seen >30min timeouts for some bots to upload data. We now switch to using /skia_add_points that I'm writing for Skia, so we can condense the data to send to minimum (since all points in each batch have the same revision, platform and config), and dedicate the actual data processing to /skia_write_datastore which is a taskqueue task that has longer timeout and can run at app backend instead of blocking the bots. Initial testing from my MacBook on Mac 64 bench data via vpn gave only a little more than 1 second for uploading data for one config, about 15 seconds for all 12 configs. That's a big win against 20+ minutes. Review URL: https://codereview.chromium.org/13762002 git-svn-id: http://skia.googlecode.com/svn/trunk@8560 2bbb7eff-a529-9590-31e7-b0007b416f81
* keep old experimental code in syncGravatar caryclark@google.com2013-04-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8554 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add implementation of path opsGravatar caryclark@google.com2013-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | This CL depends on https://codereview.chromium.org/12880016/ "Add intersections for path ops" Given a path, iterate through its contour, and construct an array of segments containing its curves. Intersect each curve with every other curve, and for cubics, with itself. Given the set of intersections, find one with the smallest y and sort the curves eminating from the intersection. Assign each curve a winding value. Operate on the curves, keeping and discarding them according to the current operation and the sum of the winding values. Assemble the kept curves into an output path. Review URL: https://codereview.chromium.org/13094010 git-svn-id: http://skia.googlecode.com/svn/trunk@8553 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add intersections for path opsGravatar caryclark@google.com2013-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | This CL depends on https://codereview.chromium.org/12827020/ "Add base types for path ops" The intersection of a line, quadratic, or cubic with another curve (or with itself) is found by solving the implicit equation for the curve pair. The curves are first reduced to find the simplest form that will describe the original, and to detect degenerate or special-case data like horizontal and vertical lines. For cubic self-intersection, and for a pair of cubics, the intersection is found by recursively approximating the cubic with a series of quadratics. The implicit solutions depend on the root finding contained in the DCubic and DQuad structs, and the quartic root finder included here. Review URL: https://codereview.chromium.org/12880016 git-svn-id: http://skia.googlecode.com/svn/trunk@8552 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add base types for path opsGravatar caryclark@google.com2013-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | Paths contain lines, quads, and cubics, which are collectively curves. To work with path intersections, intermediary curves are constructed. For now, those intermediates use doubles to guarantee sufficient precision. The DVector, DPoint, DLine, DQuad, and DCubic structs encapsulate these intermediate curves. The DRect and DTriangle structs are created to describe intersectable areas of interest. The Bounds struct inherits from SkRect to create a SkScalar-based rectangle that intersects shared edges. This also includes common math equalities and debugging that the remainder of path ops builds on, as well as a temporary top-level interface in include/pathops/SkPathOps.h. Review URL: https://codereview.chromium.org/12827020 git-svn-id: http://skia.googlecode.com/svn/trunk@8551 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix font handles leak. We return without freeing resources.Gravatar edisonn@google.com2013-04-06
| | | | | | | Fix for crbug/225256 Review URL: https://codereview.chromium.org/13637004 git-svn-id: http://skia.googlecode.com/svn/trunk@8549 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-04-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8548 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix more clang errors.Gravatar tfarina@chromium.org2013-04-05
| | | | | | | | | | Fixed -Wunused-private-field errors. R=reed@google.com,bsalomon@google.com Review URL: https://codereview.chromium.org/13474012 git-svn-id: http://skia.googlecode.com/svn/trunk@8547 2bbb7eff-a529-9590-31e7-b0007b416f81
* Unreviewed test fixGravatar sugoi@google.com2013-04-05
| | | | | | Just commenting out the test for now, will investigate... git-svn-id: http://skia.googlecode.com/svn/trunk@8544 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reduce size of second iteration in SkTileGridNextDatum<>().Gravatar tomhudson@google.com2013-04-05
| | | | | | | | | | | | | | Rather than iterating over the entire dataset twice, during the first pass track how large the second pass needs to be. Entirely data-dependent but in practice approaches 2x speedup. BUG=1212 R=junov https://codereview.appspot.com/8315044/ git-svn-id: http://skia.googlecode.com/svn/trunk@8543 2bbb7eff-a529-9590-31e7-b0007b416f81
* New SVG turbulence in SkiaGravatar sugoi@google.com2013-04-05
| | | | | | | | | This cl contains the code for CPU generation of noise. TEST:Added 'perlinnoise' gm Review URL: https://codereview.chromium.org/13094003 git-svn-id: http://skia.googlecode.com/svn/trunk@8541 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert Skia to use -02.Gravatar djsollen@google.com2013-04-04
| | | | | | | | | | | | | There was no clear speed improvement and the increase in binary size was substantial. Committed: http://code.google.com/p/skia/source/detail?r=8492 Committed: https://code.google.com/p/skia/source/detail?r=8494 Review URL: https://codereview.chromium.org/13468010 git-svn-id: http://skia.googlecode.com/svn/trunk@8539 2bbb7eff-a529-9590-31e7-b0007b416f81
* re-land r8535, now that src.chromium.org is back upGravatar epoger@google.com2013-04-04
| | | | | | Review URL: https://codereview.chromium.org/13662002 git-svn-id: http://skia.googlecode.com/svn/trunk@8538 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to see if svn.chromium.org is backGravatar rmistry@google.com2013-04-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8537 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r8535Gravatar epoger@google.com2013-04-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8536 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: report ExpectationsMismatch and RenderModeMismatch results separatelyGravatar epoger@google.com2013-04-04
| | | | | | Review URL: https://codereview.chromium.org/13650002 git-svn-id: http://skia.googlecode.com/svn/trunk@8535 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change - Verify that checkouts are fixedGravatar borenet@google.com2013-04-04
| | | | | | Unreviewed git-svn-id: http://skia.googlecode.com/svn/trunk@8533 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to verify successful builds after master restartGravatar borenet@google.com2013-04-04
| | | | | | Unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@8532 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to test commit queue compile botsGravatar commit-bot@chromium.org2013-04-04
| | | | | | | | | | | | (SkipBuildbotRuns) Author: rmistry@google.com Reviewed By: borenet@google.com Review URL: https://chromiumcodereview.appspot.com/13631002 git-svn-id: http://skia.googlecode.com/svn/trunk@8530 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-04-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8529 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert 8525,8526 pending investigation of bench_pictures crashes.Gravatar bsalomon@google.com2013-04-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8527 2bbb7eff-a529-9590-31e7-b0007b416f81
* Commit file accidentally left out of glc change for r8525Gravatar bsalomon@google.com2013-04-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8526 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove GrTexture::releaseRenderTarget() and add GrSurface::isSameAs().Gravatar bsalomon@google.com2013-04-03
| | | | | | Review URL: https://codereview.chromium.org/13414006 git-svn-id: http://skia.googlecode.com/svn/trunk@8525 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add list of Skia trybots to run CLs against, along with existing lists of ↵Gravatar epoger@google.com2013-04-03
| | | | | | | | | Chrome trybots (SkipBuildbotRuns) Review URL: https://codereview.chromium.org/13545002 git-svn-id: http://skia.googlecode.com/svn/trunk@8522 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make submit_try accept space- or comma-separated listGravatar epoger@google.com2013-04-03
| | | | | | | (SkipBuildbotRuns) Review URL: https://codereview.chromium.org/13535005 git-svn-id: http://skia.googlecode.com/svn/trunk@8521 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to test the commit queue compile botsGravatar commit-bot@chromium.org2013-04-03
| | | | | | | | | | | | (SkipBuildbotRuns) Author: rmistry@google.com Reviewed By: borenet@google.com Review URL: https://chromiumcodereview.appspot.com/13561002 git-svn-id: http://skia.googlecode.com/svn/trunk@8520 2bbb7eff-a529-9590-31e7-b0007b416f81
* re-land r8514 without breaking 32-bit Mac compilersGravatar epoger@google.com2013-04-03
| | | | | | Review URL: https://codereview.chromium.org/13427004 git-svn-id: http://skia.googlecode.com/svn/trunk@8518 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline Ubuntu performance triggerGravatar robertphillips@google.com2013-04-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8516 2bbb7eff-a529-9590-31e7-b0007b416f81
* roll out r8514Gravatar epoger@google.com2013-04-03
| | | | | | Review URL: https://codereview.chromium.org/13503003 git-svn-id: http://skia.googlecode.com/svn/trunk@8515 2bbb7eff-a529-9590-31e7-b0007b416f81
* gm: display summary of all results by ErrorTypeGravatar epoger@google.com2013-04-03
| | | | | | | as discussed in https://codereview.chromium.org/12825005/#msg14 Review URL: https://codereview.chromium.org/12851022 git-svn-id: http://skia.googlecode.com/svn/trunk@8514 2bbb7eff-a529-9590-31e7-b0007b416f81
* Build fix for Surface Test on non-gpu buildsGravatar junov@chromium.org2013-04-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8513 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed bug with SkImage leaving canvas backing store in an immutable state ↵Gravatar junov@chromium.org2013-04-03
| | | | | | | | | after destroy. Added unit test that verifies that surface backing is writable after creating and destroying an image. Review URL: https://codereview.chromium.org/13226002 git-svn-id: http://skia.googlecode.com/svn/trunk@8512 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GrDrawTarget::copySurface.Gravatar bsalomon@google.com2013-04-03
| | | | | | Review URL: https://codereview.chromium.org/13428004 git-svn-id: http://skia.googlecode.com/svn/trunk@8510 2bbb7eff-a529-9590-31e7-b0007b416f81
* Replacing 'new' with 'SkNEW_ARGS' in SkImage_GpuGravatar junov@chromium.org2013-04-03
| | | | | | Review URL: https://codereview.chromium.org/13535004 git-svn-id: http://skia.googlecode.com/svn/trunk@8509 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix build error when building Android in Release mode with -O2.Gravatar djsollen@google.com2013-04-03
| | | | | | | | | | | This fixes the folowing error... ../../../src/pdf/SkPDFShader.cpp: In function 'void gradientFunctionCode(const SkShader::GradientInfo&, SkString*)': ../../../src/pdf/SkPDFShader.cpp:69:19: error: array subscript is above array bounds [-Werror=array-bounds] Review URL: https://codereview.chromium.org/13471011 git-svn-id: http://skia.googlecode.com/svn/trunk@8506 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkDraw.h #include cleanupGravatar tomhudson@google.com2013-04-03
| | | | | | | | | | | | Removal of SkAutoKern header was already done in r8495; this just lands the replacement of #includes with forward declarations for incremental compile speed. https://codereview.appspot.com/8109043/ git-svn-id: http://skia.googlecode.com/svn/trunk@8504 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-04-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8503 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make drawRect preserve vertex attrib state and push/pop the geom sources.Gravatar bsalomon@google.com2013-04-02
| | | | | | | Also, add some balancing calls for setIndexSource*() Review URL: https://codereview.chromium.org/13468004 git-svn-id: http://skia.googlecode.com/svn/trunk@8499 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for effect cache key.Gravatar commit-bot@chromium.org2013-04-02
| | | | | | | | | | | | Adds the additional shift needed to incorporate the attribKeyBits. Also simplifies the creation of the static globals for the edge effects. Author: jvanverth@google.com Reviewed By: bsalomon@google.com Review URL: https://chromiumcodereview.appspot.com/13465019 git-svn-id: http://skia.googlecode.com/svn/trunk@8498 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove unused header declaration.Gravatar commit-bot@chromium.org2013-04-02
| | | | | | | | | | | | | BUG=1179 Author: djsollen@google.com Reviewed By: reed@google.com,tomhudson@chromium.org Review URL: https://chromiumcodereview.appspot.com/13097005 git-svn-id: http://skia.googlecode.com/svn/trunk@8495 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert Skia to use -02.Gravatar djsollen@google.com2013-04-02
| | | | | | | | | | | There was no clear speed improvement and the increase in binary size was substantial. Committed: http://code.google.com/p/skia/source/detail?r=8492 Review URL: https://codereview.chromium.org/13468010 git-svn-id: http://skia.googlecode.com/svn/trunk@8494 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move edge GrEffects to locally defined classes.Gravatar commit-bot@chromium.org2013-04-02
| | | | | | | | | | | | This removes the general GrEdgeEffect and the specialized oval GrEffects and declares them within the renderer files that use them. It also splits GrEdgeEffect into three different GrEffects. Author: jvanverth@google.com Reviewed By: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/13344002 git-svn-id: http://skia.googlecode.com/svn/trunk@8493 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert Skia to use -02.Gravatar commit-bot@chromium.org2013-04-02
| | | | | | | | | | | | | | There was no clear speed improvement and the increase in binary size was substantial. Author: djsollen@google.com Reviewed By: borenet@google.com Review URL: https://chromiumcodereview.appspot.com/13468010 git-svn-id: http://skia.googlecode.com/svn/trunk@8492 2bbb7eff-a529-9590-31e7-b0007b416f81
* Increases batch size for sending bench data to appengine to 66.Gravatar bensong@google.com2013-04-02
| | | | | | | This is part of the attempt to avoid bench step timeout errors (10-20min). Review URL: https://codereview.chromium.org/13430011 git-svn-id: http://skia.googlecode.com/svn/trunk@8491 2bbb7eff-a529-9590-31e7-b0007b416f81
* resubmit https://code.google.com/p/skia/source/detail?r=7883 (in the meantime weGravatar edisonn@google.com2013-04-02
| | | | | | | added capability to collect minidump and callstack if buildbot fails with heap coruption in windows, and a NPE bug was fixed in SkPDFDocument, when document was destroyed without ever beeing used and a field was NULL + a few minor conflicts have been resolved) git-svn-id: http://skia.googlecode.com/svn/trunk@8487 2bbb7eff-a529-9590-31e7-b0007b416f81
* Expand filter 0 to handle transparent drawBitmapRect paintsGravatar robertphillips@google.com2013-04-02
| | | | | | | | https://codereview.chromium.org/13394014/ git-svn-id: http://skia.googlecode.com/svn/trunk@8486 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add tile rendering to GMGravatar robertphillips@google.com2013-04-02
| | | | | | | | https://codereview.chromium.org/13165011/ git-svn-id: http://skia.googlecode.com/svn/trunk@8485 2bbb7eff-a529-9590-31e7-b0007b416f81