That was... fun..
CELL_DIR = cell
endif
-SUBDIRS = softpipe i915simple i965simple failover pipebuffer $(CELL_DIR)
+SUBDIRS = softpipe i915simple i965simple nv30 nv40 nv50 \
+ failover pipebuffer $(CELL_DIR)
default: subdirs
#ifndef __NOUVEAU_PUSH_H__
#define __NOUVEAU_PUSH_H__
-#include "pipe/nouveau/nouveau_winsys.h"
+#include "nouveau/nouveau_winsys.h"
#ifndef NOUVEAU_PUSH_CONTEXT
#error undefined push context
#include "pipe/p_winsys.h"
#include "pipe/p_defines.h"
-#include "pipe/nouveau/nouveau_bo.h"
-#include "pipe/nouveau/nouveau_channel.h"
-#include "pipe/nouveau/nouveau_class.h"
-#include "pipe/nouveau/nouveau_grobj.h"
-#include "pipe/nouveau/nouveau_notifier.h"
-#include "pipe/nouveau/nouveau_resource.h"
-#include "pipe/nouveau/nouveau_pushbuf.h"
+#include "nouveau/nouveau_bo.h"
+#include "nouveau/nouveau_channel.h"
+#include "nouveau/nouveau_class.h"
+#include "nouveau/nouveau_grobj.h"
+#include "nouveau/nouveau_notifier.h"
+#include "nouveau/nouveau_resource.h"
+#include "nouveau/nouveau_pushbuf.h"
struct nouveau_winsys {
struct nouveau_context *nv;
ASM_SOURCES =
-include ../Makefile.template
+include ../../Makefile.template
symlinks:
-#include "pipe/draw/draw_context.h"
+#include "draw/draw_context.h"
#include "pipe/p_defines.h"
#include "pipe/p_winsys.h"
#include "pipe/p_util.h"
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
-#include "pipe/draw/draw_vertex.h"
+#include "draw/draw_vertex.h"
-#include "pipe/nouveau/nouveau_winsys.h"
-#include "pipe/nouveau/nouveau_gldefs.h"
+#include "nouveau/nouveau_winsys.h"
+#include "nouveau/nouveau_gldefs.h"
#define NOUVEAU_PUSH_CONTEXT(ctx) \
struct nv30_context *ctx = nv30
-#include "pipe/nouveau/nouveau_push.h"
+#include "nouveau/nouveau_push.h"
#include "nv30_state.h"
-#include "pipe/draw/draw_private.h"
+#include "draw/draw_private.h"
#include "pipe/p_util.h"
#include "nv30_context.h"
#include "pipe/p_util.h"
#include "pipe/p_shader_tokens.h"
-#include "pipe/tgsi/util/tgsi_parse.h"
-#include "pipe/tgsi/util/tgsi_util.h"
+#include "tgsi/util/tgsi_parse.h"
+#include "tgsi/util/tgsi_util.h"
#include "nv30_context.h"
#include "pipe/p_util.h"
#include "pipe/p_winsys.h"
#include "pipe/p_inlines.h"
-#include "pipe/util/p_tile.h"
+#include "util/p_tile.h"
static boolean
nv30_surface_format_supported(struct pipe_context *pipe,
}
static void
-nv30_surface_copy(struct pipe_context *pipe, struct pipe_surface *dest,
- unsigned destx, unsigned desty, struct pipe_surface *src,
- unsigned srcx, unsigned srcy, unsigned width, unsigned height)
+nv30_surface_copy(struct pipe_context *pipe, unsigned do_flip,
+ struct pipe_surface *dest, unsigned destx, unsigned desty,
+ struct pipe_surface *src, unsigned srcx, unsigned srcy,
+ unsigned width, unsigned height)
{
struct nv30_context *nv30 = nv30_context(pipe);
struct nouveau_winsys *nvws = nv30->nvws;
#include "nv30_context.h"
#include "nv30_state.h"
-#include "pipe/nouveau/nouveau_channel.h"
-#include "pipe/nouveau/nouveau_pushbuf.h"
+#include "nouveau/nouveau_channel.h"
+#include "nouveau/nouveau_pushbuf.h"
static INLINE int
nv30_vbo_ncomp(uint format)
#include "pipe/p_util.h"
#include "pipe/p_shader_tokens.h"
-#include "pipe/tgsi/util/tgsi_parse.h"
+#include "tgsi/util/tgsi_parse.h"
#include "nv30_context.h"
#include "nv30_state.h"
ASM_SOURCES =
-include ../Makefile.template
+include ../../Makefile.template
symlinks:
-#include "pipe/draw/draw_context.h"
+#include "draw/draw_context.h"
#include "pipe/p_defines.h"
#include "pipe/p_winsys.h"
#include "pipe/p_util.h"
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
-#include "pipe/draw/draw_vertex.h"
+#include "draw/draw_vertex.h"
-#include "pipe/nouveau/nouveau_winsys.h"
-#include "pipe/nouveau/nouveau_gldefs.h"
+#include "nouveau/nouveau_winsys.h"
+#include "nouveau/nouveau_gldefs.h"
#define NOUVEAU_PUSH_CONTEXT(ctx) \
struct nv40_channel_context *ctx = nv40->hw
-#include "pipe/nouveau/nouveau_push.h"
-#include "pipe/nouveau/nouveau_stateobj.h"
+#include "nouveau/nouveau_push.h"
+#include "nouveau/nouveau_stateobj.h"
#include "nv40_state.h"
-#include "pipe/draw/draw_private.h"
+#include "draw/draw_private.h"
#include "pipe/p_util.h"
#include "nv40_context.h"
#include "pipe/p_state.h"
#include "pipe/p_shader_tokens.h"
-#include "pipe/tgsi/util/tgsi_parse.h"
-#include "pipe/tgsi/util/tgsi_util.h"
+#include "tgsi/util/tgsi_parse.h"
+#include "tgsi/util/tgsi_util.h"
#include "nv40_context.h"
#include "pipe/p_util.h"
#include "pipe/p_winsys.h"
#include "pipe/p_inlines.h"
-#include "pipe/util/p_tile.h"
+#include "util/p_tile.h"
static boolean
nv40_surface_format_supported(struct pipe_context *pipe,
}
static void
-nv40_surface_copy(struct pipe_context *pipe, struct pipe_surface *dest,
- unsigned destx, unsigned desty, struct pipe_surface *src,
- unsigned srcx, unsigned srcy, unsigned width, unsigned height)
+nv40_surface_copy(struct pipe_context *pipe, unsigned do_flip,
+ struct pipe_surface *dest, unsigned destx, unsigned desty,
+ struct pipe_surface *src, unsigned srcx, unsigned srcy,
+ unsigned width, unsigned height)
{
struct nv40_context *nv40 = nv40_context(pipe);
struct nouveau_winsys *nvws = nv40->nvws;
#include "nv40_context.h"
#include "nv40_state.h"
-#include "pipe/nouveau/nouveau_channel.h"
-#include "pipe/nouveau/nouveau_pushbuf.h"
+#include "nouveau/nouveau_channel.h"
+#include "nouveau/nouveau_pushbuf.h"
static INLINE int
nv40_vbo_ncomp(uint format)
#include "pipe/p_state.h"
#include "pipe/p_shader_tokens.h"
-#include "pipe/tgsi/util/tgsi_parse.h"
+#include "tgsi/util/tgsi_parse.h"
#include "nv40_context.h"
#include "nv40_state.h"
ASM_SOURCES =
-include ../Makefile.template
+include ../../Makefile.template
symlinks:
-#include "pipe/draw/draw_context.h"
+#include "draw/draw_context.h"
#include "pipe/p_defines.h"
#include "pipe/p_winsys.h"
#include "pipe/p_util.h"
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
-#include "pipe/draw/draw_vertex.h"
+#include "draw/draw_vertex.h"
-#include "pipe/nouveau/nouveau_winsys.h"
-#include "pipe/nouveau/nouveau_gldefs.h"
+#include "nouveau/nouveau_winsys.h"
+#include "nouveau/nouveau_gldefs.h"
#define NOUVEAU_PUSH_CONTEXT(ctx) \
struct nv50_context *ctx = nv50
-#include "pipe/nouveau/nouveau_push.h"
+#include "nouveau/nouveau_push.h"
#include "nv50_state.h"
-#include "pipe/draw/draw_private.h"
+#include "draw/draw_private.h"
#include "pipe/p_util.h"
#include "nv50_context.h"
#include "pipe/p_util.h"
#include "pipe/p_winsys.h"
#include "pipe/p_inlines.h"
-#include "pipe/util/p_tile.h"
+#include "util/p_tile.h"
static struct pipe_surface *
nv50_get_tex_surface(struct pipe_context *pipe,
}
static void
-nv50_surface_copy(struct pipe_context *pipe, struct pipe_surface *dest,
- unsigned destx, unsigned desty, struct pipe_surface *src,
- unsigned srcx, unsigned srcy, unsigned width, unsigned height)
+nv50_surface_copy(struct pipe_context *pipe, unsigned flip,
+ struct pipe_surface *dest, unsigned destx, unsigned desty,
+ struct pipe_surface *src, unsigned srcx, unsigned srcy,
+ unsigned width, unsigned height)
{
struct nv50_context *nv50 = (struct nv50_context *)pipe;
struct nouveau_winsys *nvws = nv50->nvws;
MINIGLX_SOURCES =
PIPE_DRIVERS = \
- $(TOP)/src/mesa/pipe/softpipe/libsoftpipe.a \
- $(TOP)/src/mesa/pipe/nv30/libnv30.a \
- $(TOP)/src/mesa/pipe/nv40/libnv40.a \
- $(TOP)/src/mesa/pipe/nv50/libnv50.a
+ $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
+ $(TOP)/src/gallium/drivers/nv30/libnv30.a \
+ $(TOP)/src/gallium/drivers/nv40/libnv40.a \
+ $(TOP)/src/gallium/drivers/nv50/libnv50.a
DRIVER_SOURCES = \
nouveau_bo.c \
#include "dri_util.h"
#include "xmlconfig.h"
-#include "pipe/nouveau/nouveau_winsys.h"
+#include "nouveau/nouveau_winsys.h"
#include "nouveau_device.h"
#include "nouveau_drmif.h"
#include "nouveau_dma.h"
#include <nouveau_drm.h>
#include "nouveau_device.h"
-#include "pipe/nouveau/nouveau_channel.h"
-#include "pipe/nouveau/nouveau_grobj.h"
-#include "pipe/nouveau/nouveau_notifier.h"
-#include "pipe/nouveau/nouveau_bo.h"
-#include "pipe/nouveau/nouveau_resource.h"
-#include "pipe/nouveau/nouveau_pushbuf.h"
+#include "nouveau/nouveau_channel.h"
+#include "nouveau/nouveau_grobj.h"
+#include "nouveau/nouveau_notifier.h"
+#include "nouveau/nouveau_bo.h"
+#include "nouveau/nouveau_resource.h"
+#include "nouveau/nouveau_pushbuf.h"
struct nouveau_device_priv {
struct nouveau_device base;
#include "nouveau_context.h"
#include "nouveau_winsys_pipe.h"
-#include "pipe/nouveau/nouveau_winsys.h"
+#include "nouveau/nouveau_winsys.h"
static int
nouveau_pipe_notifier_alloc(struct nouveau_winsys *nvws, int count,
#include "pipe/p_defines.h"
#include "pipe/p_format.h"
-#include "pipe/softpipe/sp_winsys.h"
+#include "softpipe/sp_winsys.h"
#include "nouveau_context.h"
#include "nouveau_winsys_pipe.h"