DisplayDevice only needs ANativeWindow not SurfaceTextureClient
Change-Id: Ib5be5af8bede435c8d5d9fabf586d28d0e74c2cb
This commit is contained in:
parent
888c822c4c
commit
d8552d796c
@ -108,7 +108,7 @@ DisplayDevice::DisplayDevice()
|
||||
DisplayDevice::DisplayDevice(
|
||||
const sp<SurfaceFlinger>& flinger,
|
||||
int display,
|
||||
const sp<SurfaceTextureClient>& surface,
|
||||
const sp<ANativeWindow>& surface,
|
||||
EGLConfig config)
|
||||
: mFlinger(flinger),
|
||||
mId(display),
|
||||
|
@ -30,13 +30,14 @@
|
||||
|
||||
#include "Transform.h"
|
||||
|
||||
struct ANativeWindow;
|
||||
|
||||
namespace android {
|
||||
|
||||
class DisplayInfo;
|
||||
class FramebufferSurface;
|
||||
class LayerBase;
|
||||
class SurfaceFlinger;
|
||||
class SurfaceTextureClient;
|
||||
|
||||
class DisplayDevice
|
||||
{
|
||||
@ -63,7 +64,7 @@ public:
|
||||
DisplayDevice(
|
||||
const sp<SurfaceFlinger>& flinger,
|
||||
int dpy,
|
||||
const sp<SurfaceTextureClient>& surface,
|
||||
const sp<ANativeWindow>& surface,
|
||||
EGLConfig config);
|
||||
|
||||
~DisplayDevice();
|
||||
@ -136,7 +137,7 @@ private:
|
||||
int32_t mId;
|
||||
|
||||
// ANativeWindow this display is rendering into
|
||||
sp<SurfaceTextureClient> mNativeWindow;
|
||||
sp<ANativeWindow> mNativeWindow;
|
||||
|
||||
// set if mNativeWindow is a FramebufferSurface
|
||||
sp<FramebufferSurface> mFramebufferSurface;
|
||||
|
Loading…
Reference in New Issue
Block a user