Home
last modified time | relevance | path

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

/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.cpp63 nsecs_t timestamp, FrameEvent::BufferEventType type, in traceTimestamp()
82 FrameEvent::BufferEventType type, nsecs_t startTime) { in traceFence()
137 FrameEvent::BufferEventType type, nsecs_t duration) { in traceLocked()
161 FrameEvent::BufferEventType type, nsecs_t startTime, in traceSpanLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp139 const auto type = FrameTracer::FrameEvent::POST; in TEST_F()
150 mFrameTracer->traceTimestamp(layerId, 0, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
167 mFrameTracer->traceTimestamp(layerId, 0, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
201 const auto type = FrameTracer::FrameEvent::ACQUIRE_FENCE; in TEST_F()
214 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
231 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
264 const auto type = FrameTracer::FrameEvent::ACQUIRE_FENCE; in TEST_F()
288 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
319 const auto type = FrameTracer::FrameEvent::ACQUIRE_FENCE; in TEST_F()
332 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockFrameTracer.h35 void(int32_t, uint64_t, uint64_t, nsecs_t, FrameEvent::BufferEventType, nsecs_t));
38 FrameEvent::BufferEventType, nsecs_t));
/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.cpp241 std::vector<FrameEvent>* outSupported) const { in getSupportedFrameTimestamps()
279 outSupported->push_back(static_cast<FrameEvent>(s)); in getSupportedFrameTimestamps()
1379 std::vector<FrameEvent> supportedTimestamps; in onTransact()
1391 for (FrameEvent s : supportedTimestamps) { in onTransact()
DSurface.cpp952 std::vector<FrameEvent> supportedFrameTimestamps; in querySupportedTimestampsLocked()
961 if (sft == FrameEvent::DISPLAY_PRESENT) { in querySupportedTimestampsLocked()
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp57 FrameTracer::FrameEvent::RELEASE_FENCE); in onLayerDisplayed()
329 FrameTracer::FrameEvent::ACQUIRE_FENCE); in updateTexImage()
332 FrameTracer::FrameEvent::LATCH); in updateTexImage()
378 systemTime(), FrameTracer::FrameEvent::DEQUEUE); in onFrameDequeued()
385 systemTime(), FrameTracer::FrameEvent::DETACH); in onFrameDetached()
391 systemTime(), FrameTracer::FrameEvent::CANCEL); in onFrameCancelled()
397 systemTime(), FrameTracer::FrameEvent::QUEUE); in onFrameAvailable()
464 systemTime(), FrameTracer::FrameEvent::QUEUE); in onFrameReplaced()
DBufferLayer.cpp350 FrameTracer::FrameEvent::FALLBACK_COMPOSITION); in onPostComposition()
365 presentFence, FrameTracer::FrameEvent::PRESENT_FENCE); in onPostComposition()
377 FrameTracer::FrameEvent::PRESENT_FENCE); in onPostComposition()
DSurfaceFlinger.cpp806 std::vector<FrameEvent>* outSupported) const { in getSupportedFrameTimestamps()
808 FrameEvent::REQUESTED_PRESENT, in getSupportedFrameTimestamps()
809 FrameEvent::ACQUIRE, in getSupportedFrameTimestamps()
810 FrameEvent::LATCH, in getSupportedFrameTimestamps()
811 FrameEvent::FIRST_REFRESH_START, in getSupportedFrameTimestamps()
812 FrameEvent::LAST_REFRESH_START, in getSupportedFrameTimestamps()
813 FrameEvent::GPU_COMPOSITION_DONE, in getSupportedFrameTimestamps()
814 FrameEvent::DEQUEUE_READY, in getSupportedFrameTimestamps()
815 FrameEvent::RELEASE, in getSupportedFrameTimestamps()
820 outSupported->push_back(FrameEvent::DISPLAY_PRESENT); in getSupportedFrameTimestamps()
DSurfaceFlinger.h426 status_t getSupportedFrameTimestamps(std::vector<FrameEvent>* outSupported) const override;
/frameworks/native/libs/gui/include/gui/
DFrameTimestamps.h36 enum class FrameEvent { enum
54 static_cast<size_t>(FrameEvent::EVENT_COUNT);
185 template <FrameEvent event>
192 template <FrameEvent event>
DISurfaceComposer.h63 enum class FrameEvent; variable
171 std::vector<FrameEvent>* outSupported) const = 0;
/frameworks/native/libs/gui/tests/
DSurface_test.cpp700 status_t getSupportedFrameTimestamps(std::vector<FrameEvent>* outSupported) in getSupportedFrameTimestamps()
703 FrameEvent::REQUESTED_PRESENT, in getSupportedFrameTimestamps()
704 FrameEvent::ACQUIRE, in getSupportedFrameTimestamps()
705 FrameEvent::LATCH, in getSupportedFrameTimestamps()
706 FrameEvent::FIRST_REFRESH_START, in getSupportedFrameTimestamps()
707 FrameEvent::LAST_REFRESH_START, in getSupportedFrameTimestamps()
708 FrameEvent::GPU_COMPOSITION_DONE, in getSupportedFrameTimestamps()
709 FrameEvent::DEQUEUE_READY, in getSupportedFrameTimestamps()
710 FrameEvent::RELEASE in getSupportedFrameTimestamps()
714 FrameEvent::DISPLAY_PRESENT); in getSupportedFrameTimestamps()