/frameworks/native/libs/vr/libvrflinger/ |
D | display_surface.h | 28 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 …]
|
D | display_surface.cpp | 27 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 …]
|
D | display_service.cpp | 117 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()
|
D | display_service.h | 34 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
|
D | display_manager_service.cpp | 101 [&items](const std::shared_ptr<DisplaySurface>& surface) mutable { in OnGetSurfaceState()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/ |
D | DisplaySurface.cpp | 23 DisplaySurface::DisplaySurface() = default; 24 DisplaySurface::~DisplaySurface() = default;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | DisplaySurface.h | 25 class DisplaySurface : public compositionengine::DisplaySurface { 27 DisplaySurface(); 28 ~DisplaySurface() override;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | DisplaySurface.cpp | 21 DisplaySurface::~DisplaySurface() = default;
|
D | RenderSurface.cpp | 123 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/ |
D | DisplaySurface.h | 34 class DisplaySurface : public virtual RefBase { 36 virtual ~DisplaySurface();
|
D | RenderSurfaceCreationArgs.h | 47 sp<DisplaySurface> displaySurface; 79 RenderSurfaceCreationArgsBuilder& setDisplaySurface(sp<DisplaySurface> displaySurface) { in setDisplaySurface()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | RenderSurfaceTest.cpp | 70 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/ |
D | RenderSurface.h | 33 class DisplaySurface; variable 80 const sp<DisplaySurface> mDisplaySurface;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.cpp | 41 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()
|
D | FramebufferSurface.h | 39 class FramebufferSurface : public ConsumerBase, public compositionengine::DisplaySurface {
|
D | VirtualDisplaySurface.h | 76 class VirtualDisplaySurface : public compositionengine::DisplaySurface,
|
/frameworks/native/services/surfaceflinger/CompositionEngine/ |
D | Android.bp | 46 "src/DisplaySurface.cpp", 68 "mock/DisplaySurface.cpp",
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.h | 59 class DisplaySurface; variable 240 sp<compositionengine::DisplaySurface> displaySurface;
|
D | SurfaceFlinger.h | 97 class DisplaySurface; variable 806 const sp<compositionengine::DisplaySurface>& dispSurface,
|
D | SurfaceFlinger.cpp | 2602 const DisplayDeviceState& state, const sp<compositionengine::DisplaySurface>& dispSurface, in setupNewDisplayDeviceInternal() 2751 sp<compositionengine::DisplaySurface> dispSurface; in processDisplayChangesLocked()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 246 const sp<compositionengine::DisplaySurface>& dispSurface, in setupNewDisplayDeviceInternal() 525 auto& setDisplaySurface(const sp<compositionengine::DisplaySurface>& displaySurface) { in setDisplaySurface()
|
D | CompositionTest.cpp | 174 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()
|
D | DisplayTransactionTest.cpp | 1383 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()
|