diff options
author | 2015-05-27 11:02:55 -0700 | |
---|---|---|
committer | 2015-05-27 11:02:55 -0700 | |
commit | ccb1b5751075506b4615d2112889d01ee8ad6436 (patch) | |
tree | 84bac0d48ad26f2f3bdb8c4b2ddeb95bb3459750 /include | |
parent | 24a366a03756d7a8755f940d3160698cf9122cc0 (diff) |
Move SkGpuDevice::internalDrawPath to GrBlurUtils::drawPathWithMaskFilter
This CL is ugly but it:
removes the stored SkGpuDevice back pointer from GrTextContext (at the cost of passing more parameters)
moves SkGpuDevice::internalDrawPath to GrDrawContext::drawPathFull
Unfortunately, the GrTextContext-derived classes still need the SkGpuDevice for filterTextFlags calls but I will try removing that in a separate CL.
Review URL: https://codereview.chromium.org/1157773003
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrContext.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index 2167513d2e..56ba262b86 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -480,11 +480,9 @@ private: * render target and the context. Caller assumes the ownership * of the returned object. The returned object must be deleted * before the context is destroyed. - * TODO we can possibly bury this behind context, but we need to be able to use the - * drawText_asPaths logic on SkGpuDevice + * TODO bury this behind context! */ GrTextContext* createTextContext(GrRenderTarget*, - SkGpuDevice*, const SkDeviceProperties&, bool enableDistanceFieldFonts); |