android: nv50/ir: Add nv50_ir_prog_info_out serialize and deserialize
[mesa.git] / src / gallium / winsys / sw / hgl / hgl_sw_winsys.c
index 89dd5471b09ccc5ad1afb17bf168accd4d806429..bcbaf9cabe5cf5d35e999001d8e49b4a335ee257 100644 (file)
 #include "pipe/p_defines.h"
 #include "pipe/p_format.h"
 #include "util/u_inlines.h"
-#include "util/u_format.h"
+#include "util/format/u_format.h"
 #include "util/u_math.h"
 #include "util/u_memory.h"
-#include "state_tracker/st_api.h"
-#include "state_tracker/sw_winsys.h"
+#include "frontend/api.h"
+#include "frontend/sw_winsys.h"
 
 #include "bitmap_wrapper.h"
 #include "hgl_sw_winsys.h"
@@ -81,12 +81,12 @@ hgl_winsys_destroy(struct sw_winsys* winsys)
 }
 
 
-static boolean
+static bool
 hgl_winsys_is_displaytarget_format_supported(struct sw_winsys* winsys,
        unsigned textureUsage, enum pipe_format format)
 {
        // TODO STUB
-       return TRUE;
+       return true;
 }
 
 static color_space
@@ -106,7 +106,8 @@ hgl_winsys_convert_cs(enum pipe_format format)
 static struct sw_displaytarget*
 hgl_winsys_displaytarget_create(struct sw_winsys* winsys,
        unsigned textureUsage, enum pipe_format format, unsigned width,
-       unsigned height, unsigned alignment, unsigned* stride)
+       unsigned height, unsigned alignment, const void *front_private,
+       unsigned* stride)
 {
        struct haiku_displaytarget* haikuDisplayTarget
                = CALLOC_STRUCT(haiku_displaytarget);
@@ -163,11 +164,11 @@ hgl_winsys_displaytarget_from_handle(struct sw_winsys* winsys,
 }
 
 
-static boolean
+static bool
 hgl_winsys_displaytarget_get_handle(struct sw_winsys* winsys,
        struct sw_displaytarget* displayTarget, struct winsys_handle* whandle)
 {
-       return FALSE;
+       return false;
 }