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

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

Issue 1135943002: Pull in various gpu/command_buffer fixes from chromium (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « gpu/command_buffer/common/capabilities.h ('k') | gpu/command_buffer/common/constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/capabilities.cc
diff --git a/gpu/command_buffer/common/capabilities.cc b/gpu/command_buffer/common/capabilities.cc
index 58efef01734fdf2433e110e0e0122f474dbcd061..8dd208beca493ccff44dd5afc2e20985e2a1369b 100644
--- a/gpu/command_buffer/common/capabilities.cc
+++ b/gpu/command_buffer/common/capabilities.cc
@@ -23,8 +23,34 @@ Capabilities::Capabilities()
num_compressed_texture_formats(0),
num_shader_binary_formats(0),
bind_generates_resource_chromium(0),
+ max_3d_texture_size(0),
+ max_array_texture_layers(0),
+ max_color_attachments(0),
+ max_combined_fragment_uniform_components(0),
+ max_combined_uniform_blocks(0),
+ max_combined_vertex_uniform_components(0),
+ max_draw_buffers(0),
+ max_element_index(0),
+ max_elements_indices(0),
+ max_elements_vertices(0),
+ max_fragment_input_components(0),
+ max_fragment_uniform_blocks(0),
+ max_fragment_uniform_components(0),
+ max_program_texel_offset(0),
+ max_samples(0),
+ max_server_wait_timeout(0),
+ max_transform_feedback_interleaved_components(0),
max_transform_feedback_separate_attribs(0),
+ max_transform_feedback_separate_components(0),
+ max_uniform_block_size(0),
max_uniform_buffer_bindings(0),
+ max_varying_components(0),
+ max_vertex_output_components(0),
+ max_vertex_uniform_blocks(0),
+ max_vertex_uniform_components(0),
+ min_program_texel_offset(0),
+ num_extensions(0),
+ num_program_binary_formats(0),
uniform_buffer_offset_alignment(1),
post_sub_buffer(false),
egl_image_external(false),
@@ -44,7 +70,9 @@ Capabilities::Capabilities()
future_sync_points(false),
blend_equation_advanced(false),
blend_equation_advanced_coherent(false),
- texture_rg(false) {
+ texture_rg(false),
+ major_version(2),
+ minor_version(0) {
}
} // namespace gpu
« no previous file with comments | « gpu/command_buffer/common/capabilities.h ('k') | gpu/command_buffer/common/constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698