GLPageLabels.GL_API_LIST_VIEW_TIME,
GLPageLabels.GL_API_LIST_VIEW_NAME,
GLPageLabels.GL_API_LIST_VIEW_PARAMETER,
- GLPageLabels.GL_API_LIST_VIEW_ELAPSED_TIME,
+ GLPageLabels.GL_API_LIST_VIEW_ELAPSED_TIME + "(μs)", //$NON-NLS-1$
GLPageLabels.GL_API_LIST_VIEW_ERROR };
- private int[] columnSizes = { 40, 0, 70, 120, 250, 100, 100 };
+ private int[] columnSizes = { 40, 0, 70, 120, 250, 105, 95 };
private int[] columnAlignment = { SWT.RIGHT, SWT.LEFT, SWT.LEFT, SWT.LEFT,
SWT.LEFT, SWT.LEFT };
private void initializeCharts() {
initIntervalMarkers(frameChartBoard);
- GLFPSChart fpsChart = GLFPSChart.getInstance();
- DAChartBoardItem fpsChartItem = fpsChart.createBoardItem(frameChartBoard);
- DAChart fpsChartWidget = fpsChartItem.getChart();
-
- GLFrameChartMouseEventListener glFrameChartMouseEventListener = new GLFrameChartMouseEventListener(
- fpsChart.getPopupMenu(), frameChartBoard.getTimeline());
-
- fpsChartWidget.getPlot().setMarkers(frameChartBoard.getMarkers());
- fpsChartWidget.addMouseListener(glFrameChartMouseEventListener);
- fpsChartWidget.addMouseMoveListener(glFrameChartMouseEventListener);
- fpsChartWidget.addMouseTrackListener(new TimelineChartMouseTrackAdapter(
- frameChartBoard.getTimeline()));
-
- BoundLineEventListener underBoundLineEventListener = new BoundLineEventListener(fpsChartWidget, DAChartPlot.BoundType.UNDER);
- fpsChartWidget.addMouseListener(underBoundLineEventListener);
- fpsChartWidget.addMouseMoveListener(underBoundLineEventListener);
- fpsChartWidget.addMouseTrackListener(underBoundLineEventListener);
+// GLFPSChart fpsChart = GLFPSChart.getInstance();
+// DAChartBoardItem fpsChartItem = fpsChart.createBoardItem(frameChartBoard);
+// DAChart fpsChartWidget = fpsChartItem.getChart();
+//
+// GLFrameChartMouseEventListener glFrameChartMouseEventListener = new GLFrameChartMouseEventListener(
+// fpsChart.getPopupMenu(), frameChartBoard.getTimeline());
+//
+// fpsChartWidget.getPlot().setMarkers(frameChartBoard.getMarkers());
+// fpsChartWidget.addMouseListener(glFrameChartMouseEventListener);
+// fpsChartWidget.addMouseMoveListener(glFrameChartMouseEventListener);
+// fpsChartWidget.addMouseTrackListener(new TimelineChartMouseTrackAdapter(
+// frameChartBoard.getTimeline()));
+//
+// BoundLineEventListener underBoundLineEventListener = new BoundLineEventListener(fpsChartWidget, DAChartPlot.BoundType.UNDER);
+// fpsChartWidget.addMouseListener(underBoundLineEventListener);
+// fpsChartWidget.addMouseMoveListener(underBoundLineEventListener);
+// fpsChartWidget.addMouseTrackListener(underBoundLineEventListener);
GLFrameTimeChart frameTimeChart = GLFrameTimeChart.getInstance();
DAChartBoardItem frameTimeChartItem = frameTimeChart.createBoardItem(frameChartBoard);
DAChart frameTimeChartWidget = frameTimeChartItem.getChart();
+ GLFrameChartMouseEventListener glFrameChartMouseEventListener = new GLFrameChartMouseEventListener(
+ frameTimeChart.getPopupMenu(), frameChartBoard.getTimeline());
+
frameTimeChartWidget.getPlot().setMarkers(frameChartBoard.getMarkers());
frameTimeChartWidget.addMouseListener(glFrameChartMouseEventListener);
frameTimeChartWidget.addMouseMoveListener(glFrameChartMouseEventListener);