Package com.aparapi.examples.extension
Interface MandelBrot
- All Superinterfaces:
com.aparapi.opencl.OpenCL<MandelBrot>
- All Known Implementing Classes:
JavaMandelBrot
,JavaMandelBrotMultiThread
public interface MandelBrot extends com.aparapi.opencl.OpenCL<MandelBrot>
An example Aparapi application which displays a view of the Mandelbrot set and lets the user zoom in to a particular point.
When the user clicks on the view, this example application will zoom in to the clicked point and zoom out there after.
On GPU, additional computing units will offer a better viewing experience. On the other hand on CPU, this example
application might suffer with sub-optimal frame refresh rate as compared to GPU.
- Author:
- gfrost
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.aparapi.opencl.OpenCL
com.aparapi.opencl.OpenCL.Arg, com.aparapi.opencl.OpenCL.Constant, com.aparapi.opencl.OpenCL.Get, com.aparapi.opencl.OpenCL.GlobalReadOnly, com.aparapi.opencl.OpenCL.GlobalReadWrite, com.aparapi.opencl.OpenCL.GlobalWriteOnly, com.aparapi.opencl.OpenCL.Kernel, com.aparapi.opencl.OpenCL.Local, com.aparapi.opencl.OpenCL.Put, com.aparapi.opencl.OpenCL.Resource, com.aparapi.opencl.OpenCL.Source
-
Field Summary
Fields inherited from interface com.aparapi.opencl.OpenCL
CL_KHR_3D_IMAGE_WRITES, CL_KHR_BYTE_ADDRESSABLE_SUPPORT, CL_KHR_FP16, CL_KHR_FP64, CL_KHR_GL_SHARING, CL_KHR_GLOBAL_INT32_BASE_ATOMICS, CL_KHR_GLOBAL_INT32_EXTENDED_ATOMICS, CL_KHR_INT64_BASE_ATOMICS, CL_KHR_INT64_EXTENDED_ATOMICS, CL_KHR_LOCAL_INT32_BASE_ATOMICS, CL_KHR_LOCAL_INT32_EXTENDED_ATOMICS, CL_KHR_SELECT_FPROUNDING_MODE
-
Method Summary
Modifier and Type Method Description MandelBrot
createMandleBrot(com.aparapi.Range range, float scale, float offsetx, float offsety, int[] rgb)
-
Method Details
-
createMandleBrot
MandelBrot createMandleBrot(com.aparapi.Range range, float scale, float offsetx, float offsety, int[] rgb)
-