Home
last modified time | relevance | path

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

/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.cpp117 if (auto surface = std::static_pointer_cast<DisplaySurface>(channel)) { in OnChannelClose()
244 DisplaySurface::Create(this, surface_id, process_id, user_id, attributes); in OnCreateSurface()
317 auto surface = std::static_pointer_cast<DisplaySurface>(message.GetChannel()); in HandleSurfaceMessage()
327 std::shared_ptr<DisplaySurface> DisplayService::GetDisplaySurface( in GetDisplaySurface()
329 return std::static_pointer_cast<DisplaySurface>(GetChannel(surface_id)); in GetDisplaySurface()
332 std::vector<std::shared_ptr<DisplaySurface>>
334 return GetChannels<DisplaySurface>(); in GetDisplaySurfaces()
343 [&](const std::shared_ptr<DisplaySurface>& surface) mutable { in GetVisibleDisplaySurfaces()
407 [&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.h25 class DisplaySurface : public compositionengine::DisplaySurface {
27 DisplaySurface();
28 ~DisplaySurface() override;
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplaySurface.cpp21 DisplaySurface::~DisplaySurface() = default;
DRenderSurface.cpp123 DisplaySurface::CompositionType compositionType; in prepareFrame()
127 compositionType = DisplaySurface::COMPOSITION_MIXED; in prepareFrame()
129 compositionType = DisplaySurface::COMPOSITION_GLES; in prepareFrame()
131 compositionType = DisplaySurface::COMPOSITION_HWC; in prepareFrame()
136 compositionType = DisplaySurface::COMPOSITION_HWC; in prepareFrame()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DDisplaySurface.h34 class DisplaySurface : public virtual RefBase {
36 virtual ~DisplaySurface();
DRenderSurfaceCreationArgs.h47 sp<DisplaySurface> displaySurface;
79 RenderSurfaceCreationArgsBuilder& setDisplaySurface(sp<DisplaySurface> displaySurface) { in setDisplaySurface()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp70 sp<mock::DisplaySurface> mDisplaySurface = new StrictMock<mock::DisplaySurface>();
216 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_MIXED)) in TEST_F()
228 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_GLES)) in TEST_F()
240 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_HWC)) in TEST_F()
252 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_HWC)) in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DRenderSurface.h33 class DisplaySurface; variable
80 const sp<DisplaySurface> mDisplaySurface;
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp41 static const char* dbgCompositionTypeStr(compositionengine::DisplaySurface::CompositionType type) { in dbgCompositionTypeStr()
43 case compositionengine::DisplaySurface::COMPOSITION_UNKNOWN: in dbgCompositionTypeStr()
45 case compositionengine::DisplaySurface::COMPOSITION_GLES: in dbgCompositionTypeStr()
47 case compositionengine::DisplaySurface::COMPOSITION_HWC: in dbgCompositionTypeStr()
49 case compositionengine::DisplaySurface::COMPOSITION_MIXED: in dbgCompositionTypeStr()
DFramebufferSurface.h39 class FramebufferSurface : public ConsumerBase, public compositionengine::DisplaySurface {
DVirtualDisplaySurface.h76 class VirtualDisplaySurface : public compositionengine::DisplaySurface,
/frameworks/native/services/surfaceflinger/CompositionEngine/
DAndroid.bp46 "src/DisplaySurface.cpp",
68 "mock/DisplaySurface.cpp",
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h59 class DisplaySurface; variable
240 sp<compositionengine::DisplaySurface> displaySurface;
DSurfaceFlinger.h97 class DisplaySurface; variable
806 const sp<compositionengine::DisplaySurface>& dispSurface,
DSurfaceFlinger.cpp2602 const DisplayDeviceState& state, const sp<compositionengine::DisplaySurface>& dispSurface, in setupNewDisplayDeviceInternal()
2751 sp<compositionengine::DisplaySurface> dispSurface; in processDisplayChangesLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h246 const sp<compositionengine::DisplaySurface>& dispSurface, in setupNewDisplayDeviceInternal()
525 auto& setDisplaySurface(const sp<compositionengine::DisplaySurface>& displaySurface) { in setDisplaySurface()
DCompositionTest.cpp174 sp<compositionengine::mock::DisplaySurface> mDisplaySurface =
175 new compositionengine::mock::DisplaySurface();
355 prepareFrame(compositionengine::DisplaySurface::COMPOSITION_HWC)) in setupHwcCompositionCallExpectations()
361 prepareFrame(compositionengine::DisplaySurface::COMPOSITION_GLES)) in setupRECompositionCallExpectations()
DDisplayTransactionTest.cpp1383 const sp<compositionengine::mock::DisplaySurface> displaySurface = in setupNewDisplayDeviceInternalTest()
1384 new compositionengine::mock::DisplaySurface(); in setupNewDisplayDeviceInternalTest()
2146 auto displaySurface = new compositionengine::mock::DisplaySurface(); in TEST_F()
2191 auto displaySurface = new compositionengine::mock::DisplaySurface(); in TEST_F()