OpenGL cv::cuda::GpuMat::Allocator
dtmoodie opened this issue · comments
Allocates gpu mat memory out of an opengl buffer for quick texture creation.
Initially everything can be allocated out of global gpu memory. If we correctly tag the scope in the memory manager, then we can track which gpumat's get copied to opengl buffers. We can then predict which allocations will need to be from opengl memory.