| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // gpu/config/gpu_info.h | 5 // gpu/config/gpu_info.h |
| 6 module gpu.mojom; | 6 module gpu.mojom; |
| 7 | 7 |
| 8 import "gpu/ipc/common/dx_diag_node.mojom"; | 8 import "gpu/ipc/common/dx_diag_node.mojom"; |
| 9 import "mojo/common/time.mojom"; | 9 import "mojo/common/time.mojom"; |
| 10 import "mojo/common/version.mojom"; | 10 import "mojo/common/version.mojom"; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // gpu::VideoDecodeAcceleratorSupportedProfile | 54 // gpu::VideoDecodeAcceleratorSupportedProfile |
| 55 struct VideoDecodeAcceleratorSupportedProfile { | 55 struct VideoDecodeAcceleratorSupportedProfile { |
| 56 VideoCodecProfile profile; | 56 VideoCodecProfile profile; |
| 57 gfx.mojom.Size max_resolution; | 57 gfx.mojom.Size max_resolution; |
| 58 gfx.mojom.Size min_resolution; | 58 gfx.mojom.Size min_resolution; |
| 59 bool encrypted_only; | 59 bool encrypted_only; |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 // gpu::VideoDecodeAcceleratorCapabilities | 62 // gpu::VideoDecodeAcceleratorCapabilities |
| 63 struct VideoDecodeAcceleratorCapabilities { | 63 struct VideoDecodeAcceleratorCapabilities { |
| 64 array<VideoDecodeAcceleratorSupportedProfile> supported_profiles; |
| 64 uint32 flags; | 65 uint32 flags; |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 // gpu::VideoEncodeAcceleratorSupportedProfile | 68 // gpu::VideoEncodeAcceleratorSupportedProfile |
| 68 struct VideoEncodeAcceleratorSupportedProfile { | 69 struct VideoEncodeAcceleratorSupportedProfile { |
| 69 VideoCodecProfile profile; | 70 VideoCodecProfile profile; |
| 70 gfx.mojom.Size max_resolution; | 71 gfx.mojom.Size max_resolution; |
| 71 uint32 max_framerate_numerator; | 72 uint32 max_framerate_numerator; |
| 72 uint32 max_framerate_denominator; | 73 uint32 max_framerate_denominator; |
| 73 }; | 74 }; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 CollectInfoResult context_info_state; | 109 CollectInfoResult context_info_state; |
| 109 CollectInfoResult dx_diagnostics_info_state; | 110 CollectInfoResult dx_diagnostics_info_state; |
| 110 DxDiagNode? dx_diagnostics; | 111 DxDiagNode? dx_diagnostics; |
| 111 VideoDecodeAcceleratorCapabilities video_decode_accelerator_capabilities; | 112 VideoDecodeAcceleratorCapabilities video_decode_accelerator_capabilities; |
| 112 array<VideoEncodeAcceleratorSupportedProfile> | 113 array<VideoEncodeAcceleratorSupportedProfile> |
| 113 video_encode_accelerator_supported_profiles; | 114 video_encode_accelerator_supported_profiles; |
| 114 bool jpeg_decode_accelerator_supported; | 115 bool jpeg_decode_accelerator_supported; |
| 115 uint64 system_visual; | 116 uint64 system_visual; |
| 116 uint64 rgba_visual; | 117 uint64 rgba_visual; |
| 117 }; | 118 }; |
| OLD | NEW |