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

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

Issue 24152009: Allow rendering from non-stream GL_TEXTURE_EXTERNAL_OES (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@git-svn
Patch Set: eead63fe Rebase. Created 7 years, 3 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
diff --git a/gpu/command_buffer/service/texture_manager.h b/gpu/command_buffer/service/texture_manager.h
index db4700457514b1f2d8aa43d0378daef17760c7ab..0a6e776917794174d0d4c10d4f3ee2e3f47d1e44 100644
--- a/gpu/command_buffer/service/texture_manager.h
+++ b/gpu/command_buffer/service/texture_manager.h
@@ -528,8 +528,10 @@ class GPU_EXPORT TextureManager {
}
// Returns the maxium number of levels a texture of the given size can have.
- static GLsizei ComputeMipMapCount(
- GLsizei width, GLsizei height, GLsizei depth);
+ static GLsizei ComputeMipMapCount(GLenum target,
+ GLsizei width,
+ GLsizei height,
+ GLsizei depth);
// Checks if a dimensions are valid for a given target.
bool ValidForTarget(

Powered by Google App Engine
This is Rietveld 408576698