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

Unified Diff: dm/DM.cpp

Issue 943393002: Add HWUI Sink to DM on Android Framework builds (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove unnecessary SkStringPrintf() calls Created 5 years, 10 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
« no previous file with comments | « no previous file | dm/DMSrcSinkAndroid.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index b41a77f8ade05aa36a1220d455056f7cbc6759ca..a64813dc6ead96b1651a987fbec8a201fbf9289d 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -1,6 +1,7 @@
#include "CrashHandler.h"
#include "DMJsonWriter.h"
#include "DMSrcSink.h"
+#include "DMSrcSinkAndroid.h"
#include "OverwriteLine.h"
#include "ProcStats.h"
#include "SkBBHFactory.h"
@@ -224,6 +225,10 @@ static Sink* create_sink(const char* tag) {
#endif
}
+#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
+ SINK("hwui", HWUISink);
+#endif
+
if (FLAGS_cpu) {
SINK("565", RasterSink, kRGB_565_SkColorType);
SINK("8888", RasterSink, kN32_SkColorType);
« no previous file with comments | « no previous file | dm/DMSrcSinkAndroid.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698