summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-08-07 12:01:29 -0700
committerAndreas Huber <andih@google.com>2009-08-10 12:58:05 -0700
commite186431c33fa332b585e37f6b5ef5efd39b359cf (patch)
tree471d016198876e139ecd39934e126c6485cb47d4 /include
parentfc40bc2e35f73f6efac91f9acca14d8e116a7565 (diff)
downloadframeworks_native-e186431c33fa332b585e37f6b5ef5efd39b359cf.zip
frameworks_native-e186431c33fa332b585e37f6b5ef5efd39b359cf.tar.gz
frameworks_native-e186431c33fa332b585e37f6b5ef5efd39b359cf.tar.bz2
Expose a variation of the createRenderer API that works on a plain Surface.
Diffstat (limited to 'include')
-rw-r--r--include/ui/Surface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ui/Surface.h b/include/ui/Surface.h
index 5665c1f..d5dad31 100644
--- a/include/ui/Surface.h
+++ b/include/ui/Surface.h
@@ -35,8 +35,8 @@ namespace android {
// ---------------------------------------------------------------------------
class BufferMapper;
+class IOMX;
class Rect;
-class MediaPlayerImpl;
class Surface;
class SurfaceComposerClient;
struct per_client_cblk_t;
@@ -181,7 +181,7 @@ private:
// mediaplayer needs access to ISurface for display
friend class MediaPlayer;
friend class Test;
- friend class MediaPlayerImpl;
+ friend class IOMX;
const sp<ISurface>& getISurface() const { return mSurface; }
status_t getBufferLocked(int index);