#include "sp_texture.h"
#include "sp_screen.h"
#include "sp_context.h"
+#include "sp_video_context.h"
#include "sp_fence.h"
#include "sp_public.h"
screen->base.is_format_supported = softpipe_is_format_supported;
screen->base.context_create = softpipe_create_context;
screen->base.flush_frontbuffer = softpipe_flush_frontbuffer;
+ screen->base.video_context_create = sp_video_create;
util_format_s3tc_init();
assert(vscreen);
assert(width && height);
+ assert(vscreen->pscreen->video_context_create);
- vpipe = sp_video_create(vscreen->pscreen, profile, chroma_format, width, height);
+ vpipe = vscreen->pscreen->video_context_create(vscreen->pscreen,
+ profile,
+ chroma_format,
+ width, height, NULL);
if (!vpipe)
return NULL;