projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swrast* (gallium, classic): add MESA_copy_sub_buffer support (v3)
[mesa.git]
/
src
/
gallium
/
winsys
/
sw
/
null
/
null_sw_winsys.c
diff --git
a/src/gallium/winsys/sw/null/null_sw_winsys.c
b/src/gallium/winsys/sw/null/null_sw_winsys.c
index 5027e57b30355da15ddb17edda056ea04191e0fd..9c8b3ec43968bc576dca0847fcee284a6daa1525 100644
(file)
--- a/
src/gallium/winsys/sw/null/null_sw_winsys.c
+++ b/
src/gallium/winsys/sw/null/null_sw_winsys.c
@@
-35,6
+35,7
@@
* @author Jose Fonseca
*/
* @author Jose Fonseca
*/
+#include <stdio.h>
#include "pipe/p_format.h"
#include "util/u_memory.h"
#include "pipe/p_format.h"
#include "util/u_memory.h"
@@
-85,13
+86,14
@@
null_sw_displaytarget_create(struct sw_winsys *winsys,
unsigned alignment,
unsigned *stride)
{
unsigned alignment,
unsigned *stride)
{
+ fprintf(stderr, "null_sw_displaytarget_create() returning NULL\n");
return NULL;
}
static struct sw_displaytarget *
null_sw_displaytarget_from_handle(struct sw_winsys *winsys,
return NULL;
}
static struct sw_displaytarget *
null_sw_displaytarget_from_handle(struct sw_winsys *winsys,
- const struct pipe_
texture *temple
t,
+ const struct pipe_
resource *templa
t,
struct winsys_handle *whandle,
unsigned *stride)
{
struct winsys_handle *whandle,
unsigned *stride)
{
@@
-112,7
+114,8
@@
null_sw_displaytarget_get_handle(struct sw_winsys *winsys,
static void
null_sw_displaytarget_display(struct sw_winsys *winsys,
struct sw_displaytarget *dt,
static void
null_sw_displaytarget_display(struct sw_winsys *winsys,
struct sw_displaytarget *dt,
- void *context_private)
+ void *context_private,
+ struct pipe_box *box)
{
assert(0);
}
{
assert(0);
}