Forgot to update comment describing render pipeline

This commit is contained in:
Kovid Goyal 2020-01-12 10:26:25 +05:30
parent 714bee7f45
commit f44c3a4606
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -78,8 +78,8 @@ vec4 blend_onto_opaque_premul(vec3 over, float over_alpha, vec3 under) {
* 2a) Opaque bg with images under text
* There are multiple passes, each pass is blended onto the previous using the opaque blend func (alpha, 1- alpha):
* 1) Draw only the default background
* 2) Draw the images that are supposed to be below both the background and text. This happens in the graphics shader
* 3) Draw the background of cells that don't have the default background
* 2) Draw the images that are supposed to be below both the background and text, if any. This happens in the graphics shader
* 3) Draw the background of cells that don't have the default background if any images were drawn in 2 above
4) Draw the images that are supposed to be below text but not background, again in graphics shader.
* 5) Draw the special cells (selection/cursor). Output is same as from step 1, with bg_alpha 1 for special cells and 0 otherwise
* 6) Draw the foreground -- expected output is color with alpha which is blended using the opaque blend func