i965/tex: Make a couple of helpers static
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
82b3ca1981
commit
6314dd13f7
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue