From c5ae595e6f71798109c730cd835a2cca79a8877c Mon Sep 17 00:00:00 2001 From: Po-Chien Hsueh Date: Thu, 9 Feb 2017 10:38:34 +0800 Subject: Remove build flag ANDROID_ENABLE_RENDERSCRIPT remove this flag and consider renderscript is always enabled Bug: 34693640 Test: compile Change-Id: I22464e1d64f2a55a60ba9f8ab1510f2811605552 --- libs/hwui/FontRenderer.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libs/hwui/FontRenderer.h') diff --git a/libs/hwui/FontRenderer.h b/libs/hwui/FontRenderer.h index dd9c40f89ad0..329309c1cd5c 100644 --- a/libs/hwui/FontRenderer.h +++ b/libs/hwui/FontRenderer.h @@ -34,7 +34,6 @@ #include -#ifdef ANDROID_ENABLE_RENDERSCRIPT #include "RenderScript.h" namespace RSC { class Element; @@ -42,7 +41,6 @@ namespace RSC { class ScriptIntrinsicBlur; class sp; } -#endif namespace android { namespace uirenderer { @@ -201,12 +199,10 @@ private: FontCacheHistoryTracker mHistoryTracker; #endif -#ifdef ANDROID_ENABLE_RENDERSCRIPT // RS constructs RSC::sp mRs; RSC::sp mRsElement; RSC::sp mRsScript; -#endif static void computeGaussianWeights(float* weights, int32_t radius); static void horizontalBlur(float* weights, int32_t radius, const uint8_t *source, uint8_t *dest, -- cgit v1.2.3-59-g8ed1b