Lines Matching refs:bufSize
346 int bufSize; in indirect_create_context() local
383 bufSize = (XMaxRequestSize(psc->dpy) * 4) - sz_xGLXRenderReq; in indirect_create_context()
384 gc->buf = malloc(bufSize); in indirect_create_context()
390 gc->bufSize = bufSize; in indirect_create_context()
405 gc->bufEnd = gc->buf + bufSize; in indirect_create_context()
414 gc->limit = gc->buf + bufSize - __GLX_BUFFER_LIMIT_SIZE; in indirect_create_context()
424 if (bufSize > __GLX_RENDER_CMD_SIZE_LIMIT) { in indirect_create_context()
425 bufSize = __GLX_RENDER_CMD_SIZE_LIMIT; in indirect_create_context()
427 if (bufSize > __GLX_MAX_RENDER_CMD_SIZE) { in indirect_create_context()
428 bufSize = __GLX_MAX_RENDER_CMD_SIZE; in indirect_create_context()
430 gc->maxSmallRenderCommandSize = bufSize; in indirect_create_context()