nouveau: use bo_handle_ref instead of bo_fake to get front-buffer bo
authorBen Skeggs <bskeggs@redhat.com>
Sat, 7 Mar 2009 07:28:08 +0000 (17:28 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sat, 7 Mar 2009 07:49:10 +0000 (17:49 +1000)
commit67f2c6054c7303547c790f283ab3d124ac60a276
tree9e8a95315c196a86432bc27a29e9163cc93f2187
parent22125f63b9b25bd648513f5b680f73e3f80cc1dc
nouveau: use bo_handle_ref instead of bo_fake to get front-buffer bo

This'll work on non-GEM also as the DDX will just pass an offset, and
libdrm_nouveau knows to treat "handle" as a VRAM offset.  When running
on GEM the DDX (it doesn't yet, but will) passes a buffer handle
instead.
src/gallium/winsys/drm/nouveau/common/nouveau_context.c