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

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

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « gpu/command_buffer/service/test_helper.cc ('k') | gpu/command_buffer/service/texture_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3ab546763f957f3c04820248b1400b6b87c6274a..c78b5c1e7f41dfea3bd04a8ab18a3f56a8ce00c7 100644
--- a/gpu/command_buffer/service/texture_manager.h
+++ b/gpu/command_buffer/service/texture_manager.h
@@ -530,6 +530,7 @@ class GPU_EXPORT TextureManager {
FeatureInfo* feature_info,
GLsizei max_texture_size,
GLsizei max_cube_map_texture_size,
+ GLsizei max_rectangle_texture_size,
bool use_default_textures);
~TextureManager();
@@ -561,6 +562,8 @@ class GPU_EXPORT TextureManager {
case GL_TEXTURE_2D:
case GL_TEXTURE_EXTERNAL_OES:
return max_texture_size_;
+ case GL_TEXTURE_RECTANGLE:
+ return max_rectangle_texture_size_;
default:
return max_cube_map_texture_size_;
}
@@ -831,6 +834,7 @@ class GPU_EXPORT TextureManager {
GLsizei max_texture_size_;
GLsizei max_cube_map_texture_size_;
+ GLsizei max_rectangle_texture_size_;
GLint max_levels_;
GLint max_cube_map_levels_;
« no previous file with comments | « gpu/command_buffer/service/test_helper.cc ('k') | gpu/command_buffer/service/texture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698