diff options
author | Eduardo Lima Mitev <[email protected]> | 2015-09-24 10:57:42 +0200 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-09-28 11:39:53 -0700 |
commit | c6bf1cd1467ea5d5370394ba99366dd8a59a385c (patch) | |
tree | 475202193fec55a4f65160d73c8021fd18ba1011 /src/mesa/main/teximage.h | |
parent | 15ab968f62dd322ecda6d70b1069f52616fe39bb (diff) |
mesa: Move _mesa_base_tex_format() from teximage to glformats files
This function will be needed as part of validating the combination of format,
type and internal format of texture pixel operations, which happens in
glformats files. Specifically, we want to be able to obtain the base format
of a resolved effective internal format, to compare it with the original
internal format passed.
Also, since this function deals solely with GL formats, it fits better in
glformats where the rest of similar format functionality rests.
The function is moved as-is, without any modification.
Cc: "11.0" <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Tested-by: Mark Janes <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r-- | src/mesa/main/teximage.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index a4347204962..5df36c59a28 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -59,10 +59,6 @@ _mesa_is_zero_size_texture(const struct gl_texture_image *texImage) /** \name Internal functions */ /*@{*/ -extern GLint -_mesa_base_tex_format(const struct gl_context *ctx, GLint internalFormat); - - extern GLboolean _mesa_is_proxy_texture(GLenum target); |