Move Canvas

Change-Id: I83d557af30fc2d5c69d06eedc0f4d52ac41c4210
This commit is contained in:
John Reck
2015-01-20 07:51:14 -08:00
parent df8e59abe5
commit 849911a9c4
8 changed files with 19 additions and 50 deletions

View File

@@ -117,7 +117,6 @@ LOCAL_SRC_FILES:= \
android/graphics/Rasterizer.cpp \
android/graphics/Region.cpp \
android/graphics/Shader.cpp \
android/graphics/SkiaCanvas.cpp \
android/graphics/SurfaceTexture.cpp \
android/graphics/Typeface.cpp \
android/graphics/TypefaceImpl.cpp \

View File

@@ -1,19 +0,0 @@
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// This header is shared with other libraries and as such is located in a
// separate directory.
#include <private/graphics/Canvas.h>

View File

@@ -18,7 +18,7 @@
#include "GraphicsJNI.h"
#include "core_jni_helpers.h"
#include "Canvas.h"
#include <Canvas.h>
#include "SkDrawFilter.h"
#include "SkGraphics.h"
#include "SkPorterDuff.h"

View File

@@ -52,6 +52,7 @@ LOCAL_SRC_FILES := \
RenderState.cpp \
ResourceCache.cpp \
ShadowTessellator.cpp \
SkiaCanvas.cpp \
SkiaShader.cpp \
Snapshot.cpp \
SpotShadow.cpp \

View File

@@ -4,7 +4,6 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE := libhwui
LOCAL_MODULE_TAGS := optional
include $(LOCAL_PATH)/Android.common.mk

View File

@@ -17,13 +17,15 @@
#ifndef ANDROID_GRAPHICS_CANVAS_H
#define ANDROID_GRAPHICS_CANVAS_H
#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkMatrix.h"
#include <cutils/compiler.h>
#include <SkBitmap.h>
#include <SkCanvas.h>
#include <SkMatrix.h>
namespace android {
class Canvas {
class ANDROID_API Canvas {
public:
virtual ~Canvas() {};

View File

@@ -25,8 +25,7 @@
#include <SkTLazy.h>
#include <cutils/compiler.h>
#include <private/graphics/Canvas.h>
#include "Canvas.h"
#include "CanvasState.h"
#include "DisplayList.h"
#include "DisplayListLogBuffer.h"

View File

@@ -14,30 +14,18 @@
* limitations under the License.
*/
#include "jni.h"
#include "Canvas.h"
#include "GraphicsJNI.h"
#include <android_runtime/AndroidRuntime.h>
#include "SkCanvas.h"
#include "SkClipStack.h"
#include "SkDevice.h"
#include "SkDeque.h"
#include "SkDrawFilter.h"
#include "SkGraphics.h"
#include "SkPorterDuff.h"
#include "SkShader.h"
#include "SkTArray.h"
#include "SkTemplates.h"
#include "MinikinUtils.h"
#include "TypefaceImpl.h"
#include "unicode/ubidi.h"
#include "unicode/ushape.h"
#include <utils/Log.h>
#include <SkCanvas.h>
#include <SkClipStack.h>
#include <SkDevice.h>
#include <SkDeque.h>
#include <SkDrawFilter.h>
#include <SkGraphics.h>
#include <SkPorterDuff.h>
#include <SkShader.h>
#include <SkTArray.h>
#include <SkTemplates.h>
namespace android {