Skip to content

Commit

Permalink
Opengl merge (#48)
Browse files Browse the repository at this point in the history
* enable OpenGL use in plots

* Merge tip of tree.

Co-authored-by: Jason Mobarak <[email protected]>
  • Loading branch information
john-michaelburke and Jason Mobarak authored Apr 30, 2021
1 parent bfc32e0 commit 76d0aa9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions resources/SolutionTabComponents/SolutionPositionTab.qml
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,9 @@ Item {
var line = solutionPositionChart.createSeries(ChartView.SeriesTypeLine, labels[idx], solutionPositionXAxis, solutionPositionYAxis);
line.color = colors[idx];
line.width = Constants.commonChart.solutionLineWidth;
// line.useOpenGL = true; // [CPP-93] Invesigate usage of `useOpenGL` in plots
// scatter.useOpenGL = true; // [CPP-93] Invesigate usage of `useOpenGL` in plots
line.useOpenGL = true;
scatter.useOpenGL = true;
cur_scatter.useOpenGL = true;
lines.push(line);
scatters.push(scatter);
cur_scatters.push(cur_scatter);
Expand Down
1 change: 1 addition & 0 deletions resources/SolutionTabComponents/SolutionVelocityTab.qml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ Item {
line.color = colors[idx];
line.width = Constants.commonChart.lineWidth;
line.axisYRight = solutionVelocityYAxis;
line.useOpenGL = true;
lines.push(line);
}
}
Expand Down
3 changes: 2 additions & 1 deletion resources/TrackingTabComponents/TrackingSignalsTab.qml
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,15 @@ Item {
line.color = colors[idx];
line.width = Constants.commonChart.lineWidth;
line.axisYRight = trackingSignalsYAxis;
// line.useOpenGL = true; // [CPP-93] Invesigate usage of `useOpenGL` in plots
line.useOpenGL = true;
lines[idx] = [line, labels[idx]];
}
} else {
var line = trackingSignalsChart.createSeries(ChartView.SeriesTypeLine, labels[idx], trackingSignalsXAxis);
line.color = colors[idx];
line.width = Constants.commonChart.lineWidth;
line.axisYRight = trackingSignalsYAxis;
line.useOpenGL = true;
lines.push([line, labels[idx]]);
}
}
Expand Down

0 comments on commit 76d0aa9

Please sign in to comment.