am 75181b42: another attempt at fixing the build
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user