HomeSort by relevance Sort by last modified time
    Searched defs:dpy (Results 26 - 50 of 155) sorted by null

12 3 4 5 6 7

  /external/mesa3d/src/glx/
indirect_vertex_program.c 69 Display *const dpy = gc->currentDpy; local
72 if (__builtin_expect(dpy != NULL, 1)) {
81 (void) __glXReadReply(dpy, size, params, GL_FALSE);
82 UnlockDisplay(dpy);
183 Display *const dpy = gc->currentDpy; local
191 (void) _XReply(dpy, reply, 0, False);
199 Display *const dpy = gc->currentDpy; local
218 _XRead(dpy, (void *) params, 4 * reply.size);
223 UnlockDisplay(dpy);
233 Display *const dpy = gc->currentDpy local
267 Display *const dpy = gc->currentDpy; local
    [all...]
indirect_glx.c 61 SendMakeCurrentRequest(Display * dpy, CARD8 opcode,
69 LockDisplay(dpy);
82 struct glx_display *priv = __glXInitialize(dpy);
118 ret = _XReply(dpy, (xReply *) &reply, 0, False);
123 UnlockDisplay(dpy);
134 Display *dpy = gc->psc->dpy; local
135 int opcode = __glXSetupForCommand(dpy);
138 if (old != &dummyContext && !old->isDirect && old->psc->dpy == dpy) {
158 Display *dpy = gc->psc->dpy; local
179 Display *dpy = gc->currentDpy; local
198 Display *dpy = gc->currentDpy; local
217 Display *dpy = gc->currentDpy; local
    [all...]
  /external/mesa3d/src/glx/tests/
query_renderer_unittest.cpp 97 Display dpy; member in class:query_renderer_string_test
139 glXQueryRendererStringMESA(&dpy, 0, 0, GLX_RENDERER_VENDOR_ID_MESA);
182 glXQueryRendererStringMESA(&dpy, 0, 0, invalid_attributes[i].value);
221 glXQueryRendererStringMESA(&dpy, 0, 0, GLX_RENDERER_VENDOR_ID_MESA);
244 glXQueryRendererStringMESA(&dpy, 0,
290 Bool success = glXQueryRendererIntegerMESA(&dpy, 0, 0,
334 glXQueryRendererIntegerMESA(&dpy, 0, 0,
380 glXQueryRendererIntegerMESA(&dpy, 0, 0, GLX_RENDERER_VENDOR_ID_MESA,
406 glXQueryRendererIntegerMESA(&dpy, 0,
create_context_unittest.cpp 58 GetGLXScreenConfigs(Display * dpy, int scrn)
60 (void) dpy;
111 __glXSendErrorForXcb(Display * dpy, const xcb_generic_error_t *err)
116 __glXSendError(Display * dpy, int_fast8_t errorCode, uint_fast32_t resourceID,
130 mock_XDisplay *dpy; member in class:glXCreateContextAttribARB_test
143 this->dpy = new mock_XDisplay(1);
178 glXCreateContextAttribsARB(this->dpy, NULL, 0, False, NULL);
190 glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
204 glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0,
212 glXCreateContextAttribsARB(this->dpy, (GLXFBConfig) &this->fbc, 0
    [all...]
  /external/mesa3d/src/mesa/drivers/x11/
xm_line.c 59 XMesaDisplay *dpy = xmesa->xm_visual->display;
70 XMesaSetForeground( dpy, gc, pixel );
73 XMesaDrawPoint( dpy, buffer, gc, x, y);
78 XMesaSetForeground( dpy, gc, vert->index );
81 XMesaDrawPoint( dpy, buffer, gc, x, y);
419 XMesaDisplay *dpy = xmesa->xm_visual->display; local
430 XMesaSetForeground(dpy, gc, pixel);
431 XMesaSetFunction(dpy, gc, GXxor);
432 XSetLineAttributes(dpy, gc, (int) ctx->Line.Width,
434 XDrawLine(dpy, xrb->pixmap, gc, x0, y0, x1, y1)
    [all...]
  /frameworks/native/opengl/tests/fillrate/
fillrate.cpp 46 EGLDisplay dpy; local
51 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
52 eglInitialize(dpy, &majorVersion, &minorVersion);
55 dpy, configAttribs, window, &config);
61 surface = eglCreateWindowSurface(dpy, config, window, NULL);
62 context = eglCreateContext(dpy, config, NULL, NULL);
63 eglMakeCurrent(dpy, surface, surface, context);
64 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
65 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
122 eglSwapInterval(dpy, 1)
    [all...]
  /frameworks/native/opengl/tests/finish/
finish.cpp 47 EGLDisplay dpy; local
52 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
53 eglInitialize(dpy, &majorVersion, &minorVersion);
56 dpy, configAttribs, window, &config);
62 surface = eglCreateWindowSurface(dpy, config, window, NULL);
63 context = eglCreateContext(dpy, config, NULL, NULL);
64 eglMakeCurrent(dpy, surface, surface, context);
65 eglQuerySurface(dpy, surface, EGL_WIDTH, &w);
66 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h);
113 eglSwapBuffers(dpy, surface)
    [all...]
  /frameworks/native/opengl/tests/swapinterval/
swapinterval.cpp 45 EGLDisplay dpy; local
51 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
52 eglInitialize(dpy, &majorVersion, &minorVersion);
53 eglGetConfigs(dpy, NULL, 0, &numConfigs);
57 dpy, configAttribs, window, &config);
60 eglTerminate(dpy);
65 eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r);
66 eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g);
67 eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b);
68 eglGetConfigAttrib(dpy, config, EGL_ALPHA_SIZE, &a)
    [all...]
  /hardware/intel/common/libva/va/x11/
va_x11.c 171 VADisplay dpy = NULL; local
177 if (!dpy)
197 dpy = (VADisplay)pDisplayContext;
210 return dpy;
213 #define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)
214 #define CHECK_DISPLAY(dpy) if( !vaDisplayIsValid(dpy) ) { return VA_STATUS_ERROR_INVALID_DISPLAY; }
217 VADisplay dpy,
235 VADisplay dpy,
    [all...]
va_dri.c 53 #define VA_DRICheckExtension(dpy,i,val) \
54 XextCheckExtension (dpy, i, va_dri_extension_name, val)
62 static int close_display(Display *dpy, XExtCodes *extCodes);
99 PUBLIC Bool VA_DRIQueryExtension (dpy, event_basep, error_basep)
100 Display *dpy;
103 XExtDisplayInfo *info = find_display (dpy);
117 PUBLIC Bool VA_DRIQueryVersion(dpy, majorVersion, minorVersion, patchVersion)
118 Display* dpy;
123 XExtDisplayInfo *info = find_display (dpy);
128 VA_DRICheckExtension (dpy, info, False)
381 Display * const dpy = (Display *) ndpy; local
403 Display * const dpy = (Display *) ndpy; local
433 Display * const dpy = (Display *) ndpy; local
    [all...]
  /hardware/qcom/display/msm8084/libhwcomposer/
hwc_qclient.cpp 109 int dpy = inParcel->readInt32(); local
110 outParcel->writeInt32(ctx->dpyAttr[dpy].vsync_period);
111 outParcel->writeInt32(ctx->dpyAttr[dpy].xres);
112 outParcel->writeInt32(ctx->dpyAttr[dpy].yres);
113 outParcel->writeFloat(ctx->dpyAttr[dpy].xdpi);
114 outParcel->writeFloat(ctx->dpyAttr[dpy].ydpi);
119 int dpy = inParcel->readInt32(); local
120 ALOGD_IF(0, "In %s: dpy = %d", __FUNCTION__, dpy);
134 static status_t getDisplayVisibleRegion(hwc_context_t* ctx, int dpy,
163 int dpy = HWC_DISPLAY_VIRTUAL; local
178 int dpy = HWC_DISPLAY_VIRTUAL; local
    [all...]
hwc_uevents.cpp 42 static void setup(hwc_context_t* ctx, int dpy)
44 ctx->mFBUpdate[dpy] = IFBUpdate::getObject(ctx, dpy);
45 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy);
48 static void clear(hwc_context_t* ctx, int dpy)
50 if(ctx->mFBUpdate[dpy]) {
51 delete ctx->mFBUpdate[dpy];
52 ctx->mFBUpdate[dpy] = NULL;
54 if(ctx->mMDPComp[dpy]) {
159 int dpy = getConnectedDisplay(udata); local
    [all...]
hwc_virtual.cpp 52 const int dpy = HWC_DISPLAY_VIRTUAL; local
53 ctx->mFBUpdate[dpy] =
54 IFBUpdate::getObject(ctx, dpy);
55 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy);
57 if(ctx->mFBUpdate[dpy])
58 ctx->mFBUpdate[dpy]->reset();
59 if(ctx->mMDPComp[dpy])
60 ctx->mMDPComp[dpy]->reset();
65 int dpy = HWC_DISPLAY_VIRTUAL local
96 const int dpy = HWC_DISPLAY_VIRTUAL; local
152 const int dpy = HWC_DISPLAY_VIRTUAL; local
255 const int dpy = HWC_DISPLAY_VIRTUAL; local
291 const int dpy = HWC_DISPLAY_VIRTUAL; local
    [all...]
  /hardware/qcom/display/msm8226/libhwcomposer/
hwc_qclient.cpp 110 int dpy = inParcel->readInt32(); local
111 outParcel->writeInt32(ctx->dpyAttr[dpy].vsync_period);
112 if (ctx->dpyAttr[dpy].customFBSize) {
113 outParcel->writeInt32(ctx->dpyAttr[dpy].xres_new);
114 outParcel->writeInt32(ctx->dpyAttr[dpy].yres_new);
116 outParcel->writeInt32(ctx->dpyAttr[dpy].xres);
117 outParcel->writeInt32(ctx->dpyAttr[dpy].yres);
119 outParcel->writeFloat(ctx->dpyAttr[dpy].xdpi);
120 outParcel->writeFloat(ctx->dpyAttr[dpy].ydpi);
125 int dpy = inParcel->readInt32() local
169 int dpy = HWC_DISPLAY_VIRTUAL; local
184 int dpy = HWC_DISPLAY_VIRTUAL; local
199 int dpy = inParcel->readInt32(); local
    [all...]
hwc_uevents.cpp 42 static void setup(hwc_context_t* ctx, int dpy)
44 ctx->mFBUpdate[dpy] = IFBUpdate::getObject(ctx, dpy);
45 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy);
48 static void clear(hwc_context_t* ctx, int dpy)
50 if(ctx->mFBUpdate[dpy]) {
51 delete ctx->mFBUpdate[dpy];
52 ctx->mFBUpdate[dpy] = NULL;
54 if(ctx->mMDPComp[dpy]) {
168 int dpy = getConnectedDisplay(udata); local
    [all...]
hwc_virtual.cpp 63 const int dpy = HWC_DISPLAY_VIRTUAL; local
64 ctx->mFBUpdate[dpy] =
65 IFBUpdate::getObject(ctx, dpy);
66 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy);
68 if(ctx->mFBUpdate[dpy])
69 ctx->mFBUpdate[dpy]->reset();
70 if(ctx->mMDPComp[dpy])
71 ctx->mMDPComp[dpy]->reset();
76 int dpy = HWC_DISPLAY_VIRTUAL local
107 const int dpy = HWC_DISPLAY_VIRTUAL; local
164 const int dpy = HWC_DISPLAY_VIRTUAL; local
295 const int dpy = HWC_DISPLAY_VIRTUAL; local
330 const int dpy = HWC_DISPLAY_VIRTUAL; local
    [all...]
  /hardware/qcom/display/msm8960/libhwcomposer/
hwc_uevents.cpp 83 int dpy = isHDMI(str) ? HWC_DISPLAY_EXTERNAL : extDpyNum; local
86 ctx->mExtDisplay->setExtDpyNum(dpy);
112 if(ctx->mFBUpdate[dpy]) {
114 delete ctx->mFBUpdate[dpy];
115 ctx->mFBUpdate[dpy] = NULL;
117 if(ctx->mCopyBit[dpy]){
119 delete ctx->mCopyBit[dpy];
120 ctx->mCopyBit[dpy] = NULL;
122 if(ctx->mMDPComp[dpy]) {
123 delete ctx->mMDPComp[dpy];
    [all...]
hwc_vsync.cpp 36 int hwc_vsync_control(hwc_context_t* ctx, int dpy, int enable)
40 ioctl(ctx->dpyAttr[dpy].fd, MSMFB_OVERLAY_VSYNC_CTRL,
42 ALOGE("%s: vsync control failed. Dpy=%d, enable=%d : %s",
43 __FUNCTION__, dpy, enable, strerror(errno));
53 int dpy = HWC_DISPLAY_PRIMARY; local
123 ctx->proc->vsync(ctx->proc, dpy, cur_timestamp);
  /hardware/qcom/display/msm8994/libhwcomposer/
hwc_uevents.cpp 96 int dpy = getConnectedDisplay(ctx, udata); local
97 if(dpy < 0) {
111 if(!ctx->dpyAttr[dpy].connected){
113 "for display: %d", __FUNCTION__, dpy);
118 handle_offline(ctx, dpy);
123 if(dpy == HWC_DISPLAY_EXTERNAL) {
126 ctx->proc->hotplug(ctx->proc, dpy, EXTERNAL_OFFLINE);
133 if(ctx->dpyAttr[dpy].connected) {
135 "for display: %d", __FUNCTION__, dpy);
141 handle_online(ctx, dpy);
    [all...]
hwc_virtual.cpp 42 const int dpy = HWC_DISPLAY_VIRTUAL; local
44 initCompositionResources(ctx, dpy);
46 if(ctx->mFBUpdate[dpy])
47 ctx->mFBUpdate[dpy]->reset();
48 if(ctx->mMDPComp[dpy])
49 ctx->mMDPComp[dpy]->reset();
54 int dpy = HWC_DISPLAY_VIRTUAL; local
57 if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) {
58 ctx->dpyAttr[dpy].connected = false
75 const int dpy = HWC_DISPLAY_VIRTUAL; local
138 const int dpy = HWC_DISPLAY_VIRTUAL; local
    [all...]
  /external/mesa3d/src/egl/main/
egldriver.c 234 _eglMatchAndInitialize(_EGLDisplay *dpy)
244 if (dpy->Driver) {
245 drv = dpy->Driver;
247 if (!drv->API.Initialize(drv, dpy))
261 if (mod->Driver->API.Initialize(mod->Driver, dpy)) {
280 _eglMatchDriver(_EGLDisplay *dpy, EGLBoolean test_only)
284 assert(!dpy->Initialized);
289 dpy->Options.TestOnly = test_only;
290 dpy->Options.UseFallback = EGL_FALSE;
292 best_drv = _eglMatchAndInitialize(dpy);
322 _EGLDisplay *dpy = _eglLookupDisplay(egldpy); local
    [all...]
  /frameworks/native/opengl/libs/EGL/
egl_display.cpp 68 int egl_get_init_count(EGLDisplay dpy) {
69 egl_display_t* eglDisplay = egl_display_t::get(dpy);
84 egl_display_t* egl_display_t::get(EGLDisplay dpy) {
85 if (uintptr_t(dpy) == 0) {
89 uintptr_t index = uintptr_t(dpy)-1U;
133 if (cnx->dso && disp.dpy == EGL_NO_DISPLAY) {
134 EGLDisplay dpy = cnx->egl.eglGetDisplay(display); local
135 disp.dpy = dpy;
136 if (dpy == EGL_NO_DISPLAY)
    [all...]
  /frameworks/native/opengl/tests/angeles/
app-linux.cpp 132 EGLDisplay dpy; local
136 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY);
137 eglInitialize(dpy, &majorVersion, &minorVersion);
140 dpy, configAttribs, window, &config);
146 surface = eglCreateWindowSurface(dpy, config, window, NULL);
151 context = eglCreateContext(dpy, config, NULL, NULL);
155 eglMakeCurrent(dpy, surface, surface, context);
158 eglQuerySurface(dpy, surface, EGL_WIDTH, &sWindowWidth);
159 eglQuerySurface(dpy, surface, EGL_HEIGHT, &sWindowHeight);
161 sEglDisplay = dpy;
    [all...]
  /external/deqp/framework/platform/lnx/X11/
tcuLnxX11.cpp 140 ::Display* const dpy = m_display.getXDisplay(); local
141 ::Window root = DefaultRootWindow(dpy);
165 root = RootWindow(dpy, info.screen);
166 m_colormap = XCreateColormap(dpy, root, visual, AllocNone);
179 m_window = XCreateWindow(dpy, root, 0, 0, width, height, 0,
184 XSetWMProtocols(dpy, m_window, &deleteAtom, 1);
185 XSync(dpy,false);
190 ::Display* dpy = m_display.getXDisplay(); local
199 XMapWindow(dpy, m_window);
204 XUnmapWindow(dpy, m_window)
236 ::Display* dpy = m_display.getXDisplay(); local
    [all...]
  /external/deqp/modules/egl/
teglImageTests.cpp 90 #define CHECK_EXTENSION(DPY, EXTNAME) \
91 TCU_CHECK_AND_THROW(NotSupportedError, eglu::hasExtension(m_eglTestCtx.getLibrary(), DPY, EXTNAME), (string("Unsupported extension: ") + (EXTNAME)).c_str())
193 void checkCreate (const char* desc, EGLDisplay dpy, const char* dpyStr, EGLContext context, const char* ctxStr, EGLenum source, const char* srcStr, EGLint expectError);
206 #define CHECK_CREATE(MSG, DPY, CONTEXT, SOURCE, ERR) checkCreate(MSG, DPY, #DPY, CONTEXT, #CONTEXT, SOURCE, #SOURCE, ERR)
218 void InvalidCreateImage::checkCreate (const char* msg, EGLDisplay dpy, const char* dpyStr, EGLContext context, const char* ctxStr, EGLenum source, const char* srcStr, EGLint expectError)
223 const EGLImageKHR image = egl.createImageKHR(dpy, context, source, 0, DE_NULL);
366 const EGLDisplay dpy = m_display; local
368 if (eglu::getVersion(egl, dpy) < eglu::Version(1, 5)
    [all...]

Completed in 805 milliseconds

12 3 4 5 6 7