Use C-like API for GraphicsContext
Use C-like API for Texture
Use C-like API for D3DContext
Use C-like API for D3DTexture
Libvidgfx API cleanup
Merge branch 'capi'