Blender Git Commit Log

Git Commits -> Revision 1dd7377

Revision 1dd7377 by Clément Foucault (master)
August 7, 2020, 23:16 (GMT)
GPUBackend: Add new GPUBackend object to manage GL object allocations

This just set a global object responsible for allocating new objects
in a thread safe way without needing any GPUContext bound to this
thread.

This also introduce the GLContext which will contain all the GL related
functions for the current context.

Commit Details:

Full Hash: 1dd737759639c63d3279be774202585de778dac5
Parent Commit: 0ccf3f8
Lines Changed: +286, -48

4 Added Paths:

/source/blender/gpu/intern/gpu_backend.hh (+37, -0) (View)
/source/blender/gpu/opengl/gl_backend.hh (+36, -0) (View)
/source/blender/gpu/opengl/gl_context.cc (+53, -0) (View)
/source/blender/gpu/opengl/gl_context.hh (+50, -0) (View)

5 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+8, -0) (Diff)
/source/blender/gpu/GPU_context.h (+8, -0) (Diff)
/source/blender/gpu/intern/gpu_context.cc (+49, -46) (Diff)
/source/blender/gpu/intern/gpu_context_private.h (+42, -2) (Diff)
/source/blender/gpu/intern/gpu_init_exit.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021