Home
last modified time | relevance | path

Searched refs:GrMtlEvent (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/src/gpu/mtl/
DGrMtlSemaphore.h21 class GrMtlEvent : public GrManagedResource {
23 static sk_sp<GrMtlEvent> Make(GrMtlGpu* gpu);
25 static sk_sp<GrMtlEvent> MakeWrapped(GrMTLHandle event);
27 ~GrMtlEvent() override {} in ~GrMtlEvent()
49 GrMtlEvent(id<MTLEvent> mtlEvent) SK_API_AVAILABLE(macos(10.14), ios(12.0)) in GrMtlEvent() function
58 sk_sp<GrMtlEvent> event = GrMtlEvent::Make(gpu); in Make()
66 sk_sp<GrMtlEvent> event = GrMtlEvent::MakeWrapped(mtlEvent); in MakeWrapped()
75 sk_sp<GrMtlEvent> event() { return fEvent; } in event()
81 GrMtlSemaphore(sk_sp<GrMtlEvent> event, uint64_t value) in GrMtlSemaphore()
87 sk_sp<GrMtlEvent> fEvent;
DGrMtlSemaphore.mm18 sk_sp<GrMtlEvent> GrMtlEvent::Make(GrMtlGpu* gpu) {
21 return sk_sp<GrMtlEvent>(new GrMtlEvent(event));
27 sk_sp<GrMtlEvent> GrMtlEvent::MakeWrapped(GrMTLHandle event) {
28 // The GrMtlEvent will have strong ownership at this point.
32 return sk_sp<GrMtlEvent>(new GrMtlEvent(mtlEvent));
DGrMtlCommandBuffer.h22 class GrMtlEvent; variable
71 void encodeSignalEvent(sk_sp<GrMtlEvent>, uint64_t value);
72 void encodeWaitForEvent(sk_sp<GrMtlEvent>, uint64_t value);
DGrMtlCommandBuffer.mm210 void GrMtlCommandBuffer::encodeSignalEvent(sk_sp<GrMtlEvent> event, uint64_t eventValue) {
220 void GrMtlCommandBuffer::encodeWaitForEvent(sk_sp<GrMtlEvent> event, uint64_t eventValue) {