summaryrefslogtreecommitdiff
path: root/libs/hwui/OpenGLReadback.cpp
diff options
context:
space:
mode:
author Greg Daniel <egdaniel@google.com> 2017-01-09 14:15:41 -0500
committer Greg Daniel <egdaniel@google.com> 2017-01-10 15:05:07 -0500
commit8cd3edfa15cc9cdbffa935d19ab894426b08d174 (patch)
tree289ec13531b91be5adf6306d8d70434bc756b2c1 /libs/hwui/OpenGLReadback.cpp
parentd14cafc27255e0ed44665a0975a57c487b841ab1 (diff)
Break Layer class into Gl and Vulkan subclasses
Test: manual testing Change-Id: Ibd2beed39de3ac6da7448e96496253cfe427dfbb
Diffstat (limited to 'libs/hwui/OpenGLReadback.cpp')
-rw-r--r--libs/hwui/OpenGLReadback.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/OpenGLReadback.cpp b/libs/hwui/OpenGLReadback.cpp
index 938b6efa7901..c460c0d2dfd4 100644
--- a/libs/hwui/OpenGLReadback.cpp
+++ b/libs/hwui/OpenGLReadback.cpp
@@ -19,7 +19,7 @@
#include "Caches.h"
#include "Image.h"
#include "GlopBuilder.h"
-#include "Layer.h"
+#include "GlLayer.h"
#include "renderstate/RenderState.h"
#include "renderthread/EglManager.h"
#include "utils/GLUtils.h"
@@ -262,7 +262,7 @@ CopyResult OpenGLReadbackImpl::copyImageInto(EGLImageKHR eglImage,
}
bool OpenGLReadbackImpl::copyLayerInto(renderthread::RenderThread& renderThread,
- Layer& layer, SkBitmap* bitmap) {
+ GlLayer& layer, SkBitmap* bitmap) {
return CopyResult::Success == copyTextureInto(Caches::getInstance(),
renderThread.renderState(), layer.getTexture(), layer.getTexTransform(),
Rect(), bitmap);