Skip to content

Add CinnamonGLSLEffect.get_pipeline() - #13939

Open
klangman wants to merge 1 commit into
linuxmint:masterfrom
klangman:add-cinnamon_glsl_effect_get_pipeline
Open

Add CinnamonGLSLEffect.get_pipeline()#13939
klangman wants to merge 1 commit into
linuxmint:masterfrom
klangman:add-cinnamon_glsl_effect_get_pipeline

Conversation

@klangman

Copy link
Copy Markdown
Contributor

To get CinnamonBurnMyWindows extension effects working that use textures, I need access to the pipeline. Since CinnamonGLSLEffect uses it's own pipleline object rather than using the one in its inherited OffscreenEffect class, we need to add a get_pipeline() for CinnamonGLSLEffect (overriding the one in OffscreenEffect) which will return the pipeline that is used by CinnamonGLSLEffect.

I built Cinnamon 6.6.9 with this new API and was then able to get the missing CinnamonBurnMyWindows effects working correctly.

To get CinnamonBurnMyWindows extension effects working that use textures, I need access to the pipeline. Since CinnamonGLSLEffect uses it's own pipleline object rather than using the one in its inherited OffscreenEffect class, we need to add a get_pipeline() for CinnamonGLSLEffect (overriding the one in OffscreenEffect) which will return the pipeline that is used by CinnamonGLSLEffect.

I built Cinnamon 6.6.9 with this new API and was then able to get the missing CinnamonBurnMyWindows effects working correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant