From 768354002933dc812462b99f90331203707ce012 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 12 Jul 2017 18:45:14 -0400 Subject: mesa/st: implement memory objects as a backend for texture storage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of allocating memory to back a texture, use the provided memory object. v2: split off extension exposure logic v3: de-duplicate code with st_AllocTextureStorage Signed-off-by: Andres Rodriguez Reviewed-by: Marek Olšák Reviewed-by: Samuel Pitoiset --- src/mesa/state_tracker/st_cb_bufferobjects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/state_tracker/st_cb_bufferobjects.c') diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c index c19830d9c91..24e4f3a3c79 100644 --- a/src/mesa/state_tracker/st_cb_bufferobjects.c +++ b/src/mesa/state_tracker/st_cb_bufferobjects.c @@ -175,7 +175,7 @@ static GLboolean st_bufferobj_data(struct gl_context *ctx, GLenum target, GLsizeiptrARB size, - const void * data, + const void *data, GLenum usage, GLbitfield storageFlags, struct gl_buffer_object *obj) -- cgit v1.2.3