Commit 5eb7b516 authored by Ren Zhaohan's avatar Ren Zhaohan

Pass down ISurface instead of Surface

parent 2359cea6
...@@ -293,7 +293,7 @@ VADisplay vaGetDisplay ( ...@@ -293,7 +293,7 @@ VADisplay vaGetDisplay (
VAStatus vaPutSurface ( VAStatus vaPutSurface (
VADisplay dpy, VADisplay dpy,
VASurfaceID surface, VASurfaceID surface,
sp<Surface> draw, /* Android Surface/Window */ sp<ISurface> draw, /* Android Surface/Window */
short srcx, short srcx,
short srcy, short srcy,
unsigned short srcw, unsigned short srcw,
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <va/va.h> #include <va/va.h>
#ifdef ANDROID #ifdef ANDROID
#include <ui/Surface.h> #include <ui/ISurface.h>
using namespace android; using namespace android;
#endif #endif
...@@ -30,7 +30,7 @@ VADisplay vaGetDisplay ( ...@@ -30,7 +30,7 @@ VADisplay vaGetDisplay (
VAStatus vaPutSurface ( VAStatus vaPutSurface (
VADisplay dpy, VADisplay dpy,
VASurfaceID surface, VASurfaceID surface,
sp<Surface> draw, /* Android Window/Surface */ sp<ISurface> draw, /* Android Window/Surface */
short srcx, short srcx,
short srcy, short srcy,
unsigned short srcw, unsigned short srcw,
......
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