Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
GrMtlBackendSemaphore.h
Go to the documentation of this file.
1/*
2 * Copyright 2024 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 GrMtlBackendSemaphore_DEFINED
9#define GrMtlBackendSemaphore_DEFINED
10
14
16// It is the creator's responsibility to ref the MTLEvent passed in here, via __bridge_retained.
17// The other end will wrap this BackendSemaphore and take the ref, via __bridge_transfer.
21} // namespace GrBackendSemaphores
22
23#endif
const void * GrMTLHandle
Definition GrMtlTypes.h:20
#define SK_API
Definition SkAPI.h:35
FlKeyEvent * event
uint8_t value
SK_API uint64_t GetMtlValue(const GrBackendSemaphore &)
SK_API GrMTLHandle GetMtlHandle(const GrBackendSemaphore &)
SK_API GrBackendSemaphore MakeMtl(GrMTLHandle event, uint64_t value)