Flutter Engine
The Flutter Engine
third_party
skia
src
gpu
graphite
ClientMappedBufferManager.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 ClientMappedBufferManager_graphite_DEFINED
9
#define ClientMappedBufferManager_graphite_DEFINED
10
11
#include "
include/gpu/graphite/Context.h
"
12
#include "
src/gpu/AsyncReadTypes.h
"
13
#include "
src/gpu/graphite/Buffer.h
"
14
15
namespace
skgpu::graphite
{
16
17
// This is declared as a class rather than an alias to allow for forward declarations
18
class
ClientMappedBufferManager
:
19
public
skgpu::TClientMappedBufferManager
<Buffer, Context::ContextID> {
20
public
:
21
ClientMappedBufferManager
(
Context::ContextID
ownerID
)
22
:
TClientMappedBufferManager
(
ownerID
) {}
23
};
24
25
bool
SkShouldPostMessageToBus
(
const
ClientMappedBufferManager::BufferFinishedMessage&,
26
Context::ContextID
potentialRecipient);
27
28
}
// namespace skgpu::graphite
29
30
#endif
AsyncReadTypes.h
Buffer.h
Context.h
skgpu::TClientMappedBufferManager
Definition:
AsyncReadTypes.h:34
skgpu::TClientMappedBufferManager< Buffer, Context::ContextID >::ownerID
Context::ContextID ownerID() const
Definition:
AsyncReadTypes.h:79
skgpu::graphite::ClientMappedBufferManager
Definition:
ClientMappedBufferManager.h:19
skgpu::graphite::ClientMappedBufferManager::ClientMappedBufferManager
ClientMappedBufferManager(Context::ContextID ownerID)
Definition:
ClientMappedBufferManager.h:21
skgpu::graphite::Context::ContextID
Definition:
Context.h:186
skgpu::graphite
Definition:
BoundsManagerBench.cpp:27
skgpu::graphite::SkShouldPostMessageToBus
bool SkShouldPostMessageToBus(const ClientMappedBufferManager::BufferFinishedMessage &, Context::ContextID potentialRecipient)
Generated on Sun Jun 23 2024 21:56:25 for Flutter Engine by
1.9.4