Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.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.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);
251 void eventControl(int disp, int event, int enabled);
263 nsecs_t getRefreshTimestamp(int disp) const;
264 sp<Fence> getDisplayFence(int disp) const;
265 uint32_t getFormat(int disp) const;
266 bool isConnected(int disp) const;
[all …]
DFramebufferSurface.cpp53 FramebufferSurface::FramebufferSurface(HWComposer& hwc, int disp, in FramebufferSurface() argument
56 mDisplayType(disp), in FramebufferSurface()
66 mConsumer->setDefaultBufferFormat(mHwc.getFormat(disp)); in FramebufferSurface()
67 mConsumer->setDefaultBufferSize(mHwc.getWidth(disp), mHwc.getHeight(disp)); in FramebufferSurface()
DFramebufferSurface.h40 FramebufferSurface(HWComposer& hwc, int disp, const sp<IGraphicBufferConsumer>& consumer);
/frameworks/native/opengl/libs/EGL/
Degl_display.cpp94 EGLDisplay egl_display_t::getFromNativeDisplay(EGLNativeDisplayType disp) { in getFromNativeDisplay() argument
95 if (uintptr_t(disp) >= NUM_DISPLAYS) in getFromNativeDisplay()
98 return sDisplay[uintptr_t(disp)].getDisplay(disp); in getFromNativeDisplay()
109 if (cnx->dso && disp.dpy == EGL_NO_DISPLAY) { in getDisplay()
111 disp.dpy = dpy; in getDisplay()
161 EGLDisplay idpy = disp.dpy; in initialize()
167 disp.state = egl_display_t::INITIALIZED; in initialize()
170 disp.queryString.vendor = cnx->egl.eglQueryString(idpy, in initialize()
172 disp.queryString.version = cnx->egl.eglQueryString(idpy, in initialize()
174 disp.queryString.extensions = cnx->egl.eglQueryString(idpy, in initialize()
[all …]
DeglApi.cpp275 dp->disp.dpy, configs, config_size, num_config); in eglGetConfigs()
341 dp->disp.dpy, aaAttribs, configs, config_size, &numConfigAA); in eglChooseConfig()
353 dp->disp.dpy, attrib_list, configs, config_size, num_config); in eglChooseConfig()
368 dp->disp.dpy, config, attribute, value); in eglGetConfigAttrib()
409 EGLDisplay iDpy = dp->disp.dpy; in eglCreateWindowSurface()
534 dp->disp.dpy, config, pixmap, attrib_list); in eglCreatePixmapSurface()
553 dp->disp.dpy, config, attrib_list); in eglCreatePbufferSurface()
575 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface); in eglDestroySurface()
596 dp->disp.dpy, s->surface, attribute, value); in eglQuerySurface()
635 dp->disp.dpy, config, share_list, attrib_list); in eglCreateContext()
[all …]
Degl_object.cpp32 egl_object_t::egl_object_t(egl_display_t* disp) : in egl_object_t() argument
33 display(disp), count(1) { in egl_object_t()
Degl_display.h86 static EGLDisplay getFromNativeDisplay(EGLNativeDisplayType disp);
124 DisplayImpl disp;
Degl_cache.cpp94 const char* exts = display->disp.queryString.extensions; in initialize()
114 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.cpp653 MessageSetActiveConfig(SurfaceFlinger& flinger, const sp<IBinder>& disp, in setActiveConfig() argument
655 mFlinger(flinger), mDisplay(disp) { mMode = mode; } in setActiveConfig()
824 void SurfaceFlinger::eventControl(int disp, int event, int enabled) { in eventControl() argument
826 getHwComposer().eventControl(disp, event, enabled); in eventControl()
1306 const sp<DisplayDevice> disp(getDisplayDevice(display)); in handleTransactionLocked() local
1307 if (disp != NULL) { in handleTransactionLocked()
1309 disp->setLayerStack(state.layerStack); in handleTransactionLocked()
1315 disp->setProjection(state.orientation, in handleTransactionLocked()
1319 disp->setDisplaySize(state.width, state.height); in handleTransactionLocked()
1428 sp<const DisplayDevice> disp; in handleTransactionLocked() local
[all …]
DSurfaceFlinger.h122 void eventControl(int disp, int event, int enabled);
233 virtual void onHotplugReceived(int disp, bool connected);