summaryrefslogtreecommitdiff
path: root/src/glx/glxclient.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2021-03-11 13:41:40 -0500
committerAdam Jackson <ajax@redhat.com>2021-03-19 11:13:07 -0400
commitcba1d6de221e33b4a00b88c6a9ddcd1b332ffba6 (patch)
tree5f484fa1d9542f89f2f2117c500d0b897288c067 /src/glx/glxclient.h
parenta6cd30333cf875c3bd374ebeb8c7bdc4cf115a62 (diff)
glx: Pull use_x_font out of the context vtable
The client-side implementation of this operates entirely in terms of the GL and X client APIs. There's nothing DRI-specific about it, evidenced by apple and windows using it unchanged. Save a little code size by handling the direct/indirect difference directly. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9690>
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r--src/glx/glxclient.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index 1f199054410..ecda3e58537 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -227,8 +227,6 @@ struct glx_context_vtable {
void (*unbind)(struct glx_context *context, struct glx_context *new_ctx);
void (*wait_gl)(struct glx_context *ctx);
void (*wait_x)(struct glx_context *ctx);
- void (*use_x_font)(struct glx_context *ctx,
- Font font, int first, int count, int listBase);
void (*bind_tex_image)(Display * dpy,
GLXDrawable drawable,
int buffer, const int *attrib_list);