Commit 632443b2 authored by Gwenole Beauchesne's avatar Gwenole Beauchesne Committed by Austin Yuan

VA/GLX cosmetics (indentation, declarations)

parent fe312c52
...@@ -47,6 +47,8 @@ ...@@ -47,6 +47,8 @@
status = vtable->va##func##GLX args; \ status = vtable->va##func##GLX args; \
} while (0) } while (0)
// Check VADisplay is valid (from libva.so.*)
int vaDisplayIsValid(VADisplay dpy);
// Destroy VA/GLX display context // Destroy VA/GLX display context
static void va_DisplayContextDestroy(VADisplayContextP pDisplayContext) static void va_DisplayContextDestroy(VADisplayContextP pDisplayContext)
......
...@@ -397,7 +397,7 @@ struct VADriverContext ...@@ -397,7 +397,7 @@ struct VADriverContext
void *handle; /* dlopen handle */ void *handle; /* dlopen handle */
void *dri_state; void *dri_state;
void *glx; /* opaque for GLX code */ void *glx; /* opaque for GLX code */
}; };
#define VA_DISPLAY_MAGIC 0x56414430 /* VAD0 */ #define VA_DISPLAY_MAGIC 0x56414430 /* VAD0 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment