33
33
class AndroidDriverInterpreter;
36
37
class MirNativeWindow : public ANativeWindow
41
44
int query(int key, int* value) const;
42
45
int perform(int key, va_list args );
43
46
int dequeueBuffer(struct ANativeWindowBuffer** buffer, int* fence);
44
47
int dequeueBufferAndWait(struct ANativeWindowBuffer** buffer);
45
48
int queueBuffer(struct ANativeWindowBuffer* buffer, int fence);
46
50
int cancelBuffer(struct ANativeWindowBuffer* buffer, int fence);
47
52
int setSwapInterval(int interval);
49
54
std::shared_ptr<AndroidDriverInterpreter> const driver_interpreter;
50
56
std::shared_ptr<SyncFileOps> const sync_ops;
51
57
std::vector<struct ANativeWindowBuffer*> cancelled_buffers;