summaryrefslogtreecommitdiff
path: root/src/xvmc/intel_xvmc.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-03-10 19:23:06 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2010-04-08 11:22:24 +0200
commit676028ec0cbd4fadded92feefc8371e075abcc12 (patch)
tree11f48f6ee1255543affc9c471c91d93195e8a0f3 /src/xvmc/intel_xvmc.h
parent3f590a4577f554313e7577205e471757a39129b6 (diff)
libXvMC: unify CreateSurface
Simply store the desired bo size in intel_xvmc_context and initialize it in the driver's create_context function. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'src/xvmc/intel_xvmc.h')
-rw-r--r--src/xvmc/intel_xvmc.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xvmc/intel_xvmc.h b/src/xvmc/intel_xvmc.h
index 684f9314..9aa55487 100644
--- a/src/xvmc/intel_xvmc.h
+++ b/src/xvmc/intel_xvmc.h
@@ -104,6 +104,7 @@ extern Status _xvmc_destroy_subpicture(Display * dpy,
struct intel_xvmc_context {
struct intel_xvmc_hw_context *hw;
+ uint32_t surface_bo_size;
drm_context_t hw_context; /* context id to kernel drm */
};
typedef struct intel_xvmc_context *intel_xvmc_context_ptr;
@@ -170,10 +171,6 @@ typedef struct _intel_xvmc_driver {
Status(*destroy_context) (Display * display, XvMCContext * context);
- Status(*create_surface) (Display * display, XvMCContext * context,
- XvMCSurface * surface, int priv_count,
- CARD32 * priv_data);
-
Status(*render_surface) (Display * display, XvMCContext * context,
unsigned int picture_structure,
XvMCSurface * target_surface,