Skip to content

Move some classes around for PushBuffer#1682

Merged
VReaperV merged 1 commit intoDaemonEngine:masterfrom
VReaperV:push-buffer-classes
Jun 24, 2025
Merged

Move some classes around for PushBuffer#1682
VReaperV merged 1 commit intoDaemonEngine:masterfrom
VReaperV:push-buffer-classes

Conversation

@VReaperV
Copy link
Contributor

Requires #1681

Move GLBuffer and its derivatives to GLMemory to avoid circular includes.

Also moved GLUniform before GLShaderManager because its definition will be required there for PushBuffer.

@VReaperV VReaperV added T-Improvement Improvement for an existing feature A-Renderer labels Jun 23, 2025
This was referenced Jun 23, 2025
void UpdateShaderProgramUniformLocations( GLShader* shader, ShaderProgramDescriptor* shaderProgram ) const;
};

class GLUniform
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gl_shader.h is GPL licensed while GLMemory.h is BSD

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But the only thing that was moved there was added on afterwards, it wasn't part of the original code.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops I though GLUniform was being pulled out, but it only moved within the file.

Copy link
Member

@slipher slipher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

void UpdateShaderProgramUniformLocations( GLShader* shader, ShaderProgramDescriptor* shaderProgram ) const;
};

class GLUniform
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops I though GLUniform was being pulled out, but it only moved within the file.

@VReaperV VReaperV force-pushed the push-buffer-classes branch from 7c603bd to a07d003 Compare June 24, 2025 06:56
@VReaperV
Copy link
Contributor Author

(rebased)

@VReaperV VReaperV merged commit 769e8e9 into DaemonEngine:master Jun 24, 2025
2 of 8 checks passed
@VReaperV VReaperV deleted the push-buffer-classes branch June 24, 2025 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Renderer T-Improvement Improvement for an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants