Home
last modified time | relevance | path

Searched refs:hwc (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp199 void DisplayDevice::disconnect(HWComposer& hwc) { in disconnect() argument
201 hwc.disconnectDisplay(mHwcDisplayId); in disconnect()
204 hwc.freeDisplayId(mHwcDisplayId); in disconnect()
270 status_t DisplayDevice::prepareFrame(HWComposer& hwc) { in prepareFrame() argument
271 status_t error = hwc.prepare(*this); in prepareFrame()
277 bool hasClient = hwc.hasClientComposition(mHwcDisplayId); in prepareFrame()
278 bool hasDevice = hwc.hasDeviceComposition(mHwcDisplayId); in prepareFrame()
294 status_t DisplayDevice::prepareFrame(const HWComposer& hwc) const { in prepareFrame()
296 bool haveGles = hwc.hasGlesComposition(mHwcDisplayId); in prepareFrame()
297 bool haveHwc = hwc.hasHwcComposition(mHwcDisplayId); in prepareFrame()
[all …]
DDisplayDevice.h151 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_hwc1.cpp1174 HWComposer& hwc(getHwComposer()); in doDebugFlashRegions() local
1175 if (hwc.initCheck() == NO_ERROR) { in doDebugFlashRegions()
1176 status_t err = hwc.prepare(); in doDebugFlashRegions()
1256 const HWComposer& hwc = getHwComposer(); in postComposition() local
1321 nsecs_t presentTime = hwc.getRefreshTimestamp(HWC_DISPLAY_PRIMARY); in postComposition()
1415 HWComposer& hwc(getHwComposer()); in setUpHWComposer() local
1416 if (hwc.initCheck() == NO_ERROR) { in setUpHWComposer()
1427 if (hwc.createWorkList(id, count) == NO_ERROR) { in setUpHWComposer()
1428 HWComposer::LayerListIterator cur = hwc.begin(id); in setUpHWComposer()
1429 const HWComposer::LayerListIterator end = hwc.end(id); in setUpHWComposer()
[all …]
DLayer.cpp154 const auto& hwc = flinger->getHwComposer(); in Layer() local
155 const auto& activeConfig = hwc.getActiveConfig(HWC_DISPLAY_PRIMARY); in Layer()
DSurfaceFlinger.cpp3635 HWComposer& hwc(getHwComposer()); in dumpAllLocked() local
3706 hwc.dump(result); in dumpAllLocked()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer_hwc1.cpp56 static uint32_t hwcApiVersion(const hwc_composer_device_1_t* hwc) { in hwcApiVersion() argument
57 uint32_t hwcVersion = hwc->common.version; in hwcApiVersion()
61 static uint32_t hwcHeaderVersion(const hwc_composer_device_1_t* hwc) { in hwcHeaderVersion() argument
62 uint32_t hwcVersion = hwc->common.version; in hwcHeaderVersion()
66 static bool hwcHasApiVersion(const hwc_composer_device_1_t* hwc, in hwcHasApiVersion() argument
68 return hwcApiVersion(hwc) >= (version & HARDWARE_API_VERSION_2_MAJ_MIN_MASK); in hwcHasApiVersion()
81 HWComposer* hwc; member
140 mCBContext->hwc = this; in HWComposer()
262 ctx->hwc->invalidate(); in hook_invalidate()
269 ctx->hwc->vsync(disp, timestamp); in hook_vsync()
[all …]
DFramebufferSurface.cpp54 FramebufferSurface::FramebufferSurface(HWComposer& hwc, int disp, in FramebufferSurface() argument
62 mHwc(hwc), in FramebufferSurface()
67 mHwc(hwc) in FramebufferSurface()
DFramebufferSurface.h41 FramebufferSurface(HWComposer& hwc, int disp, const sp<IGraphicBufferConsumer>& consumer);
DVirtualDisplaySurface.h76 VirtualDisplaySurface(HWComposer& hwc, int32_t dispId,
DVirtualDisplaySurface.cpp47 VirtualDisplaySurface::VirtualDisplaySurface(HWComposer& hwc, int32_t dispId, in VirtualDisplaySurface() argument
53 mHwc(hwc), in VirtualDisplaySurface()
DHWComposer_hwc1.h309 VSyncThread(HWComposer& hwc);
/frameworks/native/opengl/tests/
DAndroid.mk15 hwc \