summaryrefslogtreecommitdiffstats
path: root/libs/hwui/LayerRenderer.cpp
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-10-12 13:48:51 -0700
committerRomain Guy <romainguy@google.com>2011-10-12 13:48:51 -0700
commit7953745dd565167113f8cbfc461bc0521d32d870 (patch)
treef45d34b4b7a6c19c0a639be68e6455a116a93bca /libs/hwui/LayerRenderer.cpp
parent0bbd8d8273c1dde9e0504f67bd8eb159bef2406a (diff)
downloadframeworks_base-7953745dd565167113f8cbfc461bc0521d32d870.zip
frameworks_base-7953745dd565167113f8cbfc461bc0521d32d870.tar.gz
frameworks_base-7953745dd565167113f8cbfc461bc0521d32d870.tar.bz2
Reduce the size of libhwui by 50%
This change removes unnessary symbols. All symbols are hidden by default, public APIs with exported symbols are explicitly marked with ANDROID_API. Change-Id: I692fde432a86c12108de1cfd1f6504919a7d5f3f
Diffstat (limited to 'libs/hwui/LayerRenderer.cpp')
-rw-r--r--libs/hwui/LayerRenderer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/LayerRenderer.cpp b/libs/hwui/LayerRenderer.cpp
index 0799508..dfcc5ea 100644
--- a/libs/hwui/LayerRenderer.cpp
+++ b/libs/hwui/LayerRenderer.cpp
@@ -31,6 +31,12 @@ namespace uirenderer {
// Rendering
///////////////////////////////////////////////////////////////////////////////
+LayerRenderer::LayerRenderer(Layer* layer): mLayer(layer) {
+}
+
+LayerRenderer::~LayerRenderer() {
+}
+
void LayerRenderer::prepareDirty(float left, float top, float right, float bottom, bool opaque) {
LAYER_RENDERER_LOGD("Rendering into layer, fbo = %d", mLayer->getFbo());