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

Commit 75181b42 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

another attempt at fixing the build

Change-Id: I80b498d1bbb8f9ffcec4f27802be7ae9977f70ac
parent 7406eafe
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -298,6 +298,7 @@ public:
    virtual sp<OverlayRef> createOverlay(
    virtual sp<OverlayRef> createOverlay(
            uint32_t w, uint32_t h, int32_t format, int32_t orientation);
            uint32_t w, uint32_t h, int32_t format, int32_t orientation);
    virtual sp<GraphicBuffer> requestBuffer(int bufferIdx, int usage);
    virtual sp<GraphicBuffer> requestBuffer(int bufferIdx, int usage);
    virtual status_t setBufferCount(int bufferCount);


    // new functions
    // new functions
    void clearStat();
    void clearStat();
@@ -339,6 +340,11 @@ sp<GraphicBuffer> MSurface::requestBuffer(int bufferIdx, int usage) {
    return NULL;
    return NULL;
}
}


status_t MSurface::setBufferCount(int bufferCount) {
    INFO(__func__);
    return NULL;
}

void MSurface::clearStat() {
void MSurface::clearStat() {
    Mutex::Autolock _l(mLock);
    Mutex::Autolock _l(mLock);
    registerBuffersCount = 0;
    registerBuffersCount = 0;