OSDN Git Service

winsys/intel: make struct intel_bo alias drm_intel_bo
authorChia-I Wu <olvaffe@gmail.com>
Wed, 12 Jun 2013 09:05:26 +0000 (17:05 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 12 Jun 2013 09:46:52 +0000 (17:46 +0800)
commitadf324ad28ccd9c6fdb8461661b95c2b5d49b6f7
tree7ee70eb43063f92e20c77e91c311f6bc14b11aff
parente7a14eea1616e597215f037708a56f8ad5850815
winsys/intel: make struct intel_bo alias drm_intel_bo

There is really nothing in struct intel_bo, and having it alias drm_intel_bo
makes the winsys impose almost zero overhead.

We can make the overhead gone completely by making the functions static
inline, if needed.
src/gallium/winsys/intel/drm/intel_drm_winsys.c