mirror of
https://abf.rosa.ru/djam/mesa.git
synced 2025-02-25 07:32:59 +00:00
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
![]() |
--- Mesa-8.0.1/configure.ac.bero 2012-02-15 00:44:00.000000000 +0100
|
||
|
+++ Mesa-8.0.1/configure.ac 2012-03-05 21:01:55.852793760 +0100
|
||
|
@@ -1578,7 +1578,7 @@ if test "x$enable_vdpau" = xyes; then
|
||
|
fi
|
||
|
|
||
|
if test "x$enable_va" = xyes; then
|
||
|
- PKG_CHECK_MODULES([LIBVA], [libva = 0.31.1])
|
||
|
+ PKG_CHECK_MODULES([LIBVA], [libva >= 0.31.1])
|
||
|
AC_MSG_WARN([vaapi state tracker currently unmaintained])
|
||
|
GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS va"
|
||
|
HAVE_ST_VA="yes"
|
||
|
--- Mesa-8.0.1/src/gallium/state_trackers/va/va_context.c.bero 2012-03-05 21:07:33.926812999 +0100
|
||
|
+++ Mesa-8.0.1/src/gallium/state_trackers/va/va_context.c 2012-03-05 21:08:53.236817512 +0100
|
||
|
@@ -39,6 +39,8 @@
|
||
|
|
||
|
#include "va_private.h"
|
||
|
|
||
|
+static struct VADriverVTable vTable;
|
||
|
+
|
||
|
PUBLIC VAStatus
|
||
|
__vaDriverInit_0_31(VADriverContextP ctx)
|
||
|
{
|
||
|
@@ -59,8 +61,9 @@ __vaDriverInit_0_31(VADriverContextP ctx
|
||
|
return VA_STATUS_ERROR_ALLOCATION_FAILED;
|
||
|
}
|
||
|
|
||
|
+ vTable = vlVaGetVtable();
|
||
|
ctx->str_vendor = "mesa gallium vaapi";
|
||
|
- ctx->vtable = vlVaGetVtable();
|
||
|
+ ctx->vtable = &vTable;
|
||
|
ctx->max_attributes = 1;
|
||
|
ctx->max_display_attributes = 1;
|
||
|
ctx->max_entrypoints = VA_MAX_ENTRYPOINTS;
|