Split up kwingl/utils header and source pair
The effect/lib/kwingl/utils.h
and utils.cpp
files are rather large and contain a lot of different functionality. We may split them up into several files:
- utils.h/cpp with free functions
- shader.h/cpp with
GLShader
,ShaderManager
,ShaderBinder
classes - render_target.h/cpp with
GLRenderTarget
class - vertex_buffer.h/cpp with
GLVertexBuffer
class
Additionally the utils_funcs.h/cpp files could be merged into the remaining utils.h/cpp files.
Backwards compatibility must be ensured via the legacy kwinglutils.h and kwinglutils_funcs.h headers that are not used internally but installed for external effects.