HomeSort by relevance Sort by last modified time
    Searched defs:dpy (Results 76 - 100 of 164) sorted by null

1 2 34 5 6 7

  /external/mesa3d/src/gallium/state_trackers/egl/common/
egl_g3d.c 57 _EGLDisplay *dpy = (_EGLDisplay *) ndpy->user_data; local
58 struct egl_g3d_display *gdpy = egl_g3d_display(dpy);
65 _EGLDisplay *dpy = (_EGLDisplay *) ndpy->user_data; local
66 struct egl_g3d_display *gdpy = egl_g3d_display(dpy);
73 _EGLDisplay *dpy = (_EGLDisplay *) ndpy->user_data; local
74 struct egl_g3d_display *gdpy = egl_g3d_display(dpy);
163 egl_g3d_add_screens(_EGLDriver *drv, _EGLDisplay *dpy)
165 struct egl_g3d_display *gdpy = egl_g3d_display(dpy);
198 _eglInitScreen(&gscr->base, dpy, num_modes);
334 egl_g3d_init_config(_EGLDriver *drv, _EGLDisplay *dpy,
    [all...]
  /external/mesa3d/src/gallium/state_trackers/egl/x11/
glxinit.c 45 __glXCloseDisplay(Display * dpy, XExtCodes * codes)
47 return XextRemoveDisplay(__glXExtensionInfo, dpy);
137 __glXQueryServerString(Display * dpy, int opcode, CARD32 screen, CARD32 name)
148 LockDisplay(dpy);
163 _XReply(dpy, (xReply *) & reply, 0, False);
170 _XRead(dpy, buf, numbytes);
174 _XEatData(dpy, length);
176 UnlockDisplay(dpy);
194 screens = ScreenCount(priv->dpy);
238 QueryVersion(Display * dpy, int opcode, int *major, int *minor
521 Display *dpy = priv->dpy; local
    [all...]
native_ximage.c 43 Display *dpy; member in struct:ximage_display
104 ok = XGetGeometry(xsurf->xdpy->dpy, xsurf->drawable,
225 XSync(xsurf->xdpy->dpy, FALSE);
521 XCloseDisplay(xdpy->dpy);
531 winsys = xlib_create_sw_winsys(xdpy->dpy);
547 x11_create_ximage_display(Display *dpy,
556 xdpy->dpy = dpy;
557 if (!xdpy->dpy) {
558 xdpy->dpy = XOpenDisplay(NULL)
    [all...]
x11_screen.c 42 Display *dpy; member in struct:x11_screen
72 x11_screen_create(Display *dpy, int screen)
76 if (screen >= ScreenCount(dpy))
81 xscr->dpy = dpy;
122 if (!DRI2QueryExtension(xscr->dpy, &eventBase, &errorBase) ||
123 !DRI2QueryVersion(xscr->dpy, &xscr->dri_major, &xscr->dri_minor))
133 xscr->glx_dpy = __glXInitialize(xscr->dpy);
149 supported = XShmQueryExtension(xscr->dpy);
175 xscr->visuals = XGetVisualInfo(xscr->dpy, VisualScreenMask
    [all...]
  /external/mesa3d/src/gallium/state_trackers/glx/xlib/
glx_usefont.c 126 fill_bitmap(Display * dpy, Window win, GC gc,
135 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1);
136 XSetForeground(dpy, gc, 0);
137 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
138 XSetForeground(dpy, gc, 1);
143 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1);
145 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
156 XFreePixmap(dpy, pixmap);
212 Display *dpy; local
225 dpy = glXGetCurrentDisplay()
    [all...]
  /external/mesa3d/src/glx/
glxext.c 90 static char *__glXErrorString(Display *dpy, int code, XExtCodes *codes,
108 __glXWireToEvent(Display *dpy, XEvent *event, xEvent *wire)
110 struct glx_display *glx_dpy = __glXInitialize(dpy);
138 struct glx_drawable *glxDraw = GetGLXDrawable(dpy, awire->drawable);
165 __glXEventToWire(Display *dpy, XEvent *event, xEvent *wire)
167 struct glx_display *glx_dpy = __glXInitialize(dpy);
203 screens = ScreenCount(priv->dpy);
228 if (priv->dpy == gc->currentDpy) {
262 __glXCloseDisplay(Display * dpy, XExtCodes * codes)
269 if (priv->dpy == dpy)
655 Display *dpy = priv->dpy; local
685 Display *dpy = priv->dpy; local
971 Display *const dpy = ctx->currentDpy; local
1023 Display *dpy = gc->currentDpy; local
    [all...]
single2.c 530 if (!dpy)
538 XFlush(dpy);
546 if (!dpy)
563 if (!dpy)
581 if (!dpy)
648 Display *dpy = gc->currentDpy; local
651 if (!dpy)
684 s = (GLubyte *) __glXGetString(dpy, gc->majorOpcode, gc->currentContextTag,
803 if (!dpy)
840 Display *dpy = gc->currentDpy local
887 Display *const dpy = gc->currentDpy; local
953 Display *const dpy = gc->currentDpy; local
    [all...]
xfont.c 132 fill_bitmap(Display * dpy, Window win, GC gc,
141 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1);
142 XSetForeground(dpy, gc, 0);
143 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
144 XSetForeground(dpy, gc, 1);
149 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1);
151 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
162 XFreePixmap(dpy, pixmap);
217 Display *dpy; local
233 dpy = CC->currentDpy
    [all...]
  /external/mesa3d/src/mesa/drivers/x11/
xfonts.c 133 fill_bitmap(Display * dpy, Window win, GC gc,
142 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1);
143 XSetForeground(dpy, gc, 0);
144 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
145 XSetForeground(dpy, gc, 1);
150 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1);
152 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
163 XFreePixmap(dpy, pixmap);
219 Display *dpy; local
232 dpy = glXGetCurrentDisplay()
    [all...]
  /frameworks/native/cmds/flatland/
GLHelper.cpp 224 sp<IBinder> dpy = mSurfaceComposerClient->getBuiltInDisplay(0); local
225 if (dpy == NULL) {
231 status_t err = mSurfaceComposerClient->getDisplayInfo(dpy, &info);
  /frameworks/native/libs/gui/tests/
SurfaceTextureClient_test.cpp 141 EGLDisplay dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); local
143 ASSERT_NE(EGL_NO_DISPLAY, dpy);
147 EXPECT_TRUE(eglInitialize(dpy, &majorVersion, &minorVersion));
162 EXPECT_TRUE(eglChooseConfig(dpy, configAttribs, &myConfig, 1,
166 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(),
172 eglDestroySurface(dpy, eglSurface);
175 eglTerminate(dpy);
499 EGLDisplay dpy; member in class:android::MyThread
503 eglMakeCurrent(dpy, sur, sur, ctx);
508 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)
    [all...]
  /frameworks/native/opengl/libs/EGL/
egl_display.h 85 static egl_display_t* get(EGLDisplay dpy);
114 DisplayImpl() : dpy(EGL_NO_DISPLAY), state(NOT_INITIALIZED) { }
115 EGLDisplay dpy; member in struct:android::egl_display_t::DisplayImpl
191 explicit egl_display_ptr(egl_display_t* dpy): mDpy(dpy) {
238 inline egl_display_ptr get_display(EGLDisplay dpy) {
239 return egl_display_ptr(egl_display_t::get(dpy));
244 inline egl_display_t* get_display_nowake(EGLDisplay dpy) {
245 return egl_display_t::get(dpy);
250 egl_display_ptr validate_display(EGLDisplay dpy);
    [all...]
  /frameworks/native/opengl/tests/gl2_basic/
gl2_basic.cpp 178 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) {
219 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
229 int printEGLConfigurations(EGLDisplay dpy) {
231 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig);
245 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig);
254 printEGLConfiguration(dpy, configs[i]);
276 EGLDisplay dpy; local
279 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
281 if (dpy == EGL_NO_DISPLAY) {
286 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion)
    [all...]
  /frameworks/native/opengl/tests/gl2_copyTexImage/
gl2_copyTexImage.cpp 282 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) {
323 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
333 int printEGLConfigurations(EGLDisplay dpy) {
335 EGLint returnVal = eglGetConfigs(dpy, NULL, 0, &numConfig);
349 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig);
358 printEGLConfiguration(dpy, configs[i]);
384 EGLDisplay dpy; local
387 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
389 if (dpy == EGL_NO_DISPLAY) {
394 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion)
    [all...]
  /frameworks/native/opengl/tests/gl_yuvtex/
gl_yuvtex.cpp 93 bool setupYuvTexSurface(EGLDisplay dpy, EGLContext context) {
131 EGLImageKHR img = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID,
173 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) {
214 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
239 EGLDisplay dpy; local
242 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
244 if (dpy == EGL_NO_DISPLAY) {
249 returnValue = eglInitialize(dpy, &majorVersion, &minorVersion);
258 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig);
267 printEGLConfiguration(dpy, myConfig)
    [all...]
  /frameworks/native/opengl/tests/hwc/
hwcColorEquiv.cpp 128 static EGLDisplay dpy; variable
396 list->dpy = dpy;
420 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
hwcRects.cpp 169 static EGLDisplay dpy; variable
344 list->dpy = dpy;
539 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
  /hardware/qcom/display/msm8960/libhwcomposer/
hwc.cpp 112 static void reset_layer_prop(hwc_context_t* ctx, int dpy, int numAppLayers) {
113 if(ctx->layerProp[dpy]) {
114 delete[] ctx->layerProp[dpy];
115 ctx->layerProp[dpy] = NULL;
117 ctx->layerProp[dpy] = new LayerProp[numAppLayers];
120 static int display_commit(hwc_context_t *ctx, int dpy) {
121 int fbFd = ctx->dpyAttr[dpy].fd;
123 ALOGE("%s: Invalid FB fd for display: %d", __FUNCTION__, dpy);
140 const int dpy = HWC_DISPLAY_PRIMARY; local
144 ctx->dpyAttr[dpy].isActive)
355 const int dpy = HWC_DISPLAY_PRIMARY; local
    [all...]
  /hardware/qcom/display/msm8960/liboverlay/
overlay.cpp 73 sprintf(str, "Unset pipe=%s dpy=%d; ",
84 eDest Overlay::nextPipe(eMdpPipeType type, int dpy) {
93 mPipeBook[i].mDisplay == dpy) &&
106 mPipeBook[index].mDisplay = dpy;
108 mPipeBook[index].mPipe = new GenericPipe(dpy);
110 snprintf(str, 32, "Set pipe=%s dpy=%d; ",
111 PipeBook::getDestStr(dest), dpy);
116 (int)type, dpy);
132 int dpy = mPipeBook[index].mDisplay; local
134 if (mPipeBook[i].mDisplay == dpy)
    [all...]
  /hardware/qcom/display/msm8974/libhwcomposer/
hwc.cpp 117 static void reset_layer_prop(hwc_context_t* ctx, int dpy, int numAppLayers) {
118 if(ctx->layerProp[dpy]) {
119 delete[] ctx->layerProp[dpy];
120 ctx->layerProp[dpy] = NULL;
122 ctx->layerProp[dpy] = new LayerProp[numAppLayers];
125 static void handleGeomChange(hwc_context_t *ctx, int dpy,
128 ctx->mOverlay->forceSet(dpy);
132 static int display_commit(hwc_context_t *ctx, int dpy) {
133 int fbFd = ctx->dpyAttr[dpy].fd;
135 ALOGE("%s: Invalid FB fd for display: %d", __FUNCTION__, dpy);
153 const int dpy = HWC_DISPLAY_PRIMARY; local
372 const int dpy = HWC_DISPLAY_PRIMARY; local
    [all...]
  /hardware/qcom/display/msm8974/liboverlay/
overlay.cpp 72 sprintf(str, "Unset=%s dpy=%d mix=%d; ",
86 eDest Overlay::nextPipe(eMdpPipeType type, int dpy, int mixer) {
93 mPipeBook[i].mDisplay == dpy) &&
107 mPipeBook[index].mDisplay = dpy;
110 mPipeBook[index].mPipe = new GenericPipe(dpy);
112 snprintf(str, 32, "Set=%s dpy=%d mix=%d; ",
113 PipeBook::getDestStr(dest), dpy, mixer);
120 (int)type, dpy, mixer);
148 int dpy = mPipeBook[index].mDisplay; local
150 if (mPipeBook[i].mDisplay == dpy) {
    [all...]
  /hardware/qcom/display/msm8x26/libhwcomposer/
hwc.cpp 112 static void reset_layer_prop(hwc_context_t* ctx, int dpy, int numAppLayers) {
113 if(ctx->layerProp[dpy]) {
114 delete[] ctx->layerProp[dpy];
115 ctx->layerProp[dpy] = NULL;
117 ctx->layerProp[dpy] = new LayerProp[numAppLayers];
120 static int display_commit(hwc_context_t *ctx, int dpy) {
121 int fbFd = ctx->dpyAttr[dpy].fd;
123 ALOGE("%s: Invalid FB fd for display: %d", __FUNCTION__, dpy);
140 const int dpy = HWC_DISPLAY_PRIMARY; local
144 ctx->dpyAttr[dpy].isActive)
356 const int dpy = HWC_DISPLAY_PRIMARY; local
    [all...]
  /hardware/qcom/display/msm8x26/liboverlay/
overlay.cpp 73 sprintf(str, "Unset pipe=%s dpy=%d; ",
84 eDest Overlay::nextPipe(eMdpPipeType type, int dpy) {
93 mPipeBook[i].mDisplay == dpy) &&
106 mPipeBook[index].mDisplay = dpy;
108 mPipeBook[index].mPipe = new GenericPipe(dpy);
110 snprintf(str, 32, "Set pipe=%s dpy=%d; ",
111 PipeBook::getDestStr(dest), dpy);
116 (int)type, dpy);
132 int dpy = mPipeBook[index].mDisplay; local
134 if (mPipeBook[i].mDisplay == dpy)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/egl/main/
egldisplay.h 172 _eglReleaseDisplayResources(_EGLDriver *drv, _EGLDisplay *dpy);
180 _eglCheckDisplayHandle(EGLDisplay dpy);
184 _eglCheckResource(void *res, _EGLResourceType type, _EGLDisplay *dpy);
194 _EGLDisplay *dpy = (_EGLDisplay *) display; local
196 dpy = NULL;
197 return dpy;
205 _eglGetDisplayHandle(_EGLDisplay *dpy)
207 return (EGLDisplay) ((dpy) ? dpy : EGL_NO_DISPLAY);
212 _eglInitResource(_EGLResource *res, EGLint size, _EGLDisplay *dpy);
    [all...]
  /external/chromium_org/third_party/mesa/src/src/glx/
drisw_glx.c 72 Display * dpy, XID drawable, int visualid)
80 pdp->gc = XCreateGC(dpy, drawable, 0, NULL);
81 pdp->swapgc = XCreateGC(dpy, drawable, 0, NULL);
85 XChangeGC(dpy, pdp->gc, GCFunction, &gcvalues);
86 XChangeGC(dpy, pdp->swapgc, GCFunction, &gcvalues);
87 XChangeGC(dpy, pdp->swapgc, GCGraphicsExposures, &gcvalues);
92 pdp->visinfo = XGetVisualInfo(dpy, visMask, &visTemp, &num_visuals);
98 pdp->ximage = XCreateImage(dpy,
118 XDestroyDrawable(struct drisw_drawable * pdp, Display * dpy, XID drawable)
123 XFreeGC(dpy, pdp->gc)
138 Display *dpy = pdraw->psc->dpy; local
180 Display *dpy = pdraw->psc->dpy; local
216 Display *dpy = pread->psc->dpy; local
    [all...]

Completed in 480 milliseconds

1 2 34 5 6 7