blob: 89eb5bc9f2f20333c412f05a501859a7c8331925 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// 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.
// https://gpuweb.github.io/gpuweb/
dictionary GPUBufferCopyView {
required GPUBuffer buffer;
GPUSize64 offset = 0;
// TODO(crbug.com/1069302): rowPitch is deprecated; remove it, make bytesPerRow required.
GPUSize32 bytesPerRow;
unsigned long rowPitch;
GPUSize32 rowsPerImage = 0;
// TODO(crbug.com/1069302): imageHeight is deprecated; remove it.
unsigned long imageHeight;
};
|