Flutter Engine
The Flutter Engine
third_party
skia
src
gpu
graphite
CommandTypes.h
Go to the documentation of this file.
1
/*
2
* Copyright 2022 Google LLC
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef skgpu_graphite_CommandTypes_DEFINED
9
#define skgpu_graphite_CommandTypes_DEFINED
10
11
#include "
include/core/SkRect.h
"
12
#include "
include/gpu/graphite/GraphiteTypes.h
"
13
14
namespace
skgpu::graphite
{
15
16
// specifies a single region for copying, either from buffer to texture, or vice versa
17
struct
BufferTextureCopyData
{
18
size_t
fBufferOffset
;
19
size_t
fBufferRowBytes
;
20
SkIRect
fRect
;
21
unsigned
int
fMipLevel
;
22
};
23
24
};
// namespace skgpu::graphite
25
26
#endif
// skgpu_graphite_DrawTypes_DEFINED
GraphiteTypes.h
SkRect.h
skgpu::graphite
Definition:
BoundsManagerBench.cpp:27
SkIRect
Definition:
SkRect.h:32
skgpu::graphite::BufferTextureCopyData
Definition:
CommandTypes.h:17
skgpu::graphite::BufferTextureCopyData::fMipLevel
unsigned int fMipLevel
Definition:
CommandTypes.h:21
skgpu::graphite::BufferTextureCopyData::fBufferRowBytes
size_t fBufferRowBytes
Definition:
CommandTypes.h:19
skgpu::graphite::BufferTextureCopyData::fBufferOffset
size_t fBufferOffset
Definition:
CommandTypes.h:18
skgpu::graphite::BufferTextureCopyData::fRect
SkIRect fRect
Definition:
CommandTypes.h:20
Generated on Sun Jun 23 2024 21:56:25 for Flutter Engine by
1.9.4