Home
last modified time | relevance | path

Searched refs:DisplaySurface (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/libs/vr/libvrflinger/
Ddisplay_surface.h28 class DisplaySurface : public pdx::Channel {
30 static pdx::Status<std::shared_ptr<DisplaySurface>> Create(
34 ~DisplaySurface() override;
55 DisplaySurface(DisplayService* service, SurfaceType surface_type,
61 typename T = DisplaySurface,
62 typename = std::enable_if_t<std::is_base_of<DisplaySurface, T>::value>>
114 DisplaySurface(const DisplaySurface&) = delete;
115 void operator=(const DisplaySurface&) = delete;
118 class ApplicationDisplaySurface : public DisplaySurface {
122 : DisplaySurface(service, SurfaceType::Application, surface_id, in ApplicationDisplaySurface()
[all …]
Ddisplay_surface.cpp27 DisplaySurface::DisplaySurface(DisplayService* service, in DisplaySurface() function in android::dvr::DisplaySurface
37 DisplaySurface::~DisplaySurface() { in ~DisplaySurface()
43 Status<void> DisplaySurface::HandleMessage(pdx::Message& message) { in HandleMessage()
47 *this, &DisplaySurface::OnSetAttributes, message); in HandleMessage()
52 *this, &DisplaySurface::OnGetSurfaceInfo, message); in HandleMessage()
57 *this, &DisplaySurface::OnCreateQueue, message); in HandleMessage()
64 Status<void> DisplaySurface::OnSetAttributes( in OnSetAttributes()
127 void DisplaySurface::SurfaceUpdated(display::SurfaceUpdateFlags update_flags) { in SurfaceUpdated()
136 void DisplaySurface::ClearUpdate() { in ClearUpdate()
142 Status<display::SurfaceInfo> DisplaySurface::OnGetSurfaceInfo( in OnGetSurfaceInfo()
[all …]
Ddisplay_service.cpp119 if (auto surface = std::static_pointer_cast<DisplaySurface>(channel)) { in OnChannelClose()
265 DisplaySurface::Create(this, surface_id, process_id, user_id, attributes); in OnCreateSurface()
338 auto surface = std::static_pointer_cast<DisplaySurface>(message.GetChannel()); in HandleSurfaceMessage()
348 std::shared_ptr<DisplaySurface> DisplayService::GetDisplaySurface( in GetDisplaySurface()
350 return std::static_pointer_cast<DisplaySurface>(GetChannel(surface_id)); in GetDisplaySurface()
353 std::vector<std::shared_ptr<DisplaySurface>>
355 return GetChannels<DisplaySurface>(); in GetDisplaySurfaces()
364 [&](const std::shared_ptr<DisplaySurface>& surface) mutable { in GetVisibleDisplaySurfaces()
428 [&visible](const std::shared_ptr<DisplaySurface>& surface) { in IsVrAppRunning()
Ddisplay_service.h34 std::shared_ptr<DisplaySurface> GetDisplaySurface(int surface_id) const;
35 std::vector<std::shared_ptr<DisplaySurface>> GetDisplaySurfaces() const;
52 auto surface = std::static_pointer_cast<DisplaySurface>(pair.second); in ForEachDisplaySurface()
68 friend DisplaySurface; variable
Ddisplay_manager_service.cpp101 [&items](const std::shared_ptr<DisplaySurface>& surface) mutable { in OnGetSurfaceState()
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/
DDisplaySurface.cpp23 DisplaySurface::DisplaySurface() = default;
24 DisplaySurface::~DisplaySurface() = default;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DDisplaySurface.h26 class DisplaySurface : public compositionengine::DisplaySurface {
28 DisplaySurface();
29 ~DisplaySurface() override;
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplaySurface.cpp21 DisplaySurface::~DisplaySurface() = default;
DRenderSurface.cpp130 DisplaySurface::CompositionType compositionType; in prepareFrame()
132 compositionType = DisplaySurface::COMPOSITION_MIXED; in prepareFrame()
134 compositionType = DisplaySurface::COMPOSITION_GPU; in prepareFrame()
136 compositionType = DisplaySurface::COMPOSITION_HWC; in prepareFrame()
141 compositionType = DisplaySurface::COMPOSITION_HWC; in prepareFrame()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplaySurface.h35 class DisplaySurface : public virtual RefBase {
37 virtual ~DisplaySurface();
DRenderSurfaceCreationArgs.h43 sp<DisplaySurface> displaySurface;
71 RenderSurfaceCreationArgsBuilder& setDisplaySurface(sp<DisplaySurface> displaySurface) { in setDisplaySurface()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp64 sp<mock::DisplaySurface> mDisplaySurface = new StrictMock<mock::DisplaySurface>();
204 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_MIXED)) in TEST_F()
211 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_GPU)) in TEST_F()
218 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_HWC)) in TEST_F()
225 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_HWC)) in TEST_F()
DDisplayTest.cpp995 sp<mock::DisplaySurface> mDisplaySurface = new NiceMock<mock::DisplaySurface>();
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DRenderSurface.h37 class DisplaySurface; variable
87 const sp<DisplaySurface> mDisplaySurface;
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp45 static const char* dbgCompositionTypeStr(compositionengine::DisplaySurface::CompositionType type) { in dbgCompositionTypeStr()
47 case compositionengine::DisplaySurface::COMPOSITION_UNKNOWN: in dbgCompositionTypeStr()
49 case compositionengine::DisplaySurface::COMPOSITION_GPU: in dbgCompositionTypeStr()
51 case compositionengine::DisplaySurface::COMPOSITION_HWC: in dbgCompositionTypeStr()
53 case compositionengine::DisplaySurface::COMPOSITION_MIXED: in dbgCompositionTypeStr()
DFramebufferSurface.h41 class FramebufferSurface : public ConsumerBase, public compositionengine::DisplaySurface {
DVirtualDisplaySurface.h77 class VirtualDisplaySurface : public compositionengine::DisplaySurface,
/frameworks/native/services/surfaceflinger/CompositionEngine/
DAndroid.bp65 "src/DisplaySurface.cpp",
86 "mock/DisplaySurface.cpp",
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h60 class DisplaySurface; variable
282 sp<compositionengine::DisplaySurface> displaySurface;
DSurfaceFlinger.h117 class DisplaySurface; variable
1031 const sp<compositionengine::DisplaySurface>& displaySurface,
DSurfaceFlinger.cpp2651 const sp<compositionengine::DisplaySurface>& displaySurface, in setupNewDisplayDeviceInternal()
2770 sp<compositionengine::DisplaySurface> displaySurface; in processDisplayAdded()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp202 const sp<compositionengine::mock::DisplaySurface> displaySurface = in setupNewDisplayDeviceInternalTest()
203 new compositionengine::mock::DisplaySurface(); in setupNewDisplayDeviceInternalTest()
DSurfaceFlinger_HandleTransactionLockedTest.cpp647 auto displaySurface = new compositionengine::mock::DisplaySurface(); in TEST_F()
692 auto displaySurface = new compositionengine::mock::DisplaySurface(); in TEST_F()
741 auto displaySurface = new compositionengine::mock::DisplaySurface(); in TEST_F()
DCompositionTest.cpp176 sp<compositionengine::mock::DisplaySurface> mDisplaySurface =
177 new compositionengine::mock::DisplaySurface();
365 prepareFrame(compositionengine::DisplaySurface::COMPOSITION_HWC)) in setupHwcCompositionCallExpectations()
379 prepareFrame(compositionengine::DisplaySurface::COMPOSITION_GPU)) in setupRECompositionCallExpectations()
DTestableSurfaceFlinger.h313 const sp<compositionengine::DisplaySurface>& dispSurface, in setupNewDisplayDeviceInternal()
694 auto& setDisplaySurface(const sp<compositionengine::DisplaySurface>& displaySurface) { in setDisplaySurface()

12