mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 03:48:06 +02:00
gallium/swrast: fixup build breakage and warnings
The front buffer rendering changes broke an interface, I didn't fix up all of them. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
2b67657096
commit
7153b12651
6 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue