Fix gallium dri compile and a merge conflict
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 2 Nov 2011 16:01:23 +0000 (12:01 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 2 Nov 2011 16:01:46 +0000 (12:01 -0400)
src/gallium/state_trackers/dri/drm/dri2.c
src/gallium/state_trackers/dri/sw/dri_drawable.c [new symlink]
src/gallium/targets/Makefile.dri

index a62a084c13f1d3f56680b66c4ef0520aff5527b4..357cc4994daa48a5fae6f565dae17b42f3304962 100644 (file)
@@ -701,7 +701,6 @@ dri2_create_buffer(__DRIscreen * sPriv,
  * DRI versions differ in their implementation of init_screen and swap_buffers.
  */
 const struct __DriverAPIRec driDriverAPI = {
-   .InitScreen = NULL,
    .InitScreen2 = dri2_init_screen,
    .DestroyScreen = dri_destroy_screen,
    .CreateContext = dri_create_context,
@@ -711,13 +710,6 @@ const struct __DriverAPIRec driDriverAPI = {
    .MakeCurrent = dri_make_current,
    .UnbindContext = dri_unbind_context,
 
-   .GetSwapInfo = NULL,
-   .GetDrawableMSC = NULL,
-   .WaitForMSC = NULL,
-
-   .SwapBuffers = NULL,
-   .CopySubBuffer = NULL,
-
    .AllocateBuffer = dri2_allocate_buffer,
    .ReleaseBuffer  = dri2_release_buffer,
 };
diff --git a/src/gallium/state_trackers/dri/sw/dri_drawable.c b/src/gallium/state_trackers/dri/sw/dri_drawable.c
new file mode 120000 (symlink)
index 0000000..0fc19be
--- /dev/null
@@ -0,0 +1 @@
+../common/dri_drawable.c
\ No newline at end of file
index eb2d66c0931581b3efbb8cba506f67e27bc614ec..e828d4fcaae878d940a76e63860355d4ee4c2149 100644 (file)
@@ -12,7 +12,6 @@ MESA_MODULES = \
 
 COMMON_GALLIUM_SOURCES = \
         $(TOP)/src/mesa/drivers/dri/common/utils.c \
-        $(TOP)/src/mesa/drivers/dri/common/vblank.c \
         $(TOP)/src/mesa/drivers/dri/common/dri_util.c \
         $(TOP)/src/mesa/drivers/dri/common/xmlconfig.c