public:
FrameBufferAndroid(ANativeWindow* window, int width, int height);
- ~FrameBufferAndroid();
+ ~FrameBufferAndroid() override;
void flip(void *source, Format sourceFormat, size_t sourceStride) override {blit(source, 0, 0, sourceFormat, sourceStride);};
void blit(void *source, const Rect *sourceRect, const Rect *destRect, Format sourceFormat, size_t sourceStride) override;
private:
ANativeWindow* nativeWindow;
ANativeWindowBuffer* buffer;
- gralloc_module_t const* gralloc;
};
}