summaryrefslogtreecommitdiff
path: root/libs/hwui/FontRenderer.h
diff options
context:
space:
mode:
author Po-Chien Hsueh <pchsueh@google.com> 2017-02-09 10:38:34 +0800
committer Po-Chien Hsueh <pchsueh@google.com> 2017-02-09 15:00:09 +0800
commitc5ae595e6f71798109c730cd835a2cca79a8877c (patch)
treea228eb79eb5003000262b29c28ed67e67844ae56 /libs/hwui/FontRenderer.h
parent47c4c94100e1ec861d2c2593ad66ba050bbe93fe (diff)
Remove build flag ANDROID_ENABLE_RENDERSCRIPT
remove this flag and consider renderscript is always enabled Bug: 34693640 Test: compile Change-Id: I22464e1d64f2a55a60ba9f8ab1510f2811605552
Diffstat (limited to 'libs/hwui/FontRenderer.h')
-rw-r--r--libs/hwui/FontRenderer.h4
1 files changed, 0 insertions, 4 deletions
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 <vector>
-#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<RSC::RS> mRs;
RSC::sp<const RSC::Element> mRsElement;
RSC::sp<RSC::ScriptIntrinsicBlur> 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,