| 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
|
|
|