Searched refs:ReleaseCallbackId (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/ |
D | ReleaseBufferCallback_test.cpp | 32 static void function(void* callbackContext, ReleaseCallbackId callbackId, in function() 45 void getCallbackData(ReleaseCallbackId* callbackId) { in getCallbackData() 75 std::queue<std::pair<ReleaseCallbackId, sp<Fence>>> mCallbackDataQueue; 85 sp<Fence> fence, CallbackHelper& callback, const ReleaseCallbackId& id, in submitBuffer() 102 const ReleaseCallbackId& expectedCallbackId) { in waitForReleaseBufferCallback() 103 ReleaseCallbackId actualReleaseBufferId; in waitForReleaseBufferCallback() 133 ReleaseCallbackId firstBufferCallbackId(firstBuffer->getId(), generateFrameNumber()); in TEST_F() 153 ReleaseCallbackId secondBufferCallbackId(secondBuffer->getId(), generateFrameNumber()); in TEST_F() 172 ReleaseCallbackId firstBufferCallbackId(firstBuffer->getId(), generateFrameNumber()); in TEST_F() 198 ReleaseCallbackId secondBufferCallbackId(secondBuffer->getId(), generateFrameNumber()); in TEST_F() [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | ITransactionCompletedListener.h | 56 class ReleaseCallbackId : public Parcelable { 58 static const ReleaseCallbackId INVALID_ID; 62 ReleaseCallbackId() {} in ReleaseCallbackId() function 63 ReleaseCallbackId(uint64_t bufferId, uint64_t framenumber) in ReleaseCallbackId() function 68 bool operator==(const ReleaseCallbackId& rhs) const { 71 bool operator!=(const ReleaseCallbackId& rhs) const { return !operator==(rhs); } 81 std::size_t operator()(const ReleaseCallbackId& key) const { in operator() 136 ReleaseCallbackId previousReleaseCallbackId) in SurfaceStats() 153 ReleaseCallbackId previousReleaseCallbackId; 194 virtual void onReleaseBuffer(ReleaseCallbackId callbackId, sp<Fence> releaseFence,
|
D | SurfaceComposerClient.h | 85 std::function<void(const ReleaseCallbackId&, const sp<Fence>& /*releaseFence*/, 400 void setReleaseBufferCallback(layer_state_t*, const ReleaseCallbackId&, 474 const ReleaseCallbackId& id = ReleaseCallbackId::INVALID_ID, 686 std::unordered_map<ReleaseCallbackId, ReleaseBufferCallback, ReleaseBufferCallbackIdHash> 725 void setReleaseBufferCallback(const ReleaseCallbackId&, ReleaseBufferCallback); 726 void removeReleaseBufferCallback(const ReleaseCallbackId&); 730 void onReleaseBuffer(ReleaseCallbackId, sp<Fence> releaseFence, uint32_t transformHint, 734 ReleaseBufferCallback popReleaseBufferCallbackLocked(const ReleaseCallbackId&);
|
D | BLASTBufferQueue.h | 92 void releaseBufferCallback(const ReleaseCallbackId& id, const sp<Fence>& releaseFence, 148 std::unordered_map<ReleaseCallbackId, BufferItem, ReleaseBufferCallbackIdHash> mSubmitted 155 ReleaseCallbackId callbackId;
|
/frameworks/native/libs/gui/ |
D | ITransactionCompletedListener.cpp | 256 void onReleaseBuffer(ReleaseCallbackId callbackId, sp<Fence> releaseFence, in onReleaseBuffer() 311 status_t ReleaseCallbackId::writeToParcel(Parcel* output) const { in writeToParcel() 317 status_t ReleaseCallbackId::readFromParcel(const Parcel* input) { in readFromParcel() 323 const ReleaseCallbackId ReleaseCallbackId::INVALID_ID = ReleaseCallbackId(0, 0);
|
D | SurfaceComposerClient.cpp | 200 void TransactionCompletedListener::setReleaseBufferCallback(const ReleaseCallbackId& callbackId, in setReleaseBufferCallback() 207 const ReleaseCallbackId& callbackId) { in removeReleaseBufferCallback() 323 if (surfaceStats.previousReleaseCallbackId != ReleaseCallbackId::INVALID_ID) { in onTransactionCompleted() 367 void TransactionCompletedListener::onReleaseBuffer(ReleaseCallbackId callbackId, in onReleaseBuffer() 384 const ReleaseCallbackId& callbackId) { in popReleaseBufferCallbackLocked() 1264 const sp<SurfaceControl>& sc, const sp<GraphicBuffer>& buffer, const ReleaseCallbackId& id, in setBuffer() 1294 s->releaseCallbackId = ReleaseCallbackId::INVALID_ID; in removeReleaseBufferCallback() 1298 const ReleaseCallbackId& id, in setReleaseBufferCallback()
|
D | BLASTBufferQueue.cpp | 327 static void releaseBufferCallbackThunk(wp<BLASTBufferQueue> context, const ReleaseCallbackId& id, in releaseBufferCallbackThunk() 339 void BLASTBufferQueue::releaseBufferCallback(const ReleaseCallbackId& id, in releaseBufferCallback() 445 ReleaseCallbackId releaseCallbackId(buffer->getId(), mLastAcquiredFrameNumber); in processNextBufferLocked()
|
/frameworks/native/services/surfaceflinger/ |
D | TransactionCallbackInvoker.h | 54 ReleaseCallbackId previousReleaseCallbackId = ReleaseCallbackId::INVALID_ID;
|
D | BufferStateLayer.h | 146 ReleaseCallbackId mPreviousReleaseCallbackId = ReleaseCallbackId::INVALID_ID;
|