Move Canvas
Change-Id: I83d557af30fc2d5c69d06eedc0f4d52ac41c4210
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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>
|
||||
@@ -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"
|
||||
|
||||
@@ -52,6 +52,7 @@ LOCAL_SRC_FILES := \
|
||||
RenderState.cpp \
|
||||
ResourceCache.cpp \
|
||||
ShadowTessellator.cpp \
|
||||
SkiaCanvas.cpp \
|
||||
SkiaShader.cpp \
|
||||
Snapshot.cpp \
|
||||
SpotShadow.cpp \
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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() {};
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user