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

Side by Side Diff: gpu/ipc/common/gpu_preferences.mojom

Issue 2599703002: gpu: Add mojom for GpuPreferences. (Closed)
Patch Set: fix win 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 unified diff | Download patch
« no previous file with comments | « gpu/ipc/common/BUILD.gn ('k') | gpu/ipc/common/gpu_preferences.typemap » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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 // gpu/command_buffer/service/gpu_preferences.h
6 module gpu.mojom;
7
8 // gpu::GpuPreferences::VpxDecodeVendors
9 enum VpxDecodeVendors {
10 VPX_VENDOR_NONE = 0,
11 VPX_VENDOR_MICROSOFT = 1,
12 VPX_VENDOR_AMD = 2,
13 VPX_VENDOR_ALL = 3,
14 };
15
16 // gpu::GpuPreferences
17 struct GpuPreferences {
18 bool single_process;
19 bool in_process_gpu;
20 bool ui_prioritize_in_gpu_process;
21 bool disable_accelerated_video_decode;
22
23 bool disable_vaapi_accelerated_video_encode;
24
25 bool disable_web_rtc_hw_encoding;
26
27 VpxDecodeVendors enable_accelerated_vpx_decode;
28 bool enable_low_latency_dxva;
29 bool enable_zero_copy_dxgi_video;
30 bool enable_nv12_dxgi_video;
31
32 bool compile_shader_always_succeeds;
33 bool disable_gl_error_limit;
34 bool disable_glsl_translator;
35 bool disable_gpu_driver_bug_workarounds;
36 bool disable_shader_name_hashing;
37 bool enable_gpu_command_logging;
38 bool enable_gpu_debugging;
39 bool enable_gpu_service_logging_gpu;
40 bool enable_gpu_driver_debug_logging;
41 bool disable_gpu_program_cache;
42 bool enforce_gl_minimums;
43 uint32 force_gpu_mem_available;
44 uint32 gpu_program_cache_size;
45 bool disable_gpu_shader_disk_cache;
46 bool enable_threaded_texture_mailboxes;
47 bool gl_shader_interm_output;
48 bool emulate_shader_precision;
49 bool enable_gpu_service_logging;
50 bool enable_gpu_service_tracing;
51 bool enable_es3_apis;
52 bool use_passthrough_cmd_decoder;
53 };
OLDNEW
« no previous file with comments | « gpu/ipc/common/BUILD.gn ('k') | gpu/ipc/common/gpu_preferences.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698