X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=pbo_frame_allocator.h;h=eead7f4a32f979c8203a184f535862c6f1dab0e2;hb=4a0187ffb4075b4d217b8d9e9c96cac548b199d8;hp=37fd383c3ae6aa8a32c25e03cfa8197d3d5c468e;hpb=8cefe0ef1926be7931d4a9bbfed93ee6e85f3540;p=nageru diff --git a/pbo_frame_allocator.h b/pbo_frame_allocator.h index 37fd383..eead7f4 100644 --- a/pbo_frame_allocator.h +++ b/pbo_frame_allocator.h @@ -55,6 +55,9 @@ public: }; private: + void init_frame(size_t frame_idx, size_t frame_size, GLuint width, GLuint height, GLenum permissions, GLenum map_bits); + void destroy_frame(Frame *frame); + bmusb::PixelFormat pixel_format; std::mutex freelist_mutex; std::queue freelist;