is it able to write to the openGL default ColorAttachment of default BackBuffer which is GL_BACK by cudaSurface_t?
and
cudaGraphicsGLRegisterImage(&cuda_tex_screen_resource, *tex_screen,
GL_TEXTURE_2D, cudaGraphicsMapFlagsReadOnly)
*tex_screen should be texture.texUnitID, right?