Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
Loading...
Searching...
No Matches
postprocess_cleanup.c File Reference
#include "effects/fx_auto_exposure.h"
#include "effects/fx_bloom.h"
#include "effects/fx_dof.h"
#include "effects/fx_lut3d.h"
#include "effects/fx_lut_viz.h"
#include "effects/fx_motion_blur.h"
#include "gl_common.h"
#include "log.h"
#include "postprocess.h"
#include "postprocess_internal.h"
#include "render_utils.h"
#include "shader.h"
#include <stddef.h>
Include dependency graph for postprocess_cleanup.c:

Functions

void pp_destroy_framebuffer (PostProcess *post_processing)
 
void pp_destroy_screen_quad (PostProcess *post_processing)
 
void pp_destroy_readback_buffers (PostProcess *post_processing)
 
void pp_destroy_cached_shaders (PostProcess *post_processing)
 
void postprocess_cleanup (PostProcess *post_processing)
 

Function Documentation

◆ postprocess_cleanup()

void postprocess_cleanup ( PostProcess *  post_processing)
Here is the call graph for this function:

◆ pp_destroy_cached_shaders()

void pp_destroy_cached_shaders ( PostProcess *  post_processing)

Destroy all cached shader variants.

◆ pp_destroy_framebuffer()

void pp_destroy_framebuffer ( PostProcess *  post_processing)

Destroy the main scene FBO and its attachments.

Here is the call graph for this function:

◆ pp_destroy_readback_buffers()

void pp_destroy_readback_buffers ( PostProcess *  post_processing)

Destroy PBO readback buffers and sync objects.

◆ pp_destroy_screen_quad()

void pp_destroy_screen_quad ( PostProcess *  post_processing)

Destroy the fullscreen quad VAO/VBO.