From 11a7b22fb96e2bae7def908dfd1c21c5d79031fa Mon Sep 17 00:00:00 2001 From: Lubos Dolezel Date: Fri, 8 May 2020 11:26:09 +0200 Subject: [PATCH] IOSurface work progress --- src/external/iokitd | 2 +- src/frameworks/IOSurface/include/IOSurface/IOSurfacePriv.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/external/iokitd b/src/external/iokitd index 3d769211c..bfcb538ad 160000 --- a/src/external/iokitd +++ b/src/external/iokitd @@ -1 +1 @@ -Subproject commit 3d769211c89aca0858d740e6dbc189af487fca1f +Subproject commit bfcb538ad75a496c4b9ac9e813ee9f2a86d80409 diff --git a/src/frameworks/IOSurface/include/IOSurface/IOSurfacePriv.h b/src/frameworks/IOSurface/include/IOSurface/IOSurfacePriv.h index 95e11e474..d8aed37f1 100644 --- a/src/frameworks/IOSurface/include/IOSurface/IOSurfacePriv.h +++ b/src/frameworks/IOSurface/include/IOSurface/IOSurfacePriv.h @@ -39,6 +39,7 @@ enum kIOSurfaceMethodLock = 2, // in: struct _IOSurfaceLockUnlock kIOSurfaceMethodUnlock = 3, + // in: IOSurfaceID kIOSurfaceMethodLookupByID = 4, kIOSurfaceMethodSetValue = 9, // out: data for IOCFUnserializeWithSize() @@ -49,7 +50,9 @@ enum // in: IOSurfaceID kIOSurfaceMethodDecrementUseCount = 15, // in: mach_port_t as a plain value + // out: _IOSurfaceObjectRetval kIOSurfaceMethodCreateByMachPort = 34, + // in: IOSurfaceID // out: mach_port_t as a plain value kIOSurfaceMethodCreateMachPort = 35, }; -- 2.51.2