i965: Add hardware context support.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Jun 2012 19:07:09 +0000 (12:07 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 10 Jul 2012 22:09:58 +0000 (15:09 -0700)
commit860d5bdf984730f69cd19b4f7145f3c84b57d33d
treedfff53f1153543e04713fe5a12b0030c87972c72
parent4fae5e32d5272986e9e64303eadc974d57e7b3ed
i965: Add hardware context support.

With fixes and updates from Ben Widawsky and comments from Paul Berry.

v2: Use drm_intel_gem_context_destroy to destroy hardware context;
    remove useless initialization of hw_ctx, both suggested by Eric.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Acked-by: Paul Berry <stereotype441@gmail.com>
configure.ac
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_vtbl.c
src/mesa/drivers/dri/intel/intel_batchbuffer.c
src/mesa/drivers/dri/intel/intel_context.h