Home
last modified time | relevance | path

Searched refs:FrameEvent (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp156 const auto type = FrameTracer::FrameEvent::POST; in TEST_F()
164 mFrameTracer->traceTimestamp(layerId, 0, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
178 mFrameTracer->traceTimestamp(layerId, 0, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
207 const auto type = FrameTracer::FrameEvent::ACQUIRE_FENCE; in TEST_F()
218 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
234 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
262 const auto type = FrameTracer::FrameEvent::ACQUIRE_FENCE; in TEST_F()
284 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
310 const auto type = FrameTracer::FrameEvent::ACQUIRE_FENCE; in TEST_F()
321 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
[all …]
DTransactionFrameTracerTest.cpp113 FrameTracer::FrameEvent::DEQUEUE, /*duration*/ 0)); in BLASTTransactionSendsFrameTracerEvents()
116 FrameTracer::FrameEvent::QUEUE, /*duration*/ 0)); in BLASTTransactionSendsFrameTracerEvents()
134 FrameTracer::FrameEvent::ACQUIRE_FENCE, /*startTime*/ 0)); in BLASTTransactionSendsFrameTracerEvents()
137 FrameTracer::FrameEvent::LATCH, /*duration*/ 0)); in BLASTTransactionSendsFrameTracerEvents()
145 FrameTracer::FrameEvent::PRESENT_FENCE, /*startTime*/ 0)); in BLASTTransactionSendsFrameTracerEvents()
/frameworks/native/services/surfaceflinger/FrameTracer/
DFrameTracer.h38 using FrameEvent = perfetto::protos::pbzero::GraphicsFrameEvent; variable
53 FrameEvent::BufferEventType type, nsecs_t duration = 0);
60 const std::shared_ptr<FenceTime>& fence, FrameEvent::BufferEventType type,
DFrameTracer.cpp62 nsecs_t timestamp, FrameEvent::BufferEventType type, in traceTimestamp()
81 FrameEvent::BufferEventType type, nsecs_t startTime) { in traceFence()
136 FrameEvent::BufferEventType type, nsecs_t duration) { in traceLocked()
160 FrameEvent::BufferEventType type, nsecs_t startTime, in traceSpanLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockFrameTracer.h34 void(int32_t, uint64_t, uint64_t, nsecs_t, FrameEvent::BufferEventType, nsecs_t));
37 FrameEvent::BufferEventType, nsecs_t));
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp59 FrameTracer::FrameEvent::RELEASE_FENCE); in onLayerDisplayed()
279 FrameTracer::FrameEvent::LATCH); in updateTexImage()
330 systemTime(), FrameTracer::FrameEvent::DEQUEUE); in onFrameDequeued()
337 systemTime(), FrameTracer::FrameEvent::DETACH); in onFrameDetached()
343 systemTime(), FrameTracer::FrameEvent::CANCEL); in onFrameCancelled()
350 FrameTracer::FrameEvent::QUEUE); in onFrameAvailable()
353 FrameTracer::FrameEvent::ACQUIRE_FENCE); in onFrameAvailable()
427 FrameTracer::FrameEvent::QUEUE); in onFrameReplaced()
430 FrameTracer::FrameEvent::ACQUIRE_FENCE); in onFrameReplaced()
DBufferLayer.cpp376 FrameTracer::FrameEvent::FALLBACK_COMPOSITION); in onPostComposition()
408 FrameTracer::FrameEvent::PRESENT_FENCE); in onPostComposition()
419 FrameTracer::FrameEvent::PRESENT_FENCE); in onPostComposition()
DBufferStateLayer.cpp434 FrameTracer::FrameEvent::DEQUEUE); in setBuffer()
436 FrameTracer::FrameEvent::QUEUE); in setBuffer()
662 FrameTracer::FrameEvent::ACQUIRE_FENCE); in updateTexImage()
664 FrameTracer::FrameEvent::LATCH); in updateTexImage()
DSurfaceFlinger.cpp896 std::vector<FrameEvent>* outSupported) const { in getSupportedFrameTimestamps()
898 FrameEvent::REQUESTED_PRESENT, in getSupportedFrameTimestamps()
899 FrameEvent::ACQUIRE, in getSupportedFrameTimestamps()
900 FrameEvent::LATCH, in getSupportedFrameTimestamps()
901 FrameEvent::FIRST_REFRESH_START, in getSupportedFrameTimestamps()
902 FrameEvent::LAST_REFRESH_START, in getSupportedFrameTimestamps()
903 FrameEvent::GPU_COMPOSITION_DONE, in getSupportedFrameTimestamps()
904 FrameEvent::DEQUEUE_READY, in getSupportedFrameTimestamps()
905 FrameEvent::RELEASE, in getSupportedFrameTimestamps()
911 outSupported->push_back(FrameEvent::DISPLAY_PRESENT); in getSupportedFrameTimestamps()
DSurfaceFlinger.h555 status_t getSupportedFrameTimestamps(std::vector<FrameEvent>* outSupported) const override;
/frameworks/native/libs/gui/
DFrameTimestamps.cpp390 mFramesDirty[mQueueOffset].setDirty<FrameEvent::POSTED>(); in addQueue()
403 mFramesDirty[mCompositionOffset].setDirty<FrameEvent::LATCH>(); in addLatch()
415 mFramesDirty[mCompositionOffset].setDirty<FrameEvent::LAST_REFRESH_START>(); in addPreComposition()
418 mFramesDirty[mCompositionOffset].setDirty<FrameEvent::FIRST_REFRESH_START>(); in addPreComposition()
438 mFramesDirty[mCompositionOffset].setDirty<FrameEvent::GPU_COMPOSITION_DONE>(); in addPostComposition()
441 mFramesDirty[mCompositionOffset].setDirty<FrameEvent::DISPLAY_PRESENT>(); in addPostComposition()
456 mFramesDirty[mReleaseOffset].setDirty<FrameEvent::RELEASE>(); in addRelease()
511 if (dirtyFields.isDirty<FrameEvent::GPU_COMPOSITION_DONE>()) { in FrameEventsDelta()
515 if (dirtyFields.isDirty<FrameEvent::DISPLAY_PRESENT>()) { in FrameEventsDelta()
519 if (dirtyFields.isDirty<FrameEvent::RELEASE>()) { in FrameEventsDelta()
DISurfaceComposer.cpp163 status_t getSupportedFrameTimestamps(std::vector<FrameEvent>* outSupported) const override { in getSupportedFrameTimestamps()
201 outSupported->push_back(static_cast<FrameEvent>(s)); in getSupportedFrameTimestamps()
1120 std::vector<FrameEvent> supportedTimestamps; in onTransact()
1132 for (FrameEvent s : supportedTimestamps) { in onTransact()
DSurface.cpp1258 std::vector<FrameEvent> supportedFrameTimestamps; in querySupportedTimestampsLocked()
1267 if (sft == FrameEvent::DISPLAY_PRESENT) { in querySupportedTimestampsLocked()
/frameworks/native/libs/gui/include/gui/
DFrameTimestamps.h36 enum class FrameEvent { enum
54 static_cast<size_t>(FrameEvent::EVENT_COUNT);
186 template <FrameEvent event>
193 template <FrameEvent event>
DISurfaceComposer.h69 enum class FrameEvent; variable
162 std::vector<FrameEvent>* outSupported) const = 0;
/frameworks/native/libs/gui/tests/
DSurface_test.cpp717 status_t getSupportedFrameTimestamps(std::vector<FrameEvent>* outSupported) in getSupportedFrameTimestamps()
720 FrameEvent::REQUESTED_PRESENT, in getSupportedFrameTimestamps()
721 FrameEvent::ACQUIRE, in getSupportedFrameTimestamps()
722 FrameEvent::LATCH, in getSupportedFrameTimestamps()
723 FrameEvent::FIRST_REFRESH_START, in getSupportedFrameTimestamps()
724 FrameEvent::LAST_REFRESH_START, in getSupportedFrameTimestamps()
725 FrameEvent::GPU_COMPOSITION_DONE, in getSupportedFrameTimestamps()
726 FrameEvent::DEQUEUE_READY, in getSupportedFrameTimestamps()
727 FrameEvent::RELEASE in getSupportedFrameTimestamps()
731 FrameEvent::DISPLAY_PRESENT); in getSupportedFrameTimestamps()