This commit is contained in:
2026-05-02 15:49:45 +10:00
parent 8b7aa1971e
commit 8d01ea4a3c
12 changed files with 454 additions and 239 deletions

View File

@@ -74,6 +74,7 @@ public:
bool InitDeckLink();
bool Start();
bool Stop();
bool ReloadShader();
void resizeGL(WORD width, WORD height);
void paintGL();
@@ -113,7 +114,9 @@ private:
GLuint mIdColorBuf;
GLuint mIdDepthBuf;
GLuint mProgram;
GLuint mVertexShader;
GLuint mFragmentShader;
GLint mUYVYtexUniform;
GLfloat mRotateAngle;
GLfloat mRotateAngleRate;
int mViewWidth;
@@ -121,6 +124,8 @@ private:
bool InitOpenGLState();
bool compileFragmentShader(int errorMessageSize, char* errorMessage);
void destroyShaderProgram();
void renderEffect();
};
////////////////////////////////////////////