swr: [rasterizer core] make all api functions call GetContext