X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=include%2Fgui%2FIGraphicBufferProducer.h;h=6d16e7426c346c57217088593c093bd14f0fd443;hb=cb496acbe593326e8d5d563847067d02b2df40ec;hp=925080663e80b78611f6715591ed1e75aca3686d;hpb=95d4e522448618edb42701f755e0ed768c13fa76;p=android-x86%2Fframeworks-native.git diff --git a/include/gui/IGraphicBufferProducer.h b/include/gui/IGraphicBufferProducer.h index 925080663e..6d16e7426c 100644 --- a/include/gui/IGraphicBufferProducer.h +++ b/include/gui/IGraphicBufferProducer.h @@ -195,7 +195,7 @@ public: // All other negative values are an unknown error returned downstream // from the graphics allocator (typically errno). virtual status_t dequeueBuffer(int* slot, sp* fence, uint32_t w, - uint32_t h, PixelFormat format, uint32_t usage, + uint32_t h, PixelFormat format, uint64_t usage, FrameEventHistoryDelta* outTimestamps) = 0; // detachBuffer attempts to remove all ownership of the buffer in the given @@ -517,7 +517,7 @@ public: // dequeueBuffer. If there are already the maximum number of buffers // allocated, this function has no effect. virtual void allocateBuffers(uint32_t width, uint32_t height, - PixelFormat format, uint32_t usage) = 0; + PixelFormat format, uint64_t usage) = 0; // Sets whether dequeueBuffer is allowed to allocate new buffers. //