summaryrefslogtreecommitdiff
path: root/opengl/libagl/texture.h
diff options
context:
space:
mode:
author Jean-Baptiste Queru <jbq@google.com> 2009-11-12 18:45:53 -0800
committer Jean-Baptiste Queru <jbq@google.com> 2009-11-13 13:53:39 -0800
commit9db3d07b9620b4269ab33f78604a36327e536ce1 (patch)
tree41e294f34b9695187af098cd42167489fb0c8fb0 /opengl/libagl/texture.h
parent6c63ee4fc4acae4bbbbd2a49e0a68206221f0de0 (diff)
eclair snapshot
Diffstat (limited to 'opengl/libagl/texture.h')
-rw-r--r--opengl/libagl/texture.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/opengl/libagl/texture.h b/opengl/libagl/texture.h
index 5c57948c92d5..98f75509db22 100644
--- a/opengl/libagl/texture.h
+++ b/opengl/libagl/texture.h
@@ -32,13 +32,9 @@ namespace android {
void ogles_init_texture(ogles_context_t* c);
void ogles_uninit_texture(ogles_context_t* c);
-void ogles_validate_texture_impl(ogles_context_t* c);
-
-inline void ogles_validate_texture(ogles_context_t* c) {
- if (c->rasterizer.state.enables & GGL_ENABLE_TMUS)
- ogles_validate_texture_impl(c);
-}
-
+void ogles_validate_texture(ogles_context_t* c);
+void ogles_lock_textures(ogles_context_t* c);
+void ogles_unlock_textures(ogles_context_t* c);
}; // namespace android