mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 11:59:12 +00:00
Robert Bragg
8098052d56
material: route fogging state through CoglMaterial
Previously cogl_set_fog would cause a flush of the Cogl journal and would directly bang the GL state machine to setup fogging. As part of the ongoing effort to track most state in CoglMaterial to support renderlists this now adds an indirection so that cogl_set_fog now just updates ctx->legacy_fog_state. The fogging state then gets enabled as a legacy override similar to how the old depth testing API is handled.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%