Import gbm internal header files.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Tue, 26 Feb 2013 09:30:25 +0000 (17:30 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 10 Apr 2013 06:51:30 +0000 (14:51 +0800)
commit38b2495791c910b328feae86fc5fdccc1d786edc
tree0b72f2d5bc4645fb53f7d1e4a8338b198d4ab2b6
parent85e1ffb74983ecfb1a411b625aacf55a282d8e9f
Import gbm internal header files.

Prepartion to support cl_khr_gl_sharing extension. I
decide to use egl/gbm/dri2 image extension to implement
it.

The reason why we need to import gbm internal header files
is that gbm doesn't initialize the image extension by default
with x11 platform. As it doesn't know the default display and
the context when create a gbm device. We have to use its internal
structure to initialize the image extension properly after the
gbm device's creation. We are not the only one to do that way,
the EGL drm platform does the same thing.

To avoid dependencies to the whole mesa source package, I have
to copy the related header files here.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Tested-by: Homer Hsing <homer.xing@intel.com>
src/x11/gbm_deps/backend.h [new file with mode: 0644]
src/x11/gbm_deps/common.h [new file with mode: 0644]
src/x11/gbm_deps/common_drm.h [new file with mode: 0644]
src/x11/gbm_deps/gbm.h [new file with mode: 0644]
src/x11/gbm_deps/gbm_driint.h [new file with mode: 0644]
src/x11/gbm_deps/gbmint.h [new file with mode: 0644]