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

Unified Diff: gpu/command_buffer/common/capabilities.h

Issue 2558933003: Cache GL's viewport on the GPU command buffer client side. (Closed)
Patch Set: fix Created 4 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
Index: gpu/command_buffer/common/capabilities.h
diff --git a/gpu/command_buffer/common/capabilities.h b/gpu/command_buffer/common/capabilities.h
index 30cedc8d3f0eca6eaf468fb89f3aa0ec260a6ff6..e4ff124b87493806e0f04d1933a380ab547dec7c 100644
--- a/gpu/command_buffer/common/capabilities.h
+++ b/gpu/command_buffer/common/capabilities.h
@@ -78,6 +78,9 @@ struct GPU_EXPORT Capabilities {
int max_vertex_attribs;
int max_vertex_texture_image_units;
int max_vertex_uniform_vectors;
+ // MAX_VIEWPORT_DIMS[2]
+ int max_viewport_width;
+ int max_viewport_height;
int num_compressed_texture_formats;
int num_shader_binary_formats;
int bind_generates_resource_chromium;
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation_unittest.cc ('k') | gpu/command_buffer/common/capabilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698