Searched refs:hwc (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 138 void DisplayDevice::disconnect(HWComposer& hwc) { in disconnect() argument 140 hwc.disconnectDisplay(mHwcDisplayId); in disconnect() 142 hwc.freeDisplayId(mHwcDisplayId); in disconnect() 205 status_t DisplayDevice::prepareFrame(const HWComposer& hwc) const { in prepareFrame() 207 bool haveGles = hwc.hasGlesComposition(mHwcDisplayId); in prepareFrame() 208 bool haveHwc = hwc.hasHwcComposition(mHwcDisplayId); in prepareFrame() 224 void DisplayDevice::swapBuffers(HWComposer& hwc) const { in swapBuffers() 231 if (hwc.initCheck() != NO_ERROR || in swapBuffers() 232 (hwc.hasGlesComposition(mHwcDisplayId) && in swapBuffers() 233 (hwc.supportsFramebufferTarget() || mType >= DISPLAY_VIRTUAL))) { in swapBuffers() [all …]
|
D | DisplayDevice.h | 127 status_t prepareFrame(const HWComposer& hwc) const; 129 void swapBuffers(HWComposer& hwc) const; 133 void onSwapBuffersCompleted(HWComposer& hwc) const; 155 void disconnect(HWComposer& hwc);
|
D | SurfaceFlinger.cpp | 671 const HWComposer& hwc(getHwComposer()); in getDisplayInfo() local 672 float xdpi = hwc.getDpiX(type); in getDisplayInfo() 673 float ydpi = hwc.getDpiY(type); in getDisplayInfo() 718 info->w = hwc.getWidth(type); in getDisplayInfo() 719 info->h = hwc.getHeight(type); in getDisplayInfo() 722 info->fps = float(1e9 / hwc.getRefreshPeriod(type)); in getDisplayInfo() 938 HWComposer& hwc(getHwComposer()); in doDebugFlashRegions() local 939 if (hwc.initCheck() == NO_ERROR) { in doDebugFlashRegions() 940 status_t err = hwc.prepare(); in doDebugFlashRegions() 968 const HWComposer& hwc = getHwComposer(); in postComposition() local [all …]
|
D | Layer.cpp | 918 const HWComposer& hwc = mFlinger->getHwComposer(); in onPostComposition() local 919 sp<Fence> presentFence = hwc.getDisplayFence(HWC_DISPLAY_PRIMARY); in onPostComposition() 925 nsecs_t presentTime = hwc.getRefreshTimestamp(HWC_DISPLAY_PRIMARY); in onPostComposition()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 53 static uint32_t hwcApiVersion(const hwc_composer_device_1_t* hwc) { in hwcApiVersion() argument 54 uint32_t hwcVersion = hwc->common.version; in hwcApiVersion() 58 static uint32_t hwcHeaderVersion(const hwc_composer_device_1_t* hwc) { in hwcHeaderVersion() argument 59 uint32_t hwcVersion = hwc->common.version; in hwcHeaderVersion() 63 static bool hwcHasApiVersion(const hwc_composer_device_1_t* hwc, in hwcHasApiVersion() argument 65 return hwcApiVersion(hwc) >= (version & HARDWARE_API_VERSION_2_MAJ_MIN_MASK); in hwcHasApiVersion() 78 HWComposer* hwc; member 137 mCBContext->hwc = this; in HWComposer() 264 ctx->hwc->invalidate(); in hook_invalidate() 271 ctx->hwc->vsync(disp, timestamp); in hook_vsync() [all …]
|
D | FramebufferSurface.cpp | 53 FramebufferSurface::FramebufferSurface(HWComposer& hwc, int disp, in FramebufferSurface() argument 59 mHwc(hwc) in FramebufferSurface()
|
D | FramebufferSurface.h | 40 FramebufferSurface(HWComposer& hwc, int disp, const sp<IGraphicBufferConsumer>& consumer);
|
D | VirtualDisplaySurface.h | 74 VirtualDisplaySurface(HWComposer& hwc, int32_t dispId,
|
D | VirtualDisplaySurface.cpp | 48 VirtualDisplaySurface::VirtualDisplaySurface(HWComposer& hwc, int32_t dispId, in VirtualDisplaySurface() argument 53 mHwc(hwc), in VirtualDisplaySurface()
|
D | HWComposer.h | 275 VSyncThread(HWComposer& hwc);
|
/frameworks/native/opengl/tests/ |
D | Android.mk | 15 hwc \
|