summaryrefslogtreecommitdiff
path: root/glx/glxserver.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-01-10 13:05:48 -0500
committerAdam Jackson <ajax@redhat.com>2018-02-14 17:04:48 -0500
commit133bd4443be6b76a36afadfae0905b832e998165 (patch)
tree27ce5bdc19c8b1e6700d0e4167b832da10bc1723 /glx/glxserver.h
parent5d87e4f71355272c8da38c83f493b826623301cc (diff)
glx: Large commands are context state, not client state
There's no reason a multithreaded client shouldn't be allowed to interleave other requests (for other contexts) with a RenderLarge. Move the check into __glXForceCurrent, and store the state in the context not the client. Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glx/glxserver.h')
-rw-r--r--glx/glxserver.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/glx/glxserver.h b/glx/glxserver.h
index 8ffde2342..60bdeb00d 100644
--- a/glx/glxserver.h
+++ b/glx/glxserver.h
@@ -115,16 +115,6 @@ struct __GLXclientStateRec {
GLbyte *returnBuf;
GLint returnBufSize;
- /*
- ** Keep track of large rendering commands, which span multiple requests.
- */
- GLint largeCmdBytesSoFar; /* bytes received so far */
- GLint largeCmdBytesTotal; /* total bytes expected */
- GLint largeCmdRequestsSoFar; /* requests received so far */
- GLint largeCmdRequestsTotal; /* total requests expected */
- GLbyte *largeCmdBuf;
- GLint largeCmdBufSize;
-
/* Back pointer to X client record */
ClientPtr client;