Lines Matching refs:pGlxDraw
447 __GLXdrawable *pGlxDraw;
451 DixWriteAccess, &pGlxDraw, &rc)) {
452 if (glxc != NULL && pGlxDraw->config != glxc->config) {
458 return pGlxDraw;
489 pGlxDraw = glxc->pGlxScreen->createDrawable(client, glxc->pGlxScreen,
495 if (!AddResource(drawId, __glXDrawableRes, pGlxDraw)) {
496 pGlxDraw->destroy (pGlxDraw);
501 return pGlxDraw;
1116 __GLXdrawable *pGlxDraw;
1121 pGlxDraw = pGlxScreen->createDrawable(client, pGlxScreen, pDraw,
1124 if (pGlxDraw == NULL)
1127 if (!AddResource(glxDrawableId, __glXDrawableRes, pGlxDraw)) {
1128 pGlxDraw->destroy (pGlxDraw);
1138 if (!AddResource(drawableId, __glXDrawableRes, pGlxDraw)) {
1139 pGlxDraw->destroy (pGlxDraw);
1142 pGlxDraw->otherId = drawableId;
1182 __GLXdrawable *pGlxDraw;
1185 DixWriteAccess, &pGlxDraw, &err))
1206 int w = pGlxDraw->pDraw->width, h = pGlxDraw->pDraw->height;
1214 pGlxDraw->target = target;
1215 pGlxDraw->format = format;
1291 __GLXdrawable *pGlxDraw;
1295 DixDestroyAccess, &pGlxDraw, &err))
1437 __GLXdrawable *pGlxDraw;
1441 DixSetAttrAccess, &pGlxDraw, &err))
1450 pGlxDraw->eventMask = attribs[i * 2 + 1];
1561 __GLXdrawable *pGlxDraw;
1590 pGlxDraw = __glXGetDrawable(glxc, drawId, client, &error);
1591 if (pGlxDraw == NULL)
1594 if (pGlxDraw->type == DRAWABLE_WINDOW &&
1595 (*pGlxDraw->swapBuffers)(cl->client, pGlxDraw) == GL_FALSE)
1671 __GLXdrawable *pGlxDraw;
1699 DixReadAccess, &pGlxDraw, &error))
1707 pGlxDraw);
1714 __GLXdrawable *pGlxDraw;
1732 DixReadAccess, &pGlxDraw, &error))
1740 pGlxDraw);
1748 __GLXdrawable *pGlxDraw;
1789 pGlxDraw = __glXGetDrawable(glxc, drawId, client, &error);
1790 if (!pGlxDraw)
1793 if (pGlxDraw == NULL ||
1794 pGlxDraw->type != GLX_DRAWABLE_WINDOW ||
1795 pGlxDraw->copySubBuffer == NULL)
1798 (*pGlxDraw->copySubBuffer)(pGlxDraw, x, y, width, height);
1811 __GLXdrawable *pGlxDraw;
1816 DixGetAttrAccess, &pGlxDraw, &error))
1826 attributes[1] = pGlxDraw->target == GL_TEXTURE_2D ? GLX_TEXTURE_2D_EXT :
1831 attributes[5] = pGlxDraw->eventMask;