mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 09:46:09 +03:00
26 lines
693 B
Plaintext
26 lines
693 B
Plaintext
// Copyright 2017 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.
|
|
|
|
module viz.mojom;
|
|
|
|
import "ui/gfx/mojo/buffer_types.mojom";
|
|
|
|
struct BufferToTextureTargetKey {
|
|
gfx.mojom.BufferUsage usage;
|
|
gfx.mojom.BufferFormat format;
|
|
};
|
|
|
|
struct BufferToTextureTargetPair {
|
|
BufferToTextureTargetKey key;
|
|
uint32 value;
|
|
};
|
|
|
|
// Corresponds to |viz::ResourceSettings| in
|
|
// components/viz/common/resources/resource_settings.h
|
|
struct ResourceSettings {
|
|
uint32 texture_id_allocation_chunk_size;
|
|
bool use_gpu_memory_buffer_resources;
|
|
array<BufferToTextureTargetPair> buffer_to_texture_target_map;
|
|
};
|