summaryrefslogtreecommitdiff
path: root/cogl/cogl-texture-2d-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-texture-2d-private.h')
-rw-r--r--cogl/cogl-texture-2d-private.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cogl/cogl-texture-2d-private.h b/cogl/cogl-texture-2d-private.h
index fc9db814..33c71efe 100644
--- a/cogl/cogl-texture-2d-private.h
+++ b/cogl/cogl-texture-2d-private.h
@@ -67,4 +67,15 @@ _cogl_texture_2d_new_from_bitmap (CoglHandle bmp_handle,
CoglTextureFlags flags,
CoglPixelFormat internal_format);
+/*
+ * _cogl_texture_2d_externally_modified:
+ * @handle: A handle to a 2D texture
+ *
+ * This should be called whenever the texture is modified other than
+ * by using cogl_texture_set_region. It will cause the mipmaps to be
+ * invalidated
+ */
+void
+_cogl_texture_2d_externally_modified (CoglHandle handle);
+
#endif /* __COGL_TEXTURE_2D_H */