controls:
keys 1-9 control parallelism level
space enables/disables slice seperator
'd' toggles between 32/64bit floatingpoint precision
mouse/mousewheel to drag and zoom
'Home' to reset the viewport
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private CLContext | |
| private CLEvent[] | |
| private GLSync[] | |
| private static final int | |
| private CLMem[] | |
| private int | |
| private boolean | |
| private boolean | |
| private double | |
| private double | |
| private double | |
| private double | |
| private double | |
| private double | |
| private boolean | |
| private int | |
| private CLMem[] | |
| private CLEvent | |
| private IntBuffer | |
| private GLSync | |
| private int | |
| private final PointerBuffer | |
| private CLKernel[] | |
| private static final int | |
| private int | |
| private double | |
| private double | |
| private double | |
| private double | |
| private int | |
| private int | |
| private Set | |
| private int | |
| private CLProgram[] | |
| private CLCommandQueue[] | |
| private boolean | |
| private boolean | |
| private int | |
| private final PointerBuffer | |
| private boolean | |
| private boolean | |
| private boolean | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| public void | |
| private String | |
| private void | |
| public void | |
| private void | |
| private static void | |
| private void | |
| private static void | |
| private static boolean | |
| public static void | |
| private void | |
| private void | |
| private void |
| buffersInitialized | back to summary |
|---|---|
| private boolean buffersInitialized | |
| clContext | back to summary |
|---|---|
| private CLContext clContext | |
| clEvents | back to summary |
|---|---|
| private CLEvent[] clEvents | |
| clSyncs | back to summary |
|---|---|
| private GLSync[] clSyncs | |
| COLOR_MAP_SIZE | back to summary |
|---|---|
| private static final int COLOR_MAP_SIZE | |
| colorMap | back to summary |
|---|---|
| private CLMem[] colorMap | |
| dlist | back to summary |
|---|---|
| private int dlist | |
| doublePrecision | back to summary |
|---|---|
| private boolean doublePrecision | |
| dragging | back to summary |
|---|---|
| private boolean dragging | |
| dragMaxX | back to summary |
|---|---|
| private double dragMaxX | |
| dragMaxY | back to summary |
|---|---|
| private double dragMaxY | |
| dragMinX | back to summary |
|---|---|
| private double dragMinX | |
| dragMinY | back to summary |
|---|---|
| private double dragMinY | |
| dragX | back to summary |
|---|---|
| private double dragX | |
| dragY | back to summary |
|---|---|
| private double dragY | |
| drawSeparator | back to summary |
|---|---|
| private boolean drawSeparator | |
| fsh | back to summary |
|---|---|
| private int fsh | |
| glBuffers | back to summary |
|---|---|
| private CLMem[] glBuffers | |
| glEvent | back to summary |
|---|---|
| private CLEvent glEvent | |
| glIDs | back to summary |
|---|---|
| private IntBuffer glIDs | |
| glSync | back to summary |
|---|---|
| private GLSync glSync | |
| height | back to summary |
|---|---|
| private int height | |
| kernel2DGlobalWorkSize | back to summary |
|---|---|
| private final PointerBuffer kernel2DGlobalWorkSize | |
| kernels | back to summary |
|---|---|
| private CLKernel[] kernels | |
| MAX_PARALLELISM_LEVEL | back to summary |
|---|---|
| private static final int MAX_PARALLELISM_LEVEL | |
| maxIterations | back to summary |
|---|---|
| private int maxIterations | |
| maxX | back to summary |
|---|---|
| private double maxX | |
| maxY | back to summary |
|---|---|
| private double maxY | |
| minX | back to summary |
|---|---|
| private double minX | |
| minY | back to summary |
|---|---|
| private double minY | |
| mouseX | back to summary |
|---|---|
| private int mouseX | |
| mouseY | back to summary |
|---|---|
| private int mouseY | |
| params | back to summary |
|---|---|
| private Set<String> params | |
| program | back to summary |
|---|---|
| private int program | |
| programs | back to summary |
|---|---|
| private CLProgram[] programs | |
| queues | back to summary |
|---|---|
| private CLCommandQueue[] queues | |
| rebuild | back to summary |
|---|---|
| private boolean rebuild | |
| run | back to summary |
|---|---|
| private boolean run | |
| slices | back to summary |
|---|---|
| private int slices | |
| syncBuffer | back to summary |
|---|---|
| private final PointerBuffer syncBuffer | |
| syncCLtoGL | back to summary |
|---|---|
| private boolean syncCLtoGL | |
| syncGLtoCL | back to summary |
|---|---|
| private boolean syncGLtoCL | |
| useTextures | back to summary |
|---|---|
| private boolean useTextures | |
| vsh | back to summary |
|---|---|
| private int vsh | |
| width | back to summary |
|---|---|
| private int width | |
| DemoFractal | back to summary |
|---|---|
| public DemoFractal(final String[] args) | |
| buildPrograms | back to summary |
|---|---|
| private void buildPrograms() | |
| compute | back to summary |
|---|---|
| private void compute(final boolean is64bit) | |
| createPrograms | back to summary |
|---|---|
| private void createPrograms() throws IOException | |
| display | back to summary |
|---|---|
| public void display() | |
| getProgramSource | back to summary |
|---|---|
| private String getProgramSource(final String file) throws IOException | |
| handleIO | back to summary |
|---|---|
| private void handleIO() | |
| init | back to summary |
|---|---|
| public void init() | |
| initCL | back to summary |
|---|---|
| private void initCL(Drawable drawable) throws Exception | |
| initColorMap | back to summary |
|---|---|
| private static void initColorMap(IntBuffer colorMap, int stepSize, ReadableColor... colors) | |
| initGLObjects | back to summary |
|---|---|
| private void initGLObjects() | |
| initView | back to summary |
|---|---|
| private static void initView(int width, int height) | |
| isDoubleFPAvailable | back to summary |
|---|---|
| private static boolean isDoubleFPAvailable(CLDevice device) | |
| main | back to summary |
|---|---|
| public static void main(String[] args) | |
| render | back to summary |
|---|---|
| private void render() | |
| run | back to summary |
|---|---|
| private void run() | |
| setKernelConstants | back to summary |
|---|---|
| private void setKernelConstants() | |