Home
last modified time | relevance | path

Searched refs:HWComposer (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer_hwc1.cpp73 struct HWComposer::cb_context {
81 HWComposer* hwc;
86 HWComposer::HWComposer( in HWComposer() function in android::HWComposer
197 HWComposer::~HWComposer() { in ~HWComposer()
214 void HWComposer::loadHwcModule() in loadHwcModule()
242 int HWComposer::loadFbHalModule() in loadFbHalModule()
255 status_t HWComposer::initCheck() const { in initCheck()
259 void HWComposer::hook_invalidate(const struct hwc_procs* procs) { in hook_invalidate()
265 void HWComposer::hook_vsync(const struct hwc_procs* procs, int disp, in hook_vsync()
272 void HWComposer::hook_hotplug(const struct hwc_procs* procs, int disp, in hook_hotplug()
[all …]
DHWComposer.cpp62 HWComposer::HWComposer(bool useVrComposer) in HWComposer() function in android::HWComposer
80 HWComposer::~HWComposer() {} in ~HWComposer()
82 void HWComposer::setEventHandler(EventHandler* handler) in setEventHandler()
93 auto hotplugHook = std::bind(&HWComposer::hotplug, this, in setEventHandler()
96 auto invalidateHook = std::bind(&HWComposer::invalidate, this, in setEventHandler()
99 auto vsyncHook = std::bind(&HWComposer::vsync, this, in setEventHandler()
106 void HWComposer::loadHwcModule(bool useVrComposer) in loadHwcModule()
113 bool HWComposer::hasCapability(HWC2::Capability capability) const in hasCapability()
118 bool HWComposer::isValidDisplay(int32_t displayId) const { in isValidDisplay()
123 void HWComposer::validateChange(HWC2::Composition from, HWC2::Composition to) { in validateChange()
[all …]
DHWComposer_hwc1.h58 class HWComposer
62 friend class HWComposer; variable
64 HWComposer* composer, int32_t disp, nsecs_t timestamp) = 0;
65 virtual void onHotplugReceived(HWComposer* composer, int disp, bool connected) = 0;
66 virtual void onInvalidateReceived(HWComposer* composer) = 0;
77 HWComposer(
81 ~HWComposer();
204 friend class HWComposer; variable
300 HWComposer& mHwc;
309 VSyncThread(HWComposer& hwc);
DHWComposer.h65 class HWComposer
69 friend class HWComposer; variable
71 HWComposer* composer, int32_t disp, nsecs_t timestamp) = 0;
72 virtual void onHotplugReceived(HWComposer* composer, int32_t disp, bool connected) = 0;
73 virtual void onInvalidateReceived(HWComposer* composer) = 0;
81 HWComposer(bool useVrComposer);
83 ~HWComposer();
DFramebufferSurface.h34 class HWComposer; variable
41 FramebufferSurface(HWComposer& hwc, int disp, const sp<IGraphicBufferConsumer>& consumer);
94 HWComposer& mHwc;
DVirtualDisplaySurface.h30 class HWComposer; variable
76 VirtualDisplaySurface(HWComposer& hwc, int32_t dispId,
156 HWComposer& mHwc;
DFramebufferSurface.cpp54 FramebufferSurface::FramebufferSurface(HWComposer& hwc, int disp, in FramebufferSurface()
DVirtualDisplaySurface.cpp47 VirtualDisplaySurface::VirtualDisplaySurface(HWComposer& hwc, int32_t dispId, in VirtualDisplaySurface()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h56 class HWComposer; variable
151 status_t prepareFrame(HWComposer& hwc);
154 status_t prepareFrame(const HWComposer& hwc) const;
157 void swapBuffers(HWComposer& hwc) const;
166 void onSwapBuffersCompleted(HWComposer& hwc) const;
201 void disconnect(HWComposer& hwc);
DSurfaceFlinger.h102 private HWComposer::EventHandler
319 virtual void onVSyncReceived(HWComposer* composer, int type, nsecs_t timestamp);
320 virtual void onHotplugReceived(HWComposer* composer, int disp, bool connected);
321 virtual void onInvalidateReceived(HWComposer* composer);
494 HWComposer& getHwComposer() const { return *mHwc; } in getHwComposer()
607 HWComposer* mHwc;
609 HWComposer* mRealHwc;
610 HWComposer* mVrHwc;
DSurfaceFlinger_hwc1.cpp535 mHwc = new HWComposer(this, in init()
536 *static_cast<HWComposer::EventHandler *>(this)); in init()
690 const Vector<HWComposer::DisplayConfig>& hwConfigs = in getDisplayConfigs()
693 const HWComposer::DisplayConfig& hwConfig = hwConfigs[c]; in getDisplayConfigs()
841 for (const HWComposer::DisplayConfig& hwConfig : getHwComposer().getConfigs(type)) { in getDisplayColorModes()
868 const Vector<HWComposer::DisplayConfig>& hwConfigs = getHwComposer().getConfigs(type); in setActiveColorMode()
869 HWComposer::DisplayConfig desiredConfig = hwConfigs[getHwComposer().getCurrentConfig(type)]; in setActiveColorMode()
872 const HWComposer::DisplayConfig config = hwConfigs[c]; in setActiveColorMode()
1037 void SurfaceFlinger::onVSyncReceived(HWComposer* /*composer*/, int type, in onVSyncReceived() argument
1060 void SurfaceFlinger::onHotplugReceived(HWComposer* /*composer*/, int type, bool connected) { in onHotplugReceived() argument
[all …]
DDisplayDevice.cpp199 void DisplayDevice::disconnect(HWComposer& hwc) { in disconnect()
270 status_t DisplayDevice::prepareFrame(HWComposer& hwc) { in prepareFrame()
294 status_t DisplayDevice::prepareFrame(const HWComposer& hwc) const { in prepareFrame()
314 void DisplayDevice::swapBuffers(HWComposer& hwc) const {
354 void DisplayDevice::onSwapBuffersCompleted(HWComposer& hwc) const {
DLayer.h331 HWComposer::HWCLayerInterface& layer);
333 HWComposer::HWCLayerInterface& layer);
335 HWComposer::HWCLayerInterface& layer);
347 HWComposer::HWCLayerInterface* layer);
DSurfaceFlinger.cpp571 mRealHwc = new HWComposer(false); in init()
573 mHwc->setEventHandler(static_cast<HWComposer::EventHandler*>(this)); in init()
1134 void SurfaceFlinger::onVSyncReceived(HWComposer* composer, int32_t type, in onVSyncReceived()
1200 void SurfaceFlinger::onHotplugReceived(HWComposer* composer, int32_t disp, bool connected) { in onHotplugReceived()
1231 void SurfaceFlinger::onInvalidateReceived(HWComposer* composer) { in onInvalidateReceived()
1287 mVrHwc = new HWComposer(true); in updateVrFlinger()
1293 mVrHwc->setEventHandler(static_cast<HWComposer::EventHandler*>(this)); in updateVrFlinger()
3635 HWComposer& hwc(getHwComposer()); in dumpAllLocked()
DLayer.cpp216 HWComposer::HWCLayerInterface* layer) { in onLayerDisplayed()
586 HWComposer::HWCLayerInterface& layer)
901 HWComposer::HWCLayerInterface& layer) {
959 HWComposer::HWCLayerInterface& layer) {
/frameworks/native/opengl/specs/
DEGL_ANDROID_framebuffer_target.txt44 the HWComposer HAL as a framebuffer target layer.
67 EGL_FRAMEBUFFER_TARGET_ANDROID boolean whether use as a HWComposer
83 which the buffers are to be passed to HWComposer as a framebuffer