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

Unified Diff: src/gpu/GrDrawTargetCaps.h

Issue 72353003: Avoid printing draw target info to stderr while running unit tests (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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/GrDrawTargetCaps.h
diff --git a/src/gpu/GrDrawTargetCaps.h b/src/gpu/GrDrawTargetCaps.h
index f6a6dc8a5963cc34c67c75d314475f88cb1f1147..e597e099c9430e7c56675801ef4b795ee5d846b8 100644
--- a/src/gpu/GrDrawTargetCaps.h
+++ b/src/gpu/GrDrawTargetCaps.h
@@ -5,13 +5,13 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-
-#include "SkRefCnt.h"
-#include "GrTypes.h"
-
#ifndef GrDrawTargetCaps_DEFINED
#define GrDrawTargetCaps_DEFINED
+#include "GrTypes.h"
+#include "SkRefCnt.h"
+#include "SkString.h"
+
/**
* Represents the draw target capabilities.
*/
@@ -24,7 +24,7 @@ public:
GrDrawTargetCaps& operator= (const GrDrawTargetCaps&);
virtual void reset();
- virtual void print() const;
+ virtual SkString dump() const;
bool eightBitPaletteSupport() const { return f8BitPaletteSupport; }
bool npotTextureTileSupport() const { return fNPOTTextureTileSupport; }
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/gl/GrGLCaps.h » ('j') | tests/GrDrawTargetTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698