Home
last modified time | relevance | path

Searched refs:uiTimestamp (Results 1 - 24 of 24) sorted by relevance

/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/backend/
H A Drs_surface_ohos_gl_test.cpp51 uint64_t uiTimestamp = 1; in HWTEST_F() local
53 rsSurface.SetUiTimeStamp(frame, uiTimestamp); in HWTEST_F()
54 EXPECT_FALSE(rsSurface.FlushFrame(frame, uiTimestamp)); in HWTEST_F()
60 ASSERT_TRUE(rsSurface.FlushFrame(frame, uiTimestamp)); in HWTEST_F()
105 uint64_t uiTimestamp = 1; in HWTEST_F() local
107 rsSurface.RequestFrame(width, height, uiTimestamp, useAFBC); in HWTEST_F()
125 uint64_t uiTimestamp = 1; in HWTEST_F() local
127 rsSurface.RequestFrame(width, height, uiTimestamp, useAFBC); in HWTEST_F()
179 uint64_t uiTimestamp = 1; in HWTEST_F() local
181 rsSurface.RequestFrame(width, height, uiTimestamp, useAFB in HWTEST_F()
200 uint64_t uiTimestamp = 1; HWTEST_F() local
227 uint64_t uiTimestamp = 1; HWTEST_F() local
[all...]
H A Drs_surface_ohos_raster_test.cpp70 uint64_t uiTimestamp = 1; in HWTEST_F() local
73 EXPECT_EQ(raster.RequestFrame(width, height, uiTimestamp, useAFBC), nullptr); in HWTEST_F()
91 uint64_t uiTimestamp = 1; in HWTEST_F() local
94 EXPECT_EQ(raster.RequestFrame(width, height, uiTimestamp, useAFBC), nullptr); in HWTEST_F()
110 uint64_t uiTimestamp = 1; in HWTEST_F() local
113 raster.SetUiTimeStamp(frame, uiTimestamp); in HWTEST_F()
114 EXPECT_FALSE(raster.FlushFrame(frame, uiTimestamp)); in HWTEST_F()
121 raster.SetUiTimeStamp(frame, uiTimestamp); in HWTEST_F()
122 EXPECT_FALSE(raster.FlushFrame(frame, uiTimestamp)); in HWTEST_F()
H A Drs_surface_ohos_vulkan_test.cpp79 uint64_t uiTimestamp = 1; in HWTEST_F() local
80 rsSurface.RequestFrame(width, height, uiTimestamp); in HWTEST_F()
118 uint64_t uiTimestamp = 1; in HWTEST_F() local
119 rsSurface.RequestFrame(width, height, uiTimestamp); in HWTEST_F()
187 uint64_t uiTimestamp = 1; in HWTEST_F() local
188 std::unique_ptr<RSSurfaceFrame> ret = rsSurface.RequestFrame(width, height, uiTimestamp, true, true); in HWTEST_F()
268 uint64_t uiTimestamp = 1; in HWTEST_F() local
270 rsSurface.SetUiTimeStamp(frame, uiTimestamp); in HWTEST_F()
274 std::unique_ptr<RSSurfaceFrame> ret = rsSurface.RequestFrame(width, height, uiTimestamp, true, true); in HWTEST_F()
275 EXPECT_FALSE(rsSurface.FlushFrame(frame, uiTimestamp)); in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/
H A Drs_surface_ohos_gl.h40 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false) override;
41 bool FlushFrame(std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) override;
51 void SetUiTimeStamp(const std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) override;
H A Drs_surface_ohos_raster.h37 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false) override;
38 bool FlushFrame(std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) override;
48 void SetUiTimeStamp(const std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) override;
H A Drs_surface_ohos_gl.cpp51 uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame()
88 NativeWindowHandleOpt(mWindow, SET_UI_TIMESTAMP, uiTimestamp); in RequestFrame()
102 void RSSurfaceOhosGl::SetUiTimeStamp(const std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) in SetUiTimeStamp() argument
111 bool RSSurfaceOhosGl::FlushFrame(std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) in FlushFrame() argument
50 RequestFrame(int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) RequestFrame() argument
H A Drs_surface_ohos_raster.cpp40 uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame()
71 void RSSurfaceOhosRaster::SetUiTimeStamp(const std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) in SetUiTimeStamp() argument
89 bool RSSurfaceOhosRaster::FlushFrame(std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) in FlushFrame() argument
99 oriFramePtr->flushConfig_.timestamp = static_cast<int64_t>(uiTimestamp); in FlushFrame()
39 RequestFrame(int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) RequestFrame() argument
H A Drs_surface_ohos_vulkan.h70 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false) override;
71 bool FlushFrame(std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) override;
78 void SetUiTimeStamp(const std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) override;
H A Drs_surface_ohos_vulkan.cpp161 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame()
241 void RSSurfaceOhosVulkan::SetUiTimeStamp(const std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) in SetUiTimeStamp() argument
245 bool RSSurfaceOhosVulkan::FlushFrame(std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) in FlushFrame() argument
160 RequestFrame( int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) RequestFrame() argument
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render_backend/
H A Drs_render_surface.h42 int32_t width, int32_t height, uint64_t uiTimestamp = 0, bool useAFBC = true) = 0;
43 virtual bool FlushFrame(uint64_t uiTimestamp = 0) = 0;
44 virtual void SetUiTimeStamp(uint64_t uiTimestamp = 0) = 0;
H A Drs_render_surface_frame.h68 uiTimestamp = 0; in FrameConfig()
96 uint64_t uiTimestamp; member
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_surface_darwin.h38 void SetUiTimeStamp(const std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp = 0) override;
41 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false) override;
43 bool FlushFrame(std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) override;
H A Drs_surface_darwin.cpp45 void RSSurfaceDarwin::SetUiTimeStamp(const std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) in SetUiTimeStamp() argument
50 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame()
83 bool RSSurfaceDarwin::FlushFrame(std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) in FlushFrame() argument
120 onRender_(addr, size, width, height, uiTimestamp); in FlushFrame()
49 RequestFrame( int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) RequestFrame() argument
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render_backend/ohos/
H A Drs_render_surface_ohos.h39 int32_t width, int32_t height, uint64_t uiTimestamp = 0, bool useAFBC = true) override;
40 bool FlushFrame(uint64_t uiTimestamp = 0) override;
41 void SetUiTimeStamp(uint64_t uiTimestamp = 0) override;
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
H A Drs_surface_windows.h38 void SetUiTimeStamp(const std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp = 0) override;
41 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC = true, bool isProtected = false) override;
43 bool FlushFrame(std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) override;
H A Drs_surface_windows.cpp45 void RSSurfaceWindows::SetUiTimeStamp(const std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) in SetUiTimeStamp() argument
50 int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) in RequestFrame()
85 bool RSSurfaceWindows::FlushFrame(std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp) in FlushFrame() argument
122 onRender_(addr, size, width, height, uiTimestamp); in FlushFrame()
49 RequestFrame( int32_t width, int32_t height, uint64_t uiTimestamp, bool useAFBC, bool isProtected) RequestFrame() argument
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/platform/drawing/
H A Drs_surface.h38 virtual void SetUiTimeStamp(const std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp = 0) = 0;
41 int32_t width, int32_t height, uint64_t uiTimestamp = 0, bool useAFBC = true, bool isProtected = false) = 0;
43 virtual bool FlushFrame(std::unique_ptr<RSSurfaceFrame>& frame, uint64_t uiTimestamp = 0) = 0;
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rssurfaceohosvulkan_fuzzer/
H A Drssurfaceohosvulkan_fuzzer.cpp93 uint64_t uiTimestamp = GetData<uint64_t>(); in DoRequestFrame() local
94 rsSurfaceOhosVulkan->RequestFrame(width, height, uiTimestamp); in DoRequestFrame()
111 uint64_t uiTimestamp = GetData<uint64_t>(); in DoFlushFrame() local
113 rsSurfaceOhosVulkan->FlushFrame(frame, uiTimestamp); in DoFlushFrame()
184 uint64_t uiTimestamp = GetData<uint64_t>(); in DoSetUiTimeStamp() local
186 rsSurfaceOhosVulkan->SetUiTimeStamp(frame, uiTimestamp); in DoSetUiTimeStamp()
/foundation/graphic/graphic_surface/surface/include/
H A Dnative_window.h37 int64_t uiTimestamp = 0; member
47 int64_t uiTimestamp = 0; member
H A Dbuffer_queue.h238 uint64_t uiTimestamp);
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dbuffer_queue_test.cpp254 // call SetDesiredPresentTimestampAndUiTimestamp, check desiredPresentTimestamp and uiTimestamp in HWTEST_F()
256 uint64_t uiTimestamp = 2; in HWTEST_F() local
257 bq->SetDesiredPresentTimestampAndUiTimestamp(retval.sequence, desiredPresentTimestamp, uiTimestamp); in HWTEST_F()
259 ASSERT_NE(bq->bufferQueueCache_[retval.sequence].desiredPresentTimestamp, uiTimestamp); in HWTEST_F()
260 ASSERT_EQ(bq->bufferQueueCache_[retval.sequence].timestamp, uiTimestamp); in HWTEST_F()
263 bq->SetDesiredPresentTimestampAndUiTimestamp(retval.sequence, desiredPresentTimestamp, uiTimestamp); in HWTEST_F()
264 ASSERT_EQ(bq->bufferQueueCache_[retval.sequence].desiredPresentTimestamp, uiTimestamp); in HWTEST_F()
265 ASSERT_EQ(bq->bufferQueueCache_[retval.sequence].timestamp, uiTimestamp); in HWTEST_F()
268 bq->SetDesiredPresentTimestampAndUiTimestamp(retval.sequence, desiredPresentTimestamp, uiTimestamp); in HWTEST_F()
270 ASSERT_EQ(bq->bufferQueueCache_[retval.sequence].timestamp, uiTimestamp); in HWTEST_F()
[all...]
/foundation/graphic/graphic_surface/surface/src/
H A Dnative_window.cpp194 nwBuffer->uiTimestamp = window->uiTimestamp; in NativeWindowRequestBuffer()
201 (*buffer)->uiTimestamp = window->uiTimestamp; in NativeWindowRequestBuffer()
226 config.timestamp = buffer->uiTimestamp; in NativeWindowFlushBuffer()
237 config.timestamp = buffer->uiTimestamp; in NativeWindowFlushBuffer()
352 uint64_t uiTimestamp = va_arg(args, uint64_t); in HandleNativeWindowSetUiTimestamp() local
353 window->uiTimestamp = static_cast<int64_t>(uiTimestamp); in HandleNativeWindowSetUiTimestamp()
H A Dbuffer_queue.cpp774 uint64_t uiTimestamp) in SetDesiredPresentTimestampAndUiTimestamp()
777 if (desiredPresentTimestamp == 0 && uiTimestamp != 0 in SetDesiredPresentTimestampAndUiTimestamp()
778 && uiTimestamp <= static_cast<uint64_t>(std::numeric_limits<int64_t>::max())) { in SetDesiredPresentTimestampAndUiTimestamp()
779 bufferQueueCache_[sequence].desiredPresentTimestamp = static_cast<int64_t>(uiTimestamp); in SetDesiredPresentTimestampAndUiTimestamp()
788 bufferQueueCache_[sequence].timestamp = static_cast<int64_t>(uiTimestamp); in SetDesiredPresentTimestampAndUiTimestamp()
773 SetDesiredPresentTimestampAndUiTimestamp(uint32_t sequence, int64_t desiredPresentTimestamp, uint64_t uiTimestamp) SetDesiredPresentTimestampAndUiTimestamp() argument
/foundation/graphic/graphic_surface/surface/test/fuzztest/nativewindow_fuzzer/
H A Dnativewindow_fuzzer.cpp88 uint64_t uiTimestamp = GetData<uint64_t>(); in HandleOpt1() local
89 OH_NativeWindow_NativeWindowHandleOpt(nativeWindow, code, uiTimestamp); in HandleOpt1()

Completed in 15 milliseconds