| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 [DartPackage="mojo_services"] | |
| 6 module mojo; | |
| 7 | |
| 8 struct GpuShaderPrecision { | |
| 9 int32 min_range; | |
| 10 int32 max_range; | |
| 11 int32 precision; | |
| 12 }; | |
| 13 | |
| 14 struct GpuPerStagePrecisions { | |
| 15 GpuShaderPrecision low_int; | |
| 16 GpuShaderPrecision medium_int; | |
| 17 GpuShaderPrecision high_int; | |
| 18 GpuShaderPrecision low_float; | |
| 19 GpuShaderPrecision medium_float; | |
| 20 GpuShaderPrecision high_float; | |
| 21 }; | |
| 22 | |
| 23 struct GpuCapabilities { | |
| 24 GpuPerStagePrecisions vertex_shader_precisions; | |
| 25 GpuPerStagePrecisions fragment_shader_precisions; | |
| 26 int32 max_combined_texture_image_units; | |
| 27 int32 max_cube_map_texture_size; | |
| 28 int32 max_fragment_uniform_vectors; | |
| 29 int32 max_renderbuffer_size; | |
| 30 int32 max_texture_image_units; | |
| 31 int32 max_texture_size; | |
| 32 int32 max_varying_vectors; | |
| 33 int32 max_vertex_attribs; | |
| 34 int32 max_vertex_texture_image_units; | |
| 35 int32 max_vertex_uniform_vectors; | |
| 36 int32 num_compressed_texture_formats; | |
| 37 int32 num_shader_binary_formats; | |
| 38 int32 bind_generates_resource_chromium; | |
| 39 | |
| 40 bool post_sub_buffer; | |
| 41 bool egl_image_external; | |
| 42 bool texture_format_bgra8888; | |
| 43 bool texture_format_etc1; | |
| 44 bool texture_format_etc1_npot; | |
| 45 bool texture_rectangle; | |
| 46 bool iosurface; | |
| 47 bool texture_usage; | |
| 48 bool texture_storage; | |
| 49 bool discard_framebuffer; | |
| 50 bool sync_query; | |
| 51 bool image; | |
| 52 bool future_sync_points; | |
| 53 bool blend_equation_advanced; | |
| 54 bool blend_equation_advanced_coherent; | |
| 55 }; | |
| OLD | NEW |