Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: gpu/command_buffer/service/texture_manager.h

Issue 9968113: Addition of GL_CHROMIUM_copy_texture extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Correcting glEnableVertexAttribArray state. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/texture_manager.h
===================================================================
--- gpu/command_buffer/service/texture_manager.h (revision 132190)
+++ gpu/command_buffer/service/texture_manager.h (working copy)
@@ -141,6 +141,10 @@
bool GetLevelSize(
GLint face, GLint level, GLsizei* width, GLsizei* height) const;
+ // Set the width and height for a particular level. Returns false if level
+ // does not exist.
+ bool SetLevelSize(GLint face, GLint level, GLsizei width, GLsizei height);
greggman 2012/04/17 04:58:06 I'm sorry Jeff,I should have been paying more atte
Jeff Timanus 2012/04/18 14:59:08 I took your suggestion, and reverted these changes
+
// Get the type of a level. Returns false if level does not exist.
bool GetLevelType(
GLint face, GLint level, GLenum* type, GLenum* internal_format) const;

Powered by Google App Engine
This is Rietveld 408576698