我可以使用OpenGL glMapBuffer渲染映射(cpu映射)的IDXGISurface吗?
IDXGISurface* currentSurface;
DXGI_MAPPED_RECT mapped_rect;
..
..(code that sending buffer to other process)
..
void *data = glMapBuffer( GL_ARRAY_BUFFER, ... );
memcpy( data, mapped_rect.pBits, size);