Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e186431c authored by Andreas Huber's avatar Andreas Huber
Browse files

Expose a variation of the createRenderer API that works on a plain Surface.

parent fc40bc2e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);