![]() |
SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <glshadertvarray.h>
Public Member Functions | |
| GLShaderTVArray (bool blnColor) | |
| ~GLShaderTVArray () | |
| void | setColor (bool blnColor) |
| void | setAlphaBlend (bool blnAlphaBlend) |
| void | setAlphaReset () |
| void | InitializeGL (int intCols, int intRows) |
| void | Cleanup () |
| QRgb * | GetRowBuffer (int intRow) |
| void | RenderPixels (unsigned char *chrData) |
| void | ResetPixels () |
| void | ResetPixels (int alpha) |
| bool | SelectRow (int intLine) |
| bool | SetDataColor (int intCol, QRgb objColor) |
Protected Attributes | |
| QOpenGLShaderProgram * | m_objProgram |
| int | m_objMatrixLoc |
| int | m_objTextureLoc |
| QImage * | m_objImage =NULL |
| QOpenGLTexture * | m_objTexture =NULL |
| int | m_intCols |
| int | m_intRows |
| QRgb * | m_objCurrentRow |
| bool | m_blnInitialized |
| bool | m_blnColor |
| bool | m_blnAlphaBlend |
| bool | m_blnAlphaReset |
Static Protected Attributes | |
| static const QString | m_strVertexShaderSourceArray |
| static const QString | m_strFragmentShaderSourceColored |
Definition at line 40 of file glshadertvarray.h.
| GLShaderTVArray::GLShaderTVArray | ( | bool | blnColor | ) |
Definition at line 38 of file glshadertvarray.cpp.
References m_blnAlphaBlend, m_blnAlphaReset, m_blnInitialized, m_intCols, m_intRows, m_objCurrentRow, m_objImage, m_objMatrixLoc, m_objProgram, m_objTexture, and m_objTextureLoc.
| GLShaderTVArray::~GLShaderTVArray | ( | ) |
Definition at line 54 of file glshadertvarray.cpp.
References Cleanup().
Here is the call graph for this function:| void GLShaderTVArray::Cleanup | ( | ) |
Definition at line 267 of file glshadertvarray.cpp.
References m_blnInitialized, m_intCols, m_intRows, m_objCurrentRow, m_objImage, m_objProgram, and m_objTexture.
Referenced by TVScreen::cleanup(), setAlphaReset(), and ~GLShaderTVArray().
Here is the caller graph for this function:| QRgb * GLShaderTVArray::GetRowBuffer | ( | int | intRow | ) |
Definition at line 129 of file glshadertvarray.cpp.
References m_blnInitialized, m_intRows, and m_objImage.
Referenced by TVScreen::getRowBuffer(), and setAlphaReset().
Here is the caller graph for this function:| void GLShaderTVArray::InitializeGL | ( | int | intCols, |
| int | intRows | ||
| ) |
Definition at line 59 of file glshadertvarray.cpp.
References m_blnInitialized, m_intCols, m_intRows, m_objCurrentRow, m_objImage, m_objMatrixLoc, m_objProgram, m_objTexture, m_objTextureLoc, m_strFragmentShaderSourceColored, and m_strVertexShaderSourceArray.
Referenced by TVScreen::paintGL(), and setAlphaReset().
Here is the caller graph for this function:| void GLShaderTVArray::RenderPixels | ( | unsigned char * | chrData | ) |
Definition at line 149 of file glshadertvarray.cpp.
References m_blnAlphaBlend, m_blnAlphaReset, m_blnColor, m_blnInitialized, m_intCols, m_intRows, m_objImage, m_objMatrixLoc, m_objProgram, m_objTexture, and m_objTextureLoc.
Referenced by TVScreen::paintGL(), and setAlphaReset().
Here is the caller graph for this function:| void GLShaderTVArray::ResetPixels | ( | ) |
Definition at line 251 of file glshadertvarray.cpp.
References m_objImage.
Referenced by TVScreen::resetImage(), and setAlphaReset().
Here is the caller graph for this function:| void GLShaderTVArray::ResetPixels | ( | int | alpha | ) |
| bool GLShaderTVArray::SelectRow | ( | int | intLine | ) |
Definition at line 295 of file glshadertvarray.cpp.
References m_blnInitialized, m_intRows, m_objCurrentRow, and m_objImage.
Referenced by TVScreen::selectRow(), and setAlphaReset().
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 48 of file glshadertvarray.h.
References Cleanup(), GetRowBuffer(), InitializeGL(), m_blnAlphaReset, RenderPixels(), ResetPixels(), SelectRow(), and SetDataColor().
Here is the call graph for this function:
|
inline |
Definition at line 46 of file glshadertvarray.h.
References m_blnColor.
Referenced by TVScreen::setColor().
Here is the caller graph for this function:| bool GLShaderTVArray::SetDataColor | ( | int | intCol, |
| QRgb | objColor | ||
| ) |
Definition at line 315 of file glshadertvarray.cpp.
References m_blnInitialized, m_intCols, and m_objCurrentRow.
Referenced by setAlphaReset(), and TVScreen::setDataColor().
Here is the caller graph for this function:
|
protected |
Definition at line 79 of file glshadertvarray.h.
Referenced by GLShaderTVArray(), RenderPixels(), and setAlphaBlend().
|
protected |
Definition at line 80 of file glshadertvarray.h.
Referenced by GLShaderTVArray(), RenderPixels(), and setAlphaReset().
|
protected |
Definition at line 78 of file glshadertvarray.h.
Referenced by RenderPixels(), and setColor().
|
protected |
Definition at line 77 of file glshadertvarray.h.
Referenced by Cleanup(), GetRowBuffer(), GLShaderTVArray(), InitializeGL(), RenderPixels(), SelectRow(), and SetDataColor().
|
protected |
Definition at line 72 of file glshadertvarray.h.
Referenced by Cleanup(), GLShaderTVArray(), InitializeGL(), RenderPixels(), and SetDataColor().
|
protected |
Definition at line 73 of file glshadertvarray.h.
Referenced by Cleanup(), GetRowBuffer(), GLShaderTVArray(), InitializeGL(), RenderPixels(), and SelectRow().
|
protected |
Definition at line 75 of file glshadertvarray.h.
Referenced by Cleanup(), GLShaderTVArray(), InitializeGL(), SelectRow(), and SetDataColor().
|
protected |
Definition at line 69 of file glshadertvarray.h.
Referenced by Cleanup(), GetRowBuffer(), GLShaderTVArray(), InitializeGL(), RenderPixels(), ResetPixels(), and SelectRow().
|
protected |
Definition at line 63 of file glshadertvarray.h.
Referenced by GLShaderTVArray(), InitializeGL(), and RenderPixels().
|
protected |
Definition at line 62 of file glshadertvarray.h.
Referenced by Cleanup(), GLShaderTVArray(), InitializeGL(), and RenderPixels().
|
protected |
Definition at line 70 of file glshadertvarray.h.
Referenced by Cleanup(), GLShaderTVArray(), InitializeGL(), and RenderPixels().
|
protected |
Definition at line 64 of file glshadertvarray.h.
Referenced by GLShaderTVArray(), InitializeGL(), and RenderPixels().
|
staticprotected |
Definition at line 67 of file glshadertvarray.h.
Referenced by InitializeGL().
|
staticprotected |
Definition at line 66 of file glshadertvarray.h.
Referenced by InitializeGL().
1.8.13