aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAAConvexPathRenderer.cpp
Commit message (Collapse)AuthorAge
* As part of preliminary groundwork for a chromium fix, this changelist is ↵Gravatar sugoi@google.com2012-12-06
| | | | | | | | | | deprecating GrPathFill so that SkPath::FillType is used everywhere in order to remove some code duplication between Skia and Ganesh. BUG=chromium:135111 TEST=Try path rendering tests from the gm Review URL: https://codereview.appspot.com/6875058 git-svn-id: http://skia.googlecode.com/svn/trunk@6693 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make SkPath cache the result of cheapComputeDirection.Gravatar bsalomon@google.com2012-11-13
| | | | | | Review URL: https://codereview.appspot.com/6810111 git-svn-id: http://skia.googlecode.com/svn/trunk@6394 2bbb7eff-a529-9590-31e7-b0007b416f81
* Replace GrMatrix with SkMatrix.Gravatar bsalomon@google.com2012-11-01
| | | | | | Review URL: https://codereview.appspot.com/6814067 git-svn-id: http://skia.googlecode.com/svn/trunk@6247 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove GrScalar, replace with SkScalar.Gravatar bsalomon@google.com2012-11-01
| | | | | | Review URL: https://codereview.appspot.com/6812064 git-svn-id: http://skia.googlecode.com/svn/trunk@6243 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make additional code paths go through GrDrawState helper classes for their ↵Gravatar bsalomon@google.com2012-10-08
| | | | | | | | | matrix manipulations. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6615064 git-svn-id: http://skia.googlecode.com/svn/trunk@5856 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove translate param from GrContext::drawPath (and subsequent calls).Gravatar bsalomon@google.com2012-10-08
| | | | | | Review URL: https://codereview.appspot.com/6615062 git-svn-id: http://skia.googlecode.com/svn/trunk@5852 2bbb7eff-a529-9590-31e7-b0007b416f81
* Hide GrDrawTarget::Caps's member varsGravatar bsalomon@google.com2012-08-28
| | | | | | | | Review URL: https://codereview.appspot.com/6499044 git-svn-id: http://skia.googlecode.com/svn/trunk@5328 2bbb7eff-a529-9590-31e7-b0007b416f81
* Result of running tools/sanitize_source_files.py (which was added in ↵Gravatar rmistry@google.com2012-08-23
| | | | | | | | | https://codereview.appspot.com/6465078/) This CL is part I of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6485054 git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove stage masksGravatar bsalomon@google.com2012-07-20
| | | | | | | | Review URL: http://codereview.appspot.com/6422047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4688 2bbb7eff-a529-9590-31e7-b0007b416f81
* Preserve convex control point polygon in cubic->quadratic approximationGravatar bsalomon@google.com2012-07-10
| | | | | | | | | | | | GM test modified, will require rebaselining. Review URL: http://codereview.appspot.com/6355088/ git-svn-id: http://skia.googlecode.com/svn/trunk@4518 2bbb7eff-a529-9590-31e7-b0007b416f81
* Simplify vertex layout bitfields by making Position-as-texcoords theGravatar tomhudson@google.com2012-06-25
| | | | | | | | | | default. http://codereview.appspot.com/6337050/ git-svn-id: http://skia.googlecode.com/svn/trunk@4321 2bbb7eff-a529-9590-31e7-b0007b416f81
* Search and replace change. Some Gr enum value names didn't have a "Gr" in ↵Gravatar bsalomon@google.com2012-06-06
| | | | | | | | | | | their suffix. Verbal LGTM from TomH git-svn-id: http://skia.googlecode.com/svn/trunk@4198 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updated useSWOnlyPath method to use path chain instead of raw path renderer ↵Gravatar robertphillips@google.com2012-05-24
| | | | | | | | | | methods http://codereview.appspot.com/6211083/ git-svn-id: http://skia.googlecode.com/svn/trunk@4038 2bbb7eff-a529-9590-31e7-b0007b416f81
* First functioning version of SW-only clip mask creatorGravatar robertphillips@google.com2012-05-17
| | | | | | | | http://codereview.appspot.com/6208072/ git-svn-id: http://skia.googlecode.com/svn/trunk@3984 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove GrPath typedefGravatar bsalomon@google.com2012-04-27
| | | | | | | | Review URL: http://codereview.appspot.com/6128045/ git-svn-id: http://skia.googlecode.com/svn/trunk@3780 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make fewer copies when using GrDrawTarget::AutoStateRestoreGravatar bsalomon@google.com2012-03-30
| | | | | | | | Review URL: http://codereview.appspot.com/5938043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3557 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix Coverity reports. (Mostly use of uninitialised values.)Gravatar vandebo@chromium.org2012-03-28
| | | | | | | | | | CID=537,103419,103631,103632,103633 Initial review: https://codereview.appspot.com/5936047/ Review URL: https://codereview.appspot.com/5935051 git-svn-id: http://skia.googlecode.com/svn/trunk@3534 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r3523 and r2522Gravatar vandebo@chromium.org2012-03-28
| | | | | | Review URL: https://codereview.appspot.com/5939051 git-svn-id: http://skia.googlecode.com/svn/trunk@3524 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix Coverity reports. (Mostly use of uninitialised values.)Gravatar vandebo@chromium.org2012-03-28
| | | | | | | | CID=537,103419,103631,103632,103633 Review URL: https://codereview.appspot.com/5936047 git-svn-id: http://skia.googlecode.com/svn/trunk@3522 2bbb7eff-a529-9590-31e7-b0007b416f81
* Convert SkMatrix::I() assignments to SkMatrix::reset() callsGravatar bsalomon@google.com2012-03-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3441 2bbb7eff-a529-9590-31e7-b0007b416f81
* Perform degenerate check in device coords in convex path rendererGravatar bsalomon@google.com2012-03-15
| | | | | | | | Review URL: http://codereview.appspot.com/5821053/ git-svn-id: http://skia.googlecode.com/svn/trunk@3401 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allow compiler to optimize applying quadratic UV matrix to vertsGravatar bsalomon@google.com2012-03-15
| | | | | | | | Code Review: http://codereview.appspot.com/5833048/ git-svn-id: http://skia.googlecode.com/svn/trunk@3398 2bbb7eff-a529-9590-31e7-b0007b416f81
* make pathrenderers release their geometry before returningGravatar bsalomon@google.com2012-03-07
| | | | | | | | Review URL: http://codereview.appspot.com/5753073/ git-svn-id: http://skia.googlecode.com/svn/trunk@3335 2bbb7eff-a529-9590-31e7-b0007b416f81
* Recommit r3321 with fix for path orientation reversal.Gravatar bsalomon@google.com2012-03-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3328 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r3321 because of GM failureGravatar bsalomon@google.com2012-03-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3323 2bbb7eff-a529-9590-31e7-b0007b416f81
* Avoid making a copy of the path in GrAAConvexPathRendererGravatar bsalomon@google.com2012-03-05
| | | | | | | Review URL: http://codereview.appspot.com/5720074/ git-svn-id: http://skia.googlecode.com/svn/trunk@3321 2bbb7eff-a529-9590-31e7-b0007b416f81
* Prealloc space for ~10 segments in GrAAConvexPathRendererGravatar bsalomon@google.com2012-03-05
| | | | | | | | Review URL: http://codereview.appspot.com/5726058/ git-svn-id: http://skia.googlecode.com/svn/trunk@3317 2bbb7eff-a529-9590-31e7-b0007b416f81
* minor improvement, remove some conditionals in GrAAConvexPathRendererGravatar bsalomon@google.com2012-03-05
| | | | | | | | Review URL: http://codereview.appspot.com/5728060 git-svn-id: http://skia.googlecode.com/svn/trunk@3316 2bbb7eff-a529-9590-31e7-b0007b416f81
* simplify GrPathRenderer interfaceGravatar bsalomon@google.com2012-03-02
| | | | | | | | Review URL: http://codereview.appspot.com/5706053/ git-svn-id: http://skia.googlecode.com/svn/trunk@3312 2bbb7eff-a529-9590-31e7-b0007b416f81
* In convex path renderer, translate polygon to origin for fanPt computationGravatar bsalomon@google.com2012-02-23
| | | | | | | | Review URL: http://codereview.appspot.com/5698051/ git-svn-id: http://skia.googlecode.com/svn/trunk@3241 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use cheapComputeDirection to determine normal facing in GrAAConvexPathRendererGravatar bsalomon@google.com2012-02-15
| | | | | | | | Review URL: http://codereview.appspot.com/5649083/ git-svn-id: http://skia.googlecode.com/svn/trunk@3198 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix degenerate test in convex path renderer Gravatar bsalomon@google.com2012-01-31
| | | | | | | | Review URL: http://codereview.appspot.com/5581058/ git-svn-id: http://skia.googlecode.com/svn/trunk@3118 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reland r3078 (original failures that led to revert were problems with the bot)Gravatar bsalomon@google.com2012-01-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3101 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert 3078Gravatar bsalomon@google.com2012-01-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3079 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix interior issues in convex path rendererGravatar bsalomon@google.com2012-01-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3078 2bbb7eff-a529-9590-31e7-b0007b416f81
* Incorporate changes related to Tom's post-hoc comments on the convex path ↵Gravatar bsalomon@google.com2012-01-17
| | | | | | renderer. git-svn-id: http://skia.googlecode.com/svn/trunk@3045 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add convex path renderer (disabled)Gravatar bsalomon@google.com2012-01-17
Review URL: http://codereview.appspot.com/5533061/ git-svn-id: http://skia.googlecode.com/svn/trunk@3040 2bbb7eff-a529-9590-31e7-b0007b416f81