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

Unified Diff: mojo/services/public/interfaces/gpu/gpu_capabilities.mojom

Issue 728133002: Update mojo sdk to rev e01f9a49449381a5eb430c1fd88bf2cae73ec35a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + ios gyp fixes Created 6 years, 1 month 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: mojo/services/public/interfaces/gpu/gpu_capabilities.mojom
diff --git a/mojo/services/public/interfaces/gpu/gpu_capabilities.mojom b/mojo/services/public/interfaces/gpu/gpu_capabilities.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..2450139420746b8e7753dcab9155d5f0c10cd5b3
--- /dev/null
+++ b/mojo/services/public/interfaces/gpu/gpu_capabilities.mojom
@@ -0,0 +1,54 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module mojo;
+
+struct GpuShaderPrecision {
+ int32 min_range;
+ int32 max_range;
+ int32 precision;
+};
+
+struct GpuPerStagePrecisions {
+ GpuShaderPrecision low_int;
+ GpuShaderPrecision medium_int;
+ GpuShaderPrecision high_int;
+ GpuShaderPrecision low_float;
+ GpuShaderPrecision medium_float;
+ GpuShaderPrecision high_float;
+};
+
+struct GpuCapabilities {
+ GpuPerStagePrecisions vertex_shader_precisions;
+ GpuPerStagePrecisions fragment_shader_precisions;
+ int32 max_combined_texture_image_units;
+ int32 max_cube_map_texture_size;
+ int32 max_fragment_uniform_vectors;
+ int32 max_renderbuffer_size;
+ int32 max_texture_image_units;
+ int32 max_texture_size;
+ int32 max_varying_vectors;
+ int32 max_vertex_attribs;
+ int32 max_vertex_texture_image_units;
+ int32 max_vertex_uniform_vectors;
+ int32 num_compressed_texture_formats;
+ int32 num_shader_binary_formats;
+ int32 bind_generates_resource_chromium;
+
+ bool post_sub_buffer;
+ bool egl_image_external;
+ bool texture_format_bgra8888;
+ bool texture_format_etc1;
+ bool texture_format_etc1_npot;
+ bool texture_rectangle;
+ bool iosurface;
+ bool texture_usage;
+ bool texture_storage;
+ bool discard_framebuffer;
+ bool sync_query;
+ bool image;
+ bool future_sync_points;
+ bool blend_equation_advanced;
+ bool blend_equation_advanced_coherent;
+};
« no previous file with comments | « mojo/services/public/interfaces/gpu/command_buffer.mojom ('k') | mojo/services/public/interfaces/input_events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698