Lines Matching defs:pGlxDraw

486     __GLXdrawable *pGlxDraw;
491 rc = dixLookupResourceByType((void **)&pGlxDraw, drawId,
494 /* If pGlxDraw->drawId == drawId, drawId is a valid GLX drawable.
495 * Otherwise, if pGlxDraw->type == GLX_DRAWABLE_WINDOW, drawId is
498 (pGlxDraw->drawId == drawId ||
499 pGlxDraw->type == GLX_DRAWABLE_WINDOW)) {
502 glxc->config != pGlxDraw->config) {
508 return pGlxDraw;
557 pGlxDraw = pGlxScreen->createDrawable(client, pGlxScreen, pDraw, drawId,
559 if (!pGlxDraw) {
565 if (!AddResource(drawId, __glXDrawableRes, pGlxDraw)) {
570 return pGlxDraw;
1176 __GLXdrawable *pGlxDraw;
1181 pGlxDraw = pGlxScreen->createDrawable(client, pGlxScreen, pDraw,
1184 if (pGlxDraw == NULL)
1187 if (!AddResource(glxDrawableId, __glXDrawableRes, pGlxDraw))
1195 !AddResource(pDraw->id, __glXDrawableRes, pGlxDraw))
1234 __GLXdrawable *pGlxDraw;
1237 DixWriteAccess, &pGlxDraw, &err))
1258 int w = pGlxDraw->pDraw->width, h = pGlxDraw->pDraw->height;
1266 pGlxDraw->target = target;
1267 pGlxDraw->format = format;
1343 __GLXdrawable *pGlxDraw;
1347 DixDestroyAccess, &pGlxDraw, &err))
1494 __GLXdrawable *pGlxDraw;
1498 DixSetAttrAccess, &pGlxDraw, &err))
1507 pGlxDraw->eventMask = attribs[i * 2 + 1];
1622 __GLXdrawable *pGlxDraw;
1649 pGlxDraw = __glXGetDrawable(glxc, drawId, client, &error);
1650 if (pGlxDraw == NULL)
1653 if (pGlxDraw->type == DRAWABLE_WINDOW &&
1654 (*pGlxDraw->swapBuffers) (cl->client, pGlxDraw) == GL_FALSE)
1738 __GLXdrawable *pGlxDraw;
1766 DixReadAccess, &pGlxDraw, &error))
1772 return context->bindTexImage(context, buffer, pGlxDraw);
1780 __GLXdrawable *pGlxDraw;
1798 DixReadAccess, &pGlxDraw, &error))
1804 return context->releaseTexImage(context, buffer, pGlxDraw);
1813 __GLXdrawable *pGlxDraw;
1854 pGlxDraw = __glXGetDrawable(glxc, drawId, client, &error);
1855 if (!pGlxDraw)
1858 if (pGlxDraw == NULL ||
1859 pGlxDraw->type != GLX_DRAWABLE_WINDOW ||
1860 pGlxDraw->copySubBuffer == NULL)
1863 (*pGlxDraw->copySubBuffer) (pGlxDraw, x, y, width, height);
1881 __GLXdrawable *pGlxDraw = NULL;
1887 DixGetAttrAccess, &pGlxDraw, &error)) {
1894 if (pGlxDraw)
1895 pDraw = pGlxDraw->pDraw;
1907 if (pGlxDraw) {
1909 pGlxDraw->target == GL_TEXTURE_2D ?
1911 ATTRIB(GLX_EVENT_MASK, pGlxDraw->eventMask);
1912 ATTRIB(GLX_FBCONFIG_ID, pGlxDraw->config->fbconfigID);
1913 if (pGlxDraw->type == GLX_DRAWABLE_PBUFFER) {
1916 if (pGlxDraw->type == GLX_DRAWABLE_WINDOW) {
1922 if (!pGlxDraw || pGlxDraw->type == GLX_DRAWABLE_WINDOW)
1924 else if (pGlxDraw->type == GLX_DRAWABLE_PIXMAP)
1926 else if (pGlxDraw->type == GLX_DRAWABLE_PBUFFER)