Searched refs:mHwc (Results 1 - 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer_hwc1.cpp90 mFbDev(0), mHwc(0), mNumDisplays(1),
114 if (mFbDev && mHwc && hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_1)) {
123 if ((!mHwc || !hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_1))
135 if (mHwc) {
137 (hwcApiVersion(mHwc) >> 24) & 0xff,
138 (hwcApiVersion(mHwc) >> 16) & 0xff);
139 if (mHwc->registerProcs) {
143 if (hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_
[all...]
H A DFramebufferSurface.cpp62 mHwc(hwc),
67 mHwc(hwc)
80 const auto& activeConfig = mHwc.getActiveConfig(disp);
84 mConsumer->setDefaultBufferFormat(mHwc.getFormat(disp));
85 mConsumer->setDefaultBufferSize(mHwc.getWidth(disp), mHwc.getHeight(disp));
111 result = mHwc.setClientTarget(mDisplayType, slot,
199 err = mHwc.fbPost(mDisplayType, acquireFence, buf);
216 sp<Fence> fence = mHwc.getPresentFence(mDisplayType);
232 sp<Fence> fence = mHwc
[all...]
H A DFramebufferSurface.h94 HWComposer& mHwc; member in class:android::FramebufferSurface
H A DVirtualDisplaySurface.cpp53 mHwc(hwc),
216 mHwc.setOutputBuffer(mDisplayId, mOutputFence, outBuffer);
227 result = mHwc.setClientTarget(mDisplayId, hwcSlot, mFbFence,
230 result = mHwc.fbPost(mDisplayId, mFbFence, fbBuffer);
246 sp<Fence> retireFence = mHwc.getPresentFence(mDisplayId);
248 sp<Fence> fbFence = mHwc.getAndResetReleaseFence(mDisplayId);
269 sp<Fence> outFence = mHwc.getLastRetireFence(mDisplayId);
653 result = mHwc.setOutputBuffer(mDisplayId, Fence::NO_FENCE,
H A DVirtualDisplaySurface.h156 HWComposer& mHwc; member in class:android::VirtualDisplaySurface
H A DHWComposer_hwc1.h300 HWComposer& mHwc; member in class:android::HWComposer::VSyncThread
373 struct hwc_composer_device_1* mHwc; member in class:android::HWComposer
374 // invariant: mLists[0] != NULL iff mHwc != NULL
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp132 mHwc(nullptr),
572 mHwc = mRealHwc;
573 mHwc->setEventHandler(static_cast<HWComposer::EventHandler*>(this));
591 mVrFlinger = dvr::VrFlinger::Create(mHwc->getComposer(),
981 mHwc->getHdrCapabilities(displayDevice->getHwcDisplayId());
1095 const auto& activeConfig = mHwc->getActiveConfig(HWC_DISPLAY_PRIMARY);
1138 if (composer != mHwc) {
1174 sp<FramebufferSurface> fbs = new FramebufferSurface(*mHwc, type, consumer);
1233 if (composer == mHwc) {
1281 if (vrFlingerRequestsDisplay == mHwc
[all...]
H A DSurfaceFlinger_hwc1.cpp535 mHwc = new HWComposer(this,
539 mRenderEngine = RenderEngine::create(mEGLDisplay, mHwc->getVisualID());
554 if (mHwc->isConnected(i) || type==DisplayDevice::DISPLAY_PRIMARY) {
564 sp<FramebufferSurface> fbs = new FramebufferSurface(*mHwc, i,
568 type, hwcId, mHwc->getFormat(hwcId), isSecure, token,
590 if (mHwc->initCheck() != NO_ERROR) {
612 type : mHwc->allocateDisplayId();
1269 sp<Fence> retireFence = mHwc->getDisplayFence(HWC_DISPLAY_PRIMARY);
1734 *mHwc, hwcDisplayId, state.surface,
1748 dispSurface = new FramebufferSurface(*mHwc, stat
[all...]
H A DSurfaceFlinger.h494 HWComposer& getHwComposer() const { return *mHwc; }
607 HWComposer* mHwc; member in class:android::SurfaceFlinger

Completed in 94 milliseconds