winsys: Correct Haiku winsys display target code
authorAlexander von Gluck IV <kallisti5@unixzen.com>
Mon, 28 Oct 2013 16:38:27 +0000 (11:38 -0500)
committerAlexander von Gluck IV <kallisti5@unixzen.com>
Tue, 29 Oct 2013 20:27:40 +0000 (15:27 -0500)
commit439dd0e20a3ec5b95487d7ddeb0a8f91781b7b00
tree0662ae732b0c23d1f9631bb353e04d1520e179e0
parentb8f89fc5cbd41a45130630080ffc921c60604545
winsys: Correct Haiku winsys display target code

* Instead of assuming the displaytarget is the same
  stride / colorspace as the destination, lets
  actually check the source bitmap.
* Fixes random stride issues in rendering

Acked-by: Brian Paul <brianp@vmware.com>
src/gallium/winsys/sw/hgl/bitmap_wrapper.cpp
src/gallium/winsys/sw/hgl/bitmap_wrapper.h
src/gallium/winsys/sw/hgl/hgl_sw_winsys.c
src/gallium/winsys/sw/hgl/hgl_sw_winsys.h