]> git.sesse.net Git - nageru/blobdiff - pbo_frame_allocator.h
Small refactoring in PBOFrameAllocator.
[nageru] / pbo_frame_allocator.h
index 37fd383c3ae6aa8a32c25e03cfa8197d3d5c468e..eead7f4a32f979c8203a184f535862c6f1dab0e2 100644 (file)
@@ -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<Frame> freelist;