1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-28 21:14:15 -04:00

DSD demod: TV screen graticule optimization

This commit is contained in:
f4exb
2018-03-15 00:16:50 +01:00
parent d1bb70a32c
commit 8d984c2f09
6 changed files with 52 additions and 18 deletions
+7 -2
View File
@@ -43,7 +43,8 @@ TVScreen::TVScreen(bool blnColor, QWidget* parent) :
//Par défaut
m_intAskedCols = TV_COLS;
m_intAskedRows = TV_ROWS;
m_cols = TV_COLS;
m_rows = TV_ROWS;
}
TVScreen::~TVScreen()
@@ -88,13 +89,17 @@ void TVScreen::resetImage(int alpha)
void TVScreen::resizeTVScreen(int intCols, int intRows)
{
qDebug("TVScreen::resizeTVScreen: cols: %d, rows: %d", intCols, intRows);
m_intAskedCols = intCols;
m_intAskedRows = intRows;
m_cols = intCols;
m_rows = intRows;
}
void TVScreen::getSize(int& intCols, int& intRows) const
{
m_objGLShaderArray.getSize(intCols, intRows);
intCols = m_cols;
intRows = m_rows;
}
void TVScreen::initializeGL()