Home
last modified time | relevance | path

Searched refs:mHwc (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp88 mFbDev(0), mHwc(0), mNumDisplays(1), in HWComposer()
112 if (mFbDev && mHwc && hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_1)) { in HWComposer()
121 if ((!mHwc || !hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_1)) in HWComposer()
133 if (mHwc) { in HWComposer()
135 (hwcApiVersion(mHwc) >> 24) & 0xff, in HWComposer()
136 (hwcApiVersion(mHwc) >> 16) & 0xff); in HWComposer()
137 if (mHwc->registerProcs) { in HWComposer()
141 if (hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_1)) in HWComposer()
146 mHwc->registerProcs(mHwc, &mCBContext->procs); in HWComposer()
156 if (hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_3)) { in HWComposer()
[all …]
DFramebufferSurface.cpp59 mHwc(hwc) in FramebufferSurface()
66 mConsumer->setDefaultBufferFormat(mHwc.getFormat(disp)); in FramebufferSurface()
67 mConsumer->setDefaultBufferSize(mHwc.getWidth(disp), mHwc.getHeight(disp)); in FramebufferSurface()
134 err = mHwc.fbPost(mDisplayType, acquireFence, buf); in onFrameAvailable()
148 sp<Fence> fence = mHwc.getAndResetReleaseFence(mDisplayType); in onFrameCommitted()
160 return mHwc.fbCompositionComplete(); in compositionComplete()
185 mHwc.fbDump(result); in dumpLocked()
DVirtualDisplaySurface.cpp54 mHwc(hwc), in VirtualDisplaySurface()
199 mHwc.setOutputBuffer(mDisplayId, mOutputFence, outBuffer); in advanceFrame()
203 result = mHwc.fbPost(mDisplayId, mFbFence, fbBuffer); in advanceFrame()
217 sp<Fence> fbFence = mHwc.getAndResetReleaseFence(mDisplayId); in onFrameCommitted()
231 sp<Fence> outFence = mHwc.getLastRetireFence(mDisplayId); in onFrameCommitted()
558 result = mHwc.setOutputBuffer(mDisplayId, Fence::NO_FENCE, in refreshOutputBuffer()
DFramebufferSurface.h82 HWComposer& mHwc; variable
DHWComposer.h285 HWComposer& mHwc; variable
351 struct hwc_composer_device_1* mHwc; variable
DVirtualDisplaySurface.h141 HWComposer& mHwc; variable
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp400 mHwc = new HWComposer(this, in init()
404 mRenderEngine = RenderEngine::create(mEGLDisplay, mHwc->getVisualID()); in init()
416 if (mHwc->isConnected(i) || type==DisplayDevice::DISPLAY_PRIMARY) { in init()
427 sp<FramebufferSurface> fbs = new FramebufferSurface(*mHwc, i, in init()
431 type, hwcId, mHwc->getFormat(hwcId), isSecure, token, in init()
462 if (mHwc->initCheck() != NO_ERROR) { in init()
478 type : mHwc->allocateDisplayId(); in allocateHwcDisplayId()
1333 *mHwc, hwcDisplayId, state.surface, in handleTransactionLocked()
1347 dispSurface = new FramebufferSurface(*mHwc, state.type, in handleTransactionLocked()
1356 mHwc->getFormat(hwcDisplayId), state.isSecure, in handleTransactionLocked()
[all …]
DSurfaceFlinger.h363 HWComposer& getHwComposer() const { return *mHwc; } in getHwComposer()
435 HWComposer* mHwc; variable