Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
src
gpu
ganesh
GrClientMappedBufferManager.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2019 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
#include "
src/gpu/ganesh/GrClientMappedBufferManager.h
"
9
10
//////////////////////////////////////////////////////////////////////////////
11
12
DECLARE_SKMESSAGEBUS_MESSAGE
(GrClientMappedBufferManager::BufferFinishedMessage,
13
GrDirectContext::DirectContextID
,
14
false
)
15
16
bool
SkShouldPostMessageToBus
(const
GrClientMappedBufferManager
::BufferFinishedMessage& m,
17
GrDirectContext
::DirectContextID potentialRecipient) {
18
return
m.fIntendedRecipient == potentialRecipient;
19
}
GrClientMappedBufferManager.h
DECLARE_SKMESSAGEBUS_MESSAGE
#define DECLARE_SKMESSAGEBUS_MESSAGE(Message, IDType, AllowCopyableMessage)
Definition
SkMessageBus.h:74
SkShouldPostMessageToBus
static bool SkShouldPostMessageToBus(const SkResourceCache::PurgeSharedIDMessage &, uint32_t)
Definition
SkResourceCache.cpp:37
GrClientMappedBufferManager
Definition
GrClientMappedBufferManager.h:17
GrDirectContext::DirectContextID
Definition
GrDirectContext.h:886
GrDirectContext
Definition
GrDirectContext.h:60
Generated on Fri Apr 26 2024 06:17:02 for Flutter Engine by
1.9.8