changed author name
This commit is contained in:
parent
1093c639eb
commit
7fc7402855
@ -45,7 +45,7 @@ import java.nio.ByteBuffer;
|
|||||||
* and have the prefix -Async in their name.
|
* and have the prefix -Async in their name.
|
||||||
*
|
*
|
||||||
* @see Context#createBuffer(long, com.jme3.opencl.MemoryAccess)
|
* @see Context#createBuffer(long, com.jme3.opencl.MemoryAccess)
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public abstract class Buffer implements OpenCLObject {
|
public abstract class Buffer implements OpenCLObject {
|
||||||
|
|
||||||
@ -316,7 +316,7 @@ public abstract class Buffer implements OpenCLObject {
|
|||||||
* Result of an async mapping operation, contains the event and the target byte buffer.
|
* Result of an async mapping operation, contains the event and the target byte buffer.
|
||||||
* This is a work-around since no generic pair-structure is avaiable.
|
* This is a work-around since no generic pair-structure is avaiable.
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public static class AsyncMapping {
|
public static class AsyncMapping {
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ package com.jme3.opencl;
|
|||||||
* Each command queue is associtated with exactly one device: that device
|
* Each command queue is associtated with exactly one device: that device
|
||||||
* is specified on creation ({@link Context#createQueue(com.jme3.opencl.Device) })
|
* is specified on creation ({@link Context#createQueue(com.jme3.opencl.Device) })
|
||||||
* and all commands are sent to this device.
|
* and all commands are sent to this device.
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public interface CommandQueue extends OpenCLObject {
|
public interface CommandQueue extends OpenCLObject {
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ import java.util.logging.Logger;
|
|||||||
* <li>Created buffers and images shared with OpenGL vertex buffers, textures and renderbuffers</li>
|
* <li>Created buffers and images shared with OpenGL vertex buffers, textures and renderbuffers</li>
|
||||||
* <li>Create program objects from source code and source files</li>
|
* <li>Create program objects from source code and source files</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public abstract class Context implements OpenCLObject {
|
public abstract class Context implements OpenCLObject {
|
||||||
private static final Logger LOG = Logger.getLogger(Context.class.getName());
|
private static final Logger LOG = Logger.getLogger(Context.class.getName());
|
||||||
|
@ -39,7 +39,7 @@ import java.util.logging.Logger;
|
|||||||
* A default implementation of {@link PlatformChooser}.
|
* A default implementation of {@link PlatformChooser}.
|
||||||
* It favors GPU devices with OpenGL sharing, then any devices with OpenGL sharing,
|
* It favors GPU devices with OpenGL sharing, then any devices with OpenGL sharing,
|
||||||
* then any possible device.
|
* then any possible device.
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class DefaultPlatformChooser implements PlatformChooser {
|
public class DefaultPlatformChooser implements PlatformChooser {
|
||||||
private static final Logger LOG = Logger.getLogger(DefaultPlatformChooser.class.getName());
|
private static final Logger LOG = Logger.getLogger(DefaultPlatformChooser.class.getName());
|
||||||
|
@ -42,7 +42,7 @@ import java.util.Collection;
|
|||||||
* <p>
|
* <p>
|
||||||
* This class is used to query the capabilities of the underlying device.
|
* This class is used to query the capabilities of the underlying device.
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public interface Device {
|
public interface Device {
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ package com.jme3.opencl;
|
|||||||
* Events are returned from kernel launches and all asynchronous operations.
|
* Events are returned from kernel launches and all asynchronous operations.
|
||||||
* They allow to test if the action has completed and to block until the operation
|
* They allow to test if the action has completed and to block until the operation
|
||||||
* is done.
|
* is done.
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public interface Event extends OpenCLObject {
|
public interface Event extends OpenCLObject {
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ import java.util.Objects;
|
|||||||
* object, region[1] and region[2] must be 1. If image is a 1D image array
|
* object, region[1] and region[2] must be 1. If image is a 1D image array
|
||||||
* object, region[2] must be 1. The values in region cannot be 0.
|
* object, region[2] must be 1. The values in region cannot be 0.
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public interface Image extends OpenCLObject {
|
public interface Image extends OpenCLObject {
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ import java.util.Arrays;
|
|||||||
* {@link #Run1(com.jme3.opencl.CommandQueue, com.jme3.opencl.Kernel.WorkSize, java.lang.Object...) }
|
* {@link #Run1(com.jme3.opencl.CommandQueue, com.jme3.opencl.Kernel.WorkSize, java.lang.Object...) }
|
||||||
* and {@link #Run2(com.jme3.opencl.CommandQueue, com.jme3.opencl.Kernel.WorkSize, com.jme3.opencl.Kernel.WorkSize, java.lang.Object...) }.
|
* and {@link #Run2(com.jme3.opencl.CommandQueue, com.jme3.opencl.Kernel.WorkSize, com.jme3.opencl.Kernel.WorkSize, java.lang.Object...) }.
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
* @see Program#createKernel(java.lang.String)
|
* @see Program#createKernel(java.lang.String)
|
||||||
*/
|
*/
|
||||||
public abstract class Kernel implements OpenCLObject {
|
public abstract class Kernel implements OpenCLObject {
|
||||||
@ -441,7 +441,7 @@ public abstract class Kernel implements OpenCLObject {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The work size (global and local) for executing a kernel
|
* The work size (global and local) for executing a kernel
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public static final class WorkSize {
|
public static final class WorkSize {
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ package com.jme3.opencl;
|
|||||||
* when the compilation failed.
|
* when the compilation failed.
|
||||||
* The error log returned by {@link #getLog() } contains detailed information
|
* The error log returned by {@link #getLog() } contains detailed information
|
||||||
* where the error occured.
|
* where the error occured.
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class KernelCompilationException extends OpenCLException {
|
public class KernelCompilationException extends OpenCLException {
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ package com.jme3.opencl;
|
|||||||
* Specifies the access flags when mapping a {@link Buffer} or {@link Image} object.
|
* Specifies the access flags when mapping a {@link Buffer} or {@link Image} object.
|
||||||
* @see Buffer#map(com.jme3.opencl.CommandQueue, long, long, com.jme3.opencl.MappingAccess)
|
* @see Buffer#map(com.jme3.opencl.CommandQueue, long, long, com.jme3.opencl.MappingAccess)
|
||||||
* @see Image#map(com.jme3.opencl.CommandQueue, long[], long[], com.jme3.opencl.MappingAccess)
|
* @see Image#map(com.jme3.opencl.CommandQueue, long[], long[], com.jme3.opencl.MappingAccess)
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public enum MappingAccess {
|
public enum MappingAccess {
|
||||||
/**
|
/**
|
||||||
|
@ -33,7 +33,7 @@ package com.jme3.opencl;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Specifies how a buffer object can be accessed by the kernel.
|
* Specifies how a buffer object can be accessed by the kernel.
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
* @see Buffer
|
* @see Buffer
|
||||||
*/
|
*/
|
||||||
public enum MemoryAccess {
|
public enum MemoryAccess {
|
||||||
|
@ -36,7 +36,7 @@ package com.jme3.opencl;
|
|||||||
* The error code and its name is reported in the message string as well as the OpenCL call that
|
* The error code and its name is reported in the message string as well as the OpenCL call that
|
||||||
* causes this exception. Please refer to the official OpenCL specification
|
* causes this exception. Please refer to the official OpenCL specification
|
||||||
* to see what might cause this exception.
|
* to see what might cause this exception.
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class OpenCLException extends RuntimeException {
|
public class OpenCLException extends RuntimeException {
|
||||||
private static final long serialVersionUID = 8471229972153694848L;
|
private static final long serialVersionUID = 8471229972153694848L;
|
||||||
|
@ -33,7 +33,7 @@ package com.jme3.opencl;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public interface OpenCLObject {
|
public interface OpenCLObject {
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ import java.util.logging.Logger;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class OpenCLObjectManager {
|
public class OpenCLObjectManager {
|
||||||
private static final Logger LOG = Logger.getLogger(OpenCLObjectManager.class.getName());
|
private static final Logger LOG = Logger.getLogger(OpenCLObjectManager.class.getName());
|
||||||
|
@ -40,7 +40,7 @@ import java.util.List;
|
|||||||
* create the {@link Context}.<br>
|
* create the {@link Context}.<br>
|
||||||
* This class is mostly used within {@link PlatformChooser}.
|
* This class is mostly used within {@link PlatformChooser}.
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public interface Platform {
|
public interface Platform {
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ import java.util.List;
|
|||||||
/**
|
/**
|
||||||
* This SPI is called on startup to specify which platform and which devices
|
* This SPI is called on startup to specify which platform and which devices
|
||||||
* are used for context creation.
|
* are used for context creation.
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
* @see AppSettings#setOpenCLPlatformChooser(java.lang.Class)
|
* @see AppSettings#setOpenCLPlatformChooser(java.lang.Class)
|
||||||
*/
|
*/
|
||||||
public interface PlatformChooser {
|
public interface PlatformChooser {
|
||||||
|
@ -40,7 +40,7 @@ package com.jme3.opencl;
|
|||||||
*
|
*
|
||||||
* @see Context#createProgramFromSourceCode(java.lang.String)
|
* @see Context#createProgramFromSourceCode(java.lang.String)
|
||||||
* @see #createKernel(java.lang.String)
|
* @see #createKernel(java.lang.String)
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public interface Program extends OpenCLObject {
|
public interface Program extends OpenCLObject {
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ import java.util.logging.Logger;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Simple test checking if the basic functions of the OpenCL wrapper work
|
* Simple test checking if the basic functions of the OpenCL wrapper work
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class HelloOpenCL extends SimpleApplication {
|
public class HelloOpenCL extends SimpleApplication {
|
||||||
private static final Logger LOG = Logger.getLogger(HelloOpenCL.class.getName());
|
private static final Logger LOG = Logger.getLogger(HelloOpenCL.class.getName());
|
||||||
|
@ -45,7 +45,7 @@ import java.util.logging.Logger;
|
|||||||
/**
|
/**
|
||||||
* This test class tests the capability to read and modify an OpenGL vertex buffer.
|
* This test class tests the capability to read and modify an OpenGL vertex buffer.
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class TestVertexBufferSharing extends SimpleApplication {
|
public class TestVertexBufferSharing extends SimpleApplication {
|
||||||
private static final Logger LOG = Logger.getLogger(TestVertexBufferSharing.class.getName());
|
private static final Logger LOG = Logger.getLogger(TestVertexBufferSharing.class.getName());
|
||||||
|
@ -49,7 +49,7 @@ import java.util.logging.Logger;
|
|||||||
* This test class tests the capability to write to a GL texture from OpenCL.
|
* This test class tests the capability to write to a GL texture from OpenCL.
|
||||||
* Move the mouse around while pressing the left mouse key to modify the fractal.
|
* Move the mouse around while pressing the left mouse key to modify the fractal.
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class TestWriteToTexture extends SimpleApplication implements AnalogListener, ActionListener {
|
public class TestWriteToTexture extends SimpleApplication implements AnalogListener, ActionListener {
|
||||||
private static final Logger LOG = Logger.getLogger(TestWriteToTexture.class.getName());
|
private static final Logger LOG = Logger.getLogger(TestWriteToTexture.class.getName());
|
||||||
|
@ -37,7 +37,7 @@ import org.lwjgl.opencl.*;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class LwjglBuffer extends Buffer {
|
public class LwjglBuffer extends Buffer {
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ import org.lwjgl.opencl.CLCommandQueue;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class LwjglCommandQueue implements CommandQueue {
|
public class LwjglCommandQueue implements CommandQueue {
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ import org.lwjgl.opengl.*;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class LwjglContext extends Context {
|
public class LwjglContext extends Context {
|
||||||
private static final Logger LOG = Logger.getLogger(LwjglContext.class.getName());
|
private static final Logger LOG = Logger.getLogger(LwjglContext.class.getName());
|
||||||
|
@ -41,7 +41,7 @@ import org.lwjgl.opencl.CLDevice;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public final class LwjglDevice implements Device {
|
public final class LwjglDevice implements Device {
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ import org.lwjgl.opencl.CLEvent;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class LwjglEvent implements Event {
|
public class LwjglEvent implements Event {
|
||||||
private static final Logger LOG = Logger.getLogger(LwjglEvent.class.getName());
|
private static final Logger LOG = Logger.getLogger(LwjglEvent.class.getName());
|
||||||
|
@ -41,7 +41,7 @@ import org.lwjgl.opencl.api.CLImageFormat;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class LwjglImage implements Image {
|
public class LwjglImage implements Image {
|
||||||
private static final Logger LOG = Logger.getLogger(LwjglImage.class.getName());
|
private static final Logger LOG = Logger.getLogger(LwjglImage.class.getName());
|
||||||
|
@ -45,7 +45,7 @@ import org.lwjgl.opencl.CLKernel;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class LwjglKernel extends Kernel {
|
public class LwjglKernel extends Kernel {
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ import org.lwjgl.opencl.CLPlatform;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public final class LwjglPlatform implements Platform {
|
public final class LwjglPlatform implements Platform {
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ import org.lwjgl.opencl.*;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class LwjglProgram implements Program {
|
public class LwjglProgram implements Program {
|
||||||
private static final Logger LOG = Logger.getLogger(LwjglProgram.class.getName());
|
private static final Logger LOG = Logger.getLogger(LwjglProgram.class.getName());
|
||||||
|
@ -46,7 +46,7 @@ import org.lwjgl.opencl.*;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Sebastian Weiss
|
* @author shaman
|
||||||
*/
|
*/
|
||||||
public class Utils {
|
public class Utils {
|
||||||
private static final Logger LOG = Logger.getLogger(Utils.class.getName());
|
private static final Logger LOG = Logger.getLogger(Utils.class.getName());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user