Package org.lwjgl.opencl
Class APPLEContextLoggingFunctions
- java.lang.Object
-
- org.lwjgl.opencl.APPLEContextLoggingFunctions
-
public class APPLEContextLoggingFunctions extends java.lang.ObjectNative bindings to the APPLE_ContextLoggingFunctions extension.Provides convenience functions that are intended to be used as the
pfn_notifyparameter toCreateContext.Note that if you pass
NULLto theCreateContextpfn_notifyparameter, you can also use these by setting theCL_LOG_ERRORSenvironment variable to one of stdout, stderr, or console. Pass your own do-nothing context logging function to disable theCL_LOG_ERRORSoverride.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidclLogMessagesToStderrAPPLE(java.nio.ByteBuffer errstr, java.nio.ByteBuffer private_info, long cb, java.nio.ByteBuffer user_data)Forwards on all log messages to the standard error stream.static voidclLogMessagesToStdoutAPPLE(java.nio.ByteBuffer errstr, java.nio.ByteBuffer private_info, long cb, java.nio.ByteBuffer user_data)Forwards on all log messages to the standard output stream.static voidclLogMessagesToSystemLogAPPLE(java.nio.ByteBuffer errstr, java.nio.ByteBuffer private_info, long cb, java.nio.ByteBuffer user_data)Forwards on all log messages to the Apple System Logger.
-
-
-
Method Detail
-
clLogMessagesToSystemLogAPPLE
public static void clLogMessagesToSystemLogAPPLE(java.nio.ByteBuffer errstr, java.nio.ByteBuffer private_info, long cb, java.nio.ByteBuffer user_data)Forwards on all log messages to the Apple System Logger.- Parameters:
errstr-private_info-cb-user_data-
-
clLogMessagesToStdoutAPPLE
public static void clLogMessagesToStdoutAPPLE(java.nio.ByteBuffer errstr, java.nio.ByteBuffer private_info, long cb, java.nio.ByteBuffer user_data)Forwards on all log messages to the standard output stream.- Parameters:
errstr-private_info-cb-user_data-
-
clLogMessagesToStderrAPPLE
public static void clLogMessagesToStderrAPPLE(java.nio.ByteBuffer errstr, java.nio.ByteBuffer private_info, long cb, java.nio.ByteBuffer user_data)Forwards on all log messages to the standard error stream.- Parameters:
errstr-private_info-cb-user_data-
-
-