19 #ifndef MIR_GRAPHICS_ANDROID_INTERNAL_CLIENT_WINDOW_H_
20 #define MIR_GRAPHICS_ANDROID_INTERNAL_CLIENT_WINDOW_H_
27 #include <unordered_map>
34 class InternalSurface;
39 class InternalClientWindow :
public AndroidDriverInterpreter
42 InternalClientWindow(std::shared_ptr<InternalSurface>
const&);
44 void driver_returns_buffer(ANativeWindowBuffer*,
int);
45 void dispatch_driver_request_format(
int);
46 int driver_requests_info(
int)
const;
47 void sync_to_display(
bool sync);
50 std::shared_ptr<InternalSurface>
const surface;
51 graphics::Buffer* buffer;
54 graphics::Buffer* buffer;
55 std::shared_ptr<graphics::NativeBuffer> handle;
57 std::unordered_map<ANativeWindowBuffer*, Item> lookup;
struct MirBufferPackage NativeBuffer
Definition: native_buffer.h:35