*/
#include "radeon_drm.h"
+#include "r300_video_context.h"
/* Helper function to do the ioctls needed for setup and init. */
static void do_ioctls(int fd, struct radeon_winsys* winsys)
{
struct radeon_winsys *winsys = (struct radeon_winsys*)pscreen->winsys;
struct pipe_context *pipe;
- struct pipe_video_context pvctx;
+ struct pipe_video_context *pvctx;
pipe = radeon_create_context(api, pscreen);
if (!pipe)
return NULL;
- pvctx = r300_video_create(pipe, profile, chroma_format, width, height, i);
+ pvctx = r300_video_create(pipe, profile, chroma_format, width, height, 0);
}
boolean radeon_buffer_from_texture(struct drm_api* api,
C_SOURCES =
DRIVER_INCLUDES = $(shell pkg-config libdrm libdrm_radeon --cflags-only-I) \
- -I$(TOP)/src/gallium/winsys/drm/nouveau \
-DRIVER_DEFINES = $(shell pkg-config libdrm libdrm_nouveau --cflags-only-other)
+ -I$(TOP)/src/gallium/winsys/drm/radeon \
+DRIVER_DEFINES = $(shell pkg-config libdrm libdrm_radeon --cflags-only-other)
PIPE_DRIVERS = \
- $(TOP)/src/gallium/winsys/drm/radeon/drm/libradeondrm.a \
- $(TOP)/src/gallium/drivers/radeon/libradeon.a \
+ $(TOP)/src/gallium/winsys/drm/radeon/core/libradeonwinsys.a \
+ $(TOP)/src/gallium/drivers/r300/libr300.a \
+ $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a
DRIVER_LIB_DEPS += $(shell pkg-config libdrm_radeon --libs)