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

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

Issue 2558933003: Cache GL's viewport on the GPU command buffer client side. (Closed)
Patch Set: 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.cc
diff --git a/gpu/command_buffer/common/capabilities.cc b/gpu/command_buffer/common/capabilities.cc
index 397962e7ba8c0fac5afa6b11c48d2db07c0038c9..2098ac641c163a2e2d94ea2b7683e47451e85363 100644
--- a/gpu/command_buffer/common/capabilities.cc
+++ b/gpu/command_buffer/common/capabilities.cc
@@ -20,6 +20,8 @@ Capabilities::Capabilities()
max_vertex_attribs(0),
max_vertex_texture_image_units(0),
max_vertex_uniform_vectors(0),
+ max_viewport_width(0),
+ max_viewport_height(0),
num_compressed_texture_formats(0),
num_shader_binary_formats(0),
bind_generates_resource_chromium(0),

Powered by Google App Engine
This is Rietveld 408576698