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

Pass down ISurface instead of Surface

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