aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src/GrPathUtils.cpp
Commit message (Collapse)AuthorAge
* Pass forceClose "true" to SkPath::Iter constructor inGravatar senorblanco@chromium.org2011-05-17
| | | | | | | | | | | | | | | GrPathUtils::worstCasePointCount(). worstCasePointCount() is sometimes returning a lower value than the number of points subsequently generated by the path renderers. This is because it constructs the SkPath::Iter with forceClose set to "false", while the path renderers use one with forceClose set to "true". They should both be the same, and since we're filling paths, I think it should be set "true". Review URL: http://codereview.appspot.com/4552047/ git-svn-id: http://skia.googlecode.com/svn/trunk@1353 2bbb7eff-a529-9590-31e7-b0007b416f81
* get tests closer to passing for SKIA_SCALAR=fixedGravatar epoger@google.com2011-05-17
| | | | | | | | http://codereview.appspot.com/4532064/ git-svn-id: http://skia.googlecode.com/svn/trunk@1351 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SkPath for GrPath, removing GrPathIter entirelyGravatar reed@google.com2011-05-16
| | | | | | | | http://codereview.appspot.com/4515071/ git-svn-id: http://skia.googlecode.com/svn/trunk@1335 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SkPoint, creating an alias for GrPointGravatar reed@google.com2011-05-06
| | | | | | | | http://codereview.appspot.com/4498041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1268 2bbb7eff-a529-9590-31e7-b0007b416f81
* This CL implements a tesselated path renderer, using GLU's libtess. All of theGravatar senorblanco@chromium.org2011-03-28
fill modes except hairline are supported. Note that the path renderer is not enabled by default; to enable it, replace "GrCreatePathRenderer_none.cpp" with "GrCreatePathRenderer_tesselated.cpp" in skia.gyp, and run gyp_skia, and build. This change also contains a number of build fixes for Win32 (for building SampleApp on VS2008) and Mac (for my ancient Mac Pro which supports GL_EXT_framebuffer_object but not GL_ARB_framebuffer_object). Also, priorityq-heap.c was removed from the SampleApp build, since it's #included by priorityq.c (weird, I know). NB: When this change is rolled into chrome, some modifications to chromium's skia.gyp will be necessary. Review URL: http://codereview.appspot.com/4289072/ git-svn-id: http://skia.googlecode.com/svn/trunk@1012 2bbb7eff-a529-9590-31e7-b0007b416f81