diff options
author | Jason Ekstrand <[email protected]> | 2017-05-31 13:35:30 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-09-15 10:59:03 -0700 |
commit | 6314dd13f7e70eedefeabc5518264b1a31c99602 (patch) | |
tree | e5985a65cb30b2a91dcde4dff0082d58849101ed | |
parent | 82b3ca198130c34884afb0d3f5ae84054ef8bae5 (diff) |
i965/tex: Make a couple of helpers static
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_tex.h | 20 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_tex_image.c | 4 |
2 files changed, 2 insertions, 22 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex.h b/src/mesa/drivers/dri/i965/intel_tex.h index 2c5913ad2d1..42565baebf6 100644 --- a/src/mesa/drivers/dri/i965/intel_tex.h +++ b/src/mesa/drivers/dri/i965/intel_tex.h @@ -52,24 +52,4 @@ intel_miptree_create_for_teximage(struct brw_context *brw, void intel_finalize_mipmap_tree(struct brw_context *brw, GLuint unit); -bool -intel_texsubimage_tiled_memcpy(struct gl_context *ctx, - GLuint dims, - struct gl_texture_image *texImage, - GLint xoffset, GLint yoffset, GLint zoffset, - GLsizei width, GLsizei height, GLsizei depth, - GLenum format, GLenum type, - const GLvoid *pixels, - const struct gl_pixelstore_attrib *packing, - bool for_glTexImage); - -bool -intel_gettexsubimage_tiled_memcpy(struct gl_context *ctx, - struct gl_texture_image *texImage, - GLint xoffset, GLint yofset, - GLsizei width, GLsizei height, - GLenum format, GLenum type, - GLvoid *pixels, - const struct gl_pixelstore_attrib *packing); - #endif diff --git a/src/mesa/drivers/dri/i965/intel_tex_image.c b/src/mesa/drivers/dri/i965/intel_tex_image.c index b8318a5719f..cb1550bf639 100644 --- a/src/mesa/drivers/dri/i965/intel_tex_image.c +++ b/src/mesa/drivers/dri/i965/intel_tex_image.c @@ -153,7 +153,7 @@ intel_miptree_create_for_teximage(struct brw_context *brw, * regions are updated with glTexSubImage2D. On some workloads, the * performance gain of this fastpath on Sandybridge is over 5x. */ -bool +static bool intel_texsubimage_tiled_memcpy(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, @@ -581,7 +581,7 @@ intel_image_target_texture_2d(struct gl_context *ctx, GLenum target, * * \see intel_readpixels_tiled_memcpy() */ -bool +static bool intel_gettexsubimage_tiled_memcpy(struct gl_context *ctx, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, |