Home
last modified time | relevance | path

Searched refs:disp (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer_hwc1.cpp171 DisplayData& disp(mDisplayData[HWC_DISPLAY_PRIMARY]); in HWComposer() local
172 disp.connected = true; in HWComposer()
173 disp.format = mFbDev->format; in HWComposer()
180 disp.configs.push_back(config); in HWComposer()
181 disp.currentConfig = 0; in HWComposer()
263 void HWComposer::hook_vsync(const struct hwc_procs* procs, int disp, in hook_vsync() argument
267 ctx->hwc->vsync(disp, timestamp); in hook_vsync()
270 void HWComposer::hook_hotplug(const struct hwc_procs* procs, int disp, in hook_hotplug() argument
274 ctx->hwc->hotplug(disp, connected); in hook_hotplug()
281 void HWComposer::vsync(int disp, int64_t timestamp) { in vsync() argument
[all …]
DHWComposer_hwc1.h61 virtual void onVSyncReceived(int disp, nsecs_t timestamp) = 0;
62 virtual void onHotplugReceived(int disp, bool connected) = 0;
101 status_t setPowerMode(int disp, int mode);
104 status_t setActiveConfig(int disp, int mode);
107 void disconnectDisplay(int disp);
252 void eventControl(int disp, int event, int enabled);
265 nsecs_t getRefreshTimestamp(int disp) const;
266 sp<Fence> getDisplayFence(int disp) const;
267 uint32_t getFormat(int disp) const;
268 bool isConnected(int disp) const;
[all …]
DHWComposer.cpp181 int32_t disp = 0; in hotplug() local
187 disp = DisplayDevice::DISPLAY_PRIMARY; in hotplug()
195 disp = DisplayDevice::DISPLAY_EXTERNAL; in hotplug()
197 mEventHandler->onHotplugReceived(disp, in hotplug()
227 int32_t disp = mHwcDisplaySlots[display->getId()]; in vsync() local
235 if (timestamp == mLastHwVSync[disp]) { in vsync()
241 mLastHwVSync[disp] = timestamp; in vsync()
245 snprintf(tag, sizeof(tag), "HW_VSYNC_%1u", disp); in vsync()
246 ATRACE_INT(tag, ++mVSyncCounts[disp] & 1); in vsync()
248 mEventHandler->onVSyncReceived(disp, timestamp); in vsync()
[all …]
DFramebufferSurface.cpp58 FramebufferSurface::FramebufferSurface(HWComposer& hwc, int disp, in FramebufferSurface() argument
61 mDisplayType(disp), in FramebufferSurface()
75 ALOGV("Creating for display %d", disp); in FramebufferSurface()
84 const auto& activeConfig = mHwc.getActiveConfig(disp); in FramebufferSurface()
88 mConsumer->setDefaultBufferFormat(mHwc.getFormat(disp)); in FramebufferSurface()
89 mConsumer->setDefaultBufferSize(mHwc.getWidth(disp), mHwc.getHeight(disp)); in FramebufferSurface()
DHWComposer.h72 virtual void onVSyncReceived(int32_t disp, nsecs_t timestamp) = 0;
73 virtual void onHotplugReceived(int32_t disp, bool connected) = 0;
138 void setVsyncEnabled(int32_t disp, HWC2::Vsync enabled);
151 nsecs_t getRefreshTimestamp(int32_t disp) const;
152 bool isConnected(int32_t disp) const;
DFramebufferSurface.h40 FramebufferSurface(HWComposer& hwc, int disp, const sp<IGraphicBufferConsumer>& consumer);
/frameworks/native/opengl/libs/EGL/
Degl_display.cpp93 EGLDisplay egl_display_t::getFromNativeDisplay(EGLNativeDisplayType disp) { in getFromNativeDisplay() argument
94 if (uintptr_t(disp) >= NUM_DISPLAYS) in getFromNativeDisplay()
97 return sDisplay[uintptr_t(disp)].getDisplay(disp); in getFromNativeDisplay()
108 if (cnx->dso && disp.dpy == EGL_NO_DISPLAY) { in getDisplay()
110 disp.dpy = dpy; in getDisplay()
151 EGLDisplay idpy = disp.dpy; in initialize()
157 disp.state = egl_display_t::INITIALIZED; in initialize()
160 disp.queryString.vendor = cnx->egl.eglQueryString(idpy, in initialize()
162 disp.queryString.version = cnx->egl.eglQueryString(idpy, in initialize()
164 disp.queryString.extensions = cnx->egl.eglQueryString(idpy, in initialize()
[all …]
DeglApi.cpp328 dp->disp.dpy, configs, config_size, num_config); in eglGetConfigs()
394 dp->disp.dpy, aaAttribs, configs, config_size, &numConfigAA); in eglChooseConfig()
406 dp->disp.dpy, attrib_list, configs, config_size, num_config); in eglChooseConfig()
421 dp->disp.dpy, config, attribute, value); in eglGetConfigAttrib()
457 EGLDisplay iDpy = dp->disp.dpy; in eglCreateWindowSurface()
565 dp->disp.dpy, config, pixmap, attrib_list); in eglCreatePixmapSurface()
584 dp->disp.dpy, config, attrib_list); in eglCreatePbufferSurface()
606 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface); in eglDestroySurface()
627 dp->disp.dpy, s->surface, attribute, value); in eglQuerySurface()
666 dp->disp.dpy, config, share_list, attrib_list); in eglCreateContext()
[all …]
Degl_object.cpp35 egl_object_t::egl_object_t(egl_display_t* disp) : in egl_object_t() argument
36 display(disp), count(1) { in egl_object_t()
Degl_display.h86 static EGLDisplay getFromNativeDisplay(EGLNativeDisplayType disp);
124 DisplayImpl disp;
Degl_cache.cpp95 const char* exts = display->disp.queryString.extensions; in initialize()
115 eglSetBlobCacheFuncsANDROID(display->disp.dpy, in initialize()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dframetovalues.cpp42 int disp = 0; in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues() local
43 for(int idx = 0; idx < numPixels; idx++, disp+=4) { in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues()
44 int R = *(pixelPtr + disp); in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues()
45 int G = *(pixelPtr + disp + 1); in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues()
46 int B = *(pixelPtr + disp + 2); in Java_androidx_media_filterpacks_image_ToGrayValuesFilter_toGrayValues()
Dstats_scorer.cpp57 int disp = width * y; in Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore() local
59 float val = static_cast<float>(*(pImg + disp + x)); in Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp682 MessageSetActiveConfig(SurfaceFlinger& flinger, const sp<IBinder>& disp, in setActiveConfig() argument
684 mFlinger(flinger), mDisplay(disp) { mMode = mode; } in setActiveConfig()
859 void SurfaceFlinger::onHotplugReceived(int32_t disp, bool connected) { in onHotplugReceived() argument
860 ALOGV("onHotplugReceived(%d, %s)", disp, connected ? "true" : "false"); in onHotplugReceived()
861 if (disp == DisplayDevice::DISPLAY_PRIMARY) { in onHotplugReceived()
879 DisplayDevice::DISPLAY_PRIMARY, disp, isSecure, token, fbs, in onHotplugReceived()
897 void SurfaceFlinger::setVsyncEnabled(int disp, int enabled) { in setVsyncEnabled() argument
899 getHwComposer().setVsyncEnabled(disp, in setVsyncEnabled()
1427 const sp<DisplayDevice> disp(getDisplayDevice(display)); in handleTransactionLocked() local
1428 if (disp != NULL) { in handleTransactionLocked()
[all …]
DSurfaceFlinger_hwc1.cpp716 MessageSetActiveConfig(SurfaceFlinger& flinger, const sp<IBinder>& disp, in setActiveConfig() argument
718 mFlinger(flinger), mDisplay(disp) { mMode = mode; } in setActiveConfig()
902 void SurfaceFlinger::eventControl(int disp, int event, int enabled) { in eventControl() argument
904 getHwComposer().eventControl(disp, event, enabled); in eventControl()
1440 const sp<DisplayDevice> disp(getDisplayDevice(display)); in handleTransactionLocked() local
1441 if (disp != NULL) { in handleTransactionLocked()
1443 disp->setLayerStack(state.layerStack); in handleTransactionLocked()
1449 disp->setProjection(state.orientation, in handleTransactionLocked()
1453 disp->setDisplaySize(state.width, state.height); in handleTransactionLocked()
1562 sp<const DisplayDevice> disp; in handleTransactionLocked() local
[all …]
DSurfaceFlinger.h124 void setVsyncEnabled(int disp, int enabled);
126 void eventControl(int disp, int event, int enabled);
242 virtual void onHotplugReceived(int disp, bool connected);
/frameworks/base/docs/html-intl/intl/pt-br/training/basics/data-storage/
Dfiles.jd92 ele dispõe de maior espaço em armazenamento externo do que interno. Para obter mais
/frameworks/base/docs/html-intl/intl/pt-br/guide/components/
Dbound-services.jd149 em primitivos para que o sistema operacional possa entendê-los e dispô-los em processos