opengl: rename "prepare_shader" callback to "load"
commit0b18d8bda35f38d54d7a8d9b864bbcbe2a1bde6f
authorRomain Vimont <rom1v@videolabs.io>
Thu, 4 Jun 2020 09:52:15 +0000 (4 11:52 +0200)
committerAlexandre Janniaux <ajanni@videolabs.io>
Mon, 15 Jun 2020 14:33:06 +0000 (15 16:33 +0200)
tree6bfbd1dbc050addf9c688c17a649febf1cf432c4
parentcd36d84418416aa2453d2675a854c8a04feb969e
opengl: rename "prepare_shader" callback to "load"

The purpose of this callback is to load sampler data (bind textures,
load uniforms, etc.) to be used for the OpenGL draw call.

In addition, the name "load" also allows to possibly add an "unload"
function later (to reset bindings).

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
modules/video_output/opengl/renderer.c
modules/video_output/opengl/sampler.c
modules/video_output/opengl/sampler.h