Loading libs/ui/BufferHubBuffer.cpp +0 −5 Original line number Diff line number Diff line Loading @@ -319,11 +319,6 @@ bool BufferHubBuffer::IsValid() const { mMetadata.IsValid() && mBufferClient != nullptr; } // TODO(b/68770788): implement Poll() once we have event fd int BufferHubBuffer::Poll(int /* timeoutMs */) { return -ENOSYS; } native_handle_t* BufferHubBuffer::Duplicate() { if (mBufferClient == nullptr) { ALOGE("%s: missing BufferClient!", __FUNCTION__); Loading libs/ui/include/ui/BufferHubBuffer.h +0 −3 Original line number Diff line number Diff line Loading @@ -94,9 +94,6 @@ public: // current cycle of the usage of the buffer. int Release(); // Polls the fd for |timeoutMs| milliseconds (-1 for infinity). int Poll(int timeoutMs); // Creates a token that stands for this BufferHubBuffer client and could be used for Import to // create another BufferHubBuffer. The new BufferHubBuffer will share the same underlying // gralloc buffer and ashmem region for metadata. Note that the caller owns the token and Loading Loading
libs/ui/BufferHubBuffer.cpp +0 −5 Original line number Diff line number Diff line Loading @@ -319,11 +319,6 @@ bool BufferHubBuffer::IsValid() const { mMetadata.IsValid() && mBufferClient != nullptr; } // TODO(b/68770788): implement Poll() once we have event fd int BufferHubBuffer::Poll(int /* timeoutMs */) { return -ENOSYS; } native_handle_t* BufferHubBuffer::Duplicate() { if (mBufferClient == nullptr) { ALOGE("%s: missing BufferClient!", __FUNCTION__); Loading
libs/ui/include/ui/BufferHubBuffer.h +0 −3 Original line number Diff line number Diff line Loading @@ -94,9 +94,6 @@ public: // current cycle of the usage of the buffer. int Release(); // Polls the fd for |timeoutMs| milliseconds (-1 for infinity). int Poll(int timeoutMs); // Creates a token that stands for this BufferHubBuffer client and could be used for Import to // create another BufferHubBuffer. The new BufferHubBuffer will share the same underlying // gralloc buffer and ashmem region for metadata. Note that the caller owns the token and Loading