blob: 556fa80e4b68c81f16783609eb689f8a5c4ea705 [file] [log] [blame]
// Copyright 2019 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.
// gpu/config/gpu_extra_info.h
module gpu.mojom;
import "ui/gfx/mojom/buffer_types.mojom";
// gpu::ANGLEFeature
struct ANGLEFeature {
string name;
string category;
string description;
string bug;
string status;
string condition;
};
// gpu:GpuExtraInfo
struct GpuExtraInfo {
// List of features queried from ANGLE
array<ANGLEFeature> angle_features;
[EnableIf=use_x11]
uint64 system_visual;
[EnableIf=use_x11]
uint64 rgba_visual;
[EnableIf=use_x11]
array<gfx.mojom.BufferUsageAndFormat> gpu_memory_buffer_support_x11;
};