diff options
author | Derek Sollenberger <djsollen@google.com> | 2016-07-22 12:13:32 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2016-07-26 13:05:13 -0400 |
commit | 56ad6ec42f814e9e61030ff819cac4e5d31def8b (patch) | |
tree | 610b7d16969d959520f57185b0845f47dddb303b /libs/hwui/Layer.cpp | |
parent | e116bcf72a71f96c0c5bfcd79a329c7c77eabf34 (diff) |
Remove LayerRenderer.
There is only one caller each for the static functions here so this
CL moves the logic to the caller. Also by moving some of the code
into the pipeline it makes it easier for future changes to configure
how a pipeline handles a layer.
Change-Id: Ib735b5154325cbb658fd151f7a19dbf434ab44b7
Diffstat (limited to 'libs/hwui/Layer.cpp')
-rw-r--r-- | libs/hwui/Layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Layer.cpp b/libs/hwui/Layer.cpp index b911b6825226..4e12bcef8a4f 100644 --- a/libs/hwui/Layer.cpp +++ b/libs/hwui/Layer.cpp @@ -41,7 +41,7 @@ Layer::Layer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight // TODO: This is a violation of Android's typical ref counting, but it // preserves the old inc/dec ref locations. This should be changed... incStrong(nullptr); - renderTarget = GL_TEXTURE_2D; + renderTarget = GL_NONE; // see DeferredLayerUpdater::updateLayer() texture.mWidth = layerWidth; texture.mHeight = layerHeight; renderState.registerLayer(this); |