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

Unified Diff: include/gpu/GrContext.h

Issue 1196683003: remove SkDeviceProperties (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up Created 5 years, 6 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: include/gpu/GrContext.h
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index a98cf0bf91abee1a5c04066fb106c4fdf28dd54a..8ff108e2a1c098cc0430c9d7d2cc51c4448fb135 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -180,8 +180,8 @@ public:
*
* @return a draw context
*/
- GrDrawContext* drawContext(const SkDeviceProperties* devProps = NULL) {
- return fDrawingMgr.drawContext(devProps);
+ GrDrawContext* drawContext(const SkSurfaceProps* surfaceProps = NULL) {
+ return fDrawingMgr.drawContext(surfaceProps);
}
///////////////////////////////////////////////////////////////////////////
@@ -419,7 +419,7 @@ private:
// Callers should take a ref if they rely on the GrDrawContext sticking around.
// NULL will be returned if the context has been abandoned.
- GrDrawContext* drawContext(const SkDeviceProperties* devProps);
+ GrDrawContext* drawContext(const SkSurfaceProps* surfaceProps);
private:
void cleanup();

Powered by Google App Engine
This is Rietveld 408576698