gallium/swrast: fixup build breakage and warnings
authorDave Airlie <airlied@gmail.com>
Sat, 31 Oct 2015 06:11:29 +0000 (16:11 +1000)
committerDave Airlie <airlied@gmail.com>
Sat, 31 Oct 2015 06:16:44 +0000 (16:16 +1000)
The front buffer rendering changes broke an interface, I didn't
fix up all of them.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/winsys/sw/gdi/gdi_sw_winsys.c
src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c
src/gallium/winsys/sw/null/null_sw_winsys.c
src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c
src/gallium/winsys/sw/xlib/xlib_sw_winsys.c
src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c

index dc725f4b90c3abb08480f010f7e1f64ecad8801a..16f641833c6d8b8897ed1841077309c5b11f725e 100644 (file)
@@ -124,6 +124,7 @@ gdi_sw_displaytarget_create(struct sw_winsys *winsys,
                                   enum pipe_format format,
                                   unsigned width, unsigned height,
                                   unsigned alignment,
+                                  const void *front_private,
                                   unsigned *stride)
 {
    struct gdi_sw_displaytarget *gdt;
index 900c49f83e69c0fce6b4f631c9296669c95e95ad..1e859717f1cd209a3850ae3ee761acdfa61b371c 100644 (file)
@@ -111,6 +111,7 @@ kms_sw_displaytarget_create(struct sw_winsys *ws,
                             enum pipe_format format,
                             unsigned width, unsigned height,
                             unsigned alignment,
+                            const void *front_private,
                             unsigned *stride)
 {
    struct kms_sw_winsys *kms_sw = kms_sw_winsys(ws);
index 9c8b3ec43968bc576dca0847fcee284a6daa1525..10ce2508507ce9146e7ab6735697be5dba661c64 100644 (file)
@@ -84,6 +84,7 @@ null_sw_displaytarget_create(struct sw_winsys *winsys,
                              enum pipe_format format,
                              unsigned width, unsigned height,
                              unsigned alignment,
+                             const void *front_private,
                              unsigned *stride)
 {
    fprintf(stderr, "null_sw_displaytarget_create() returning NULL\n");
index 5c179930d9b90168d0afd30b1d7589b7f95a02c4..4d87a580cb1c6cf76a14a0af8a55bd4baac529ed 100644 (file)
@@ -148,6 +148,7 @@ wsw_dt_create(struct sw_winsys *ws,
               enum pipe_format format,
               unsigned width, unsigned height,
               unsigned alignment,
+              const void *front_private,
               unsigned *stride)
 {
    struct wrapper_sw_winsys *wsw = wrapper_sw_winsys(ws);
index 515ecd9f7b74c5b7c3d048db3237f32b26204928..cc2a3de9dd3101f0e3d4341a84a31ba0ada9f500 100644 (file)
@@ -391,6 +391,7 @@ xlib_displaytarget_create(struct sw_winsys *winsys,
                           enum pipe_format format,
                           unsigned width, unsigned height,
                           unsigned alignment,
+                          const void *front_private,
                           unsigned *stride)
 {
    struct xlib_displaytarget *xlib_dt;
index 7c2236fe7344d3dfe399051ab06474a823aee47e..b19c456149354be0b92a131673ae680a31b054f0 100644 (file)
@@ -225,7 +225,7 @@ virgl_vtest_winsys_resource_create(struct virgl_winsys *vws,
 
    if (bind & (VIRGL_BIND_DISPLAY_TARGET | VIRGL_BIND_SCANOUT)) {
       res->dt = vtws->sws->displaytarget_create(vtws->sws, bind, format,
-                                                width, height, 64,
+                                                width, height, 64, NULL,
                                                 &res->stride);
 
    } else {