*/
#define _GNU_SOURCE 1
-#include "../va.h"
-#include "../va_backend.h"
-#include "../va_android.h"
+#include "va.h"
+#include "va_backend.h"
+#include "va_android.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
VADisplayContextP pDisplayContext
)
{
- return 1;
+ VADisplayContextP ctx = pDisplayContexts;
+
+ while (ctx)
+ {
+ if (ctx == pDisplayContext && pDisplayContext->pDriverContext)
+ return 1;
+ ctx = ctx->pNext;
+ }
+ return 0;
}
static void va_DisplayContextDestroy (
unsigned int device_id;
char driver_name[64];
} devices[] = {
- { 0x8086, 0x4100, "android" },
+ { 0x8086, 0x4100, "pvr" },
};
if (driver_name)