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

Unified Diff: src/utils/android/SkHwuiRenderer.h

Issue 1407053009: Simplify linkages to Android framework internals (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: One gyp file is much like another Created 5 years, 2 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 | « gyp/utils.gyp ('k') | src/utils/android/SkHwuiRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/android/SkHwuiRenderer.h
diff --git a/src/utils/android/SkHwuiRenderer.h b/src/utils/android/SkHwuiRenderer.h
deleted file mode 100644
index 0a2762a34039997cc0b4522b6f45d6df223a5758..0000000000000000000000000000000000000000
--- a/src/utils/android/SkHwuiRenderer.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright 2015 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkHwuiRenderer_DEFINED
-#define SkHwuiRenderer_DEFINED
-
-#include "DisplayListCanvas.h"
-#include "RenderNode.h"
-#include "SkTypes.h"
-#include "gui/CpuConsumer.h"
-#include "gui/IGraphicBufferConsumer.h"
-#include "gui/IGraphicBufferProducer.h"
-#include "gui/Surface.h"
-#include "renderthread/RenderProxy.h"
-
-class SkBitmap;
-
-struct SkHwuiRenderer {
- SkAutoTDelete<android::uirenderer::RenderNode> rootNode;
- SkAutoTDelete<android::uirenderer::renderthread::RenderProxy> proxy;
- SkAutoTDelete<android::uirenderer::DisplayListCanvas> canvas;
- android::sp<android::IGraphicBufferProducer> producer;
- android::sp<android::IGraphicBufferConsumer> consumer;
- android::sp<android::CpuConsumer> cpuConsumer;
- android::sp<android::Surface> androidSurface;
- SkISize size;
-
- void initialize(SkISize size);
-
- /// Returns a canvas to draw into.
- SkCanvas* prepareToDraw();
-
- void finishDrawing();
-
- bool capturePixels(SkBitmap* bmp);
-};
-
-#endif // SkHwuiRenderer_DEFINED
« no previous file with comments | « gyp/utils.gyp ('k') | src/utils/android/SkHwuiRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698