Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: src/gpu/GrDrawTarget.h

Issue 1889453002: Tweak distance field path renderer behavior in gamma-correct mode (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Cleaner solution Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/GrDrawTarget.h
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index c863b455b36ed8ae630424daf503c179cdb8d6b1..b79153064cf08e4d30ee22ce384d6e641c92be91 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -105,6 +105,11 @@ public:
*/
const GrCaps* caps() const { return fGpu->caps(); }
+ /**
+ * Gets the pixel config of the underlying render target.
+ */
+ GrPixelConfig config() const { return fRenderTarget->config(); }
bsalomon 2016/04/13 14:36:23 +Rob
robertphillips 2016/04/13 15:28:45 Commented in person but, can we make the getter mo
+
void drawBatch(const GrPipelineBuilder&, GrDrawBatch*, const SkIRect* scissorRect = nullptr);
/**
« no previous file with comments | « no previous file | src/gpu/batches/GrAADistanceFieldPathRenderer.cpp » ('j') | src/gpu/effects/GrDistanceFieldGeoProc.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698