Zhigang Gong
c97d4533f2
glamor: Silent compilation warnings due to some deprecated APIs.
...
those xcalloc/xfree/xalloc/XNFprintf/... are deprecated. Replace
then with the new one. And fix some other minor problems.
2011-09-26 16:46:34 +08:00
Zhigang Gong
e3295d4106
glamor-ddx: Move the cursor EGL image to crtc strcture.
...
Cursor is a per crtc resource. And this commit also fix the cursor
initialization regard to the latest mesa EGL code. Now hardware
cursor works fine.
2011-09-26 16:46:34 +08:00
Zhigang Gong
4328037268
glamor-ddx: Fix a compiling error. Need revisit.
...
GC is redefined in the X11/Xlib.h and include/gcstruct.h which is
a xorg header file. Just use a macro to simply avoid the conflict.
Need revisit latter to find a correct way to fix this problem.
2011-09-26 16:46:34 +08:00
Zhigang Gong
18a52e2388
glamor-ddx: Migrate the code to latest mesa library.
...
Use eglCreateDRMImageMESA to create surfaceless image. And then
export the drm buffer back which can be used to create the frame
buffer.
2011-09-26 16:46:34 +08:00
Zhigang Gong
6dae8dc7ea
glamor: Add glamor-ddx driver to the build tree.
...
Correct the linking parameters and add dependency to the libglamor.a.
2011-09-26 16:46:34 +08:00
Kristian Høgsberg
49bf0e301e
glamor ddx driver using EGL on KMS
2011-09-26 16:46:34 +08:00