swr: [rasterizer core] make all api functions call GetContext
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 16 Jun 2016 19:53:28 +0000 (13:53 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Tue, 12 Jul 2016 16:10:36 +0000 (11:10 -0500)
commiteb6b2b340e685e977148784f72289c919ce6c74f
treeba4bd9c49acae262c889d3d673f0bf03a3f71698
parentf8109076696a182da8180b0ee102c5a39f73d36a
swr: [rasterizer core] make all api functions call GetContext

Small api cleanup.  Make all api functions call GetContext instead
of locally casting handle.  Makes debugging easier by providing a
single point to track context changes.

Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/rasterizer/core/api.cpp