Index: gpu/config/gpu_info.h |
diff --git a/gpu/config/gpu_info.h b/gpu/config/gpu_info.h |
index dbd236b67132ad266906835dabf3eb1db107b268..bdbb20562cafdb446f5974861593aae1c6693e4c 100644 |
--- a/gpu/config/gpu_info.h |
+++ b/gpu/config/gpu_info.h |
@@ -18,6 +18,7 @@ |
#include "gpu/config/dx_diag_node.h" |
#include "gpu/config/gpu_performance_stats.h" |
#include "gpu/gpu_export.h" |
+#include "media/video/video_encode_accelerator.h" |
namespace gpu { |
@@ -176,6 +177,9 @@ struct GPU_EXPORT GPUInfo { |
// The information returned by the DirectX Diagnostics Tool. |
DxDiagNode dx_diagnostics; |
#endif |
+ |
+ std::vector<media::VideoEncodeAccelerator::SupportedProfile> |
+ video_encode_accelerator_supported_profiles; |
// Note: when adding new members, please remember to update EnumerateFields |
// in gpu_info.cc. |
@@ -200,6 +204,11 @@ struct GPU_EXPORT GPUInfo { |
virtual void BeginGPUDevice() = 0; |
virtual void EndGPUDevice() = 0; |
+ // Markers indicating that a VideoEncodeAccelerator::SupportedProfile is |
+ // being described. |
+ virtual void BeginVideoEncodeAcceleratorSupportedProfile() = 0; |
+ virtual void EndVideoEncodeAcceleratorSupportedProfile() = 0; |
+ |
// Markers indicating that "auxiliary" attributes of the GPUInfo |
// (according to the DevTools protocol) are being described. |
virtual void BeginAuxAttributes() = 0; |