Blender Git Loki
Git Commits -> Revision 4452bea
Revision 4452bea by Mike Erwin (master) March 17, 2017, 03:32 (GMT) |
move Gawain library to intern Before now it lived in source/blender/gpu for convenience. Only a few files in the gpu module use Gawain directly. Tested on Mac, time to push and test on Windows. Todo: some CMake magic to make it easy to #include "gawain/some_header.h" from any C or H file. Main problem here is the many editors that include GPU_immediate.h which includes Gawain's immediate.h -- is there a way to avoid changing every editor's CMakeLists? |
Commit Details:
Full Hash: 4452bea2f170ec7fe48c223c8c499f1eb9b5356c
Parent Commit: b4e8dc8
Lines Changed: +3091, -3067
22 Added Paths:
/intern/gawain/CMakeLists.txt (+34, -0) (View)
/intern/gawain/gawain/attrib_binding.h (+24, -0) (View)
/intern/gawain/gawain/batch.h (+110, -0) (View)
/intern/gawain/gawain/buffer_id.h (+34, -0) (View)
/intern/gawain/gawain/common.h (+40, -0) (View)
/intern/gawain/gawain/element.h (+64, -0) (View)
/intern/gawain/gawain/immediate.h (+112, -0) (View)
/intern/gawain/gawain/imm_util.h (+18, -0) (View)
/intern/gawain/gawain/primitive.h (+43, -0) (View)
/intern/gawain/gawain/shader_interface.h (+49, -0) (View)
/intern/gawain/gawain/vertex_buffer.h (+64, -0) (View)
/intern/gawain/gawain/vertex_format.h (+87, -0) (View)
/intern/gawain/src/attrib_binding.c (+69, -0) (View)
/intern/gawain/src/batch.c (+405, -0) (View)
/intern/gawain/src/buffer_id.cpp (+115, -0) (View)
/intern/gawain/src/element.c (+283, -0) (View)
/intern/gawain/src/immediate.c (+880, -0) (View)
/intern/gawain/src/imm_util.c (+46, -0) (View)
/intern/gawain/src/primitive.c (+41, -0) (View)
/intern/gawain/src/shader_interface.c (+140, -0) (View)
/intern/gawain/src/vertex_buffer.c (+170, -0) (View)
/intern/gawain/src/vertex_format.c (+248, -0) (View)
/intern/gawain/gawain/attrib_binding.h (+24, -0) (View)
/intern/gawain/gawain/batch.h (+110, -0) (View)
/intern/gawain/gawain/buffer_id.h (+34, -0) (View)
/intern/gawain/gawain/common.h (+40, -0) (View)
/intern/gawain/gawain/element.h (+64, -0) (View)
/intern/gawain/gawain/immediate.h (+112, -0) (View)
/intern/gawain/gawain/imm_util.h (+18, -0) (View)
/intern/gawain/gawain/primitive.h (+43, -0) (View)
/intern/gawain/gawain/shader_interface.h (+49, -0) (View)
/intern/gawain/gawain/vertex_buffer.h (+64, -0) (View)
/intern/gawain/gawain/vertex_format.h (+87, -0) (View)
/intern/gawain/src/attrib_binding.c (+69, -0) (View)
/intern/gawain/src/batch.c (+405, -0) (View)
/intern/gawain/src/buffer_id.cpp (+115, -0) (View)
/intern/gawain/src/element.c (+283, -0) (View)
/intern/gawain/src/immediate.c (+880, -0) (View)
/intern/gawain/src/imm_util.c (+46, -0) (View)
/intern/gawain/src/primitive.c (+41, -0) (View)
/intern/gawain/src/shader_interface.c (+140, -0) (View)
/intern/gawain/src/vertex_buffer.c (+170, -0) (View)
/intern/gawain/src/vertex_format.c (+248, -0) (View)
21 Deleted Paths:
/source/blender/gpu/gawain/attrib_binding.c (+0, -69)
/source/blender/gpu/gawain/attrib_binding.h (+0, -24)
/source/blender/gpu/gawain/batch.c (+0, -405)
/source/blender/gpu/gawain/batch.h (+0, -110)
/source/blender/gpu/gawain/buffer_id.cpp (+0, -115)
/source/blender/gpu/gawain/buffer_id.h (+0, -34)
/source/blender/gpu/gawain/common.h (+0, -40)
/source/blender/gpu/gawain/element.c (+0, -283)
/source/blender/gpu/gawain/element.h (+0, -64)
/source/blender/gpu/gawain/immediate.c (+0, -880)
/source/blender/gpu/gawain/immediate.h (+0, -112)
/source/blender/gpu/gawain/imm_util.c (+0, -46)
/source/blender/gpu/gawain/imm_util.h (+0, -18)
/source/blender/gpu/gawain/primitive.c (+0, -41)
/source/blender/gpu/gawain/primitive.h (+0, -43)
/source/blender/gpu/gawain/shader_interface.c (+0, -140)
/source/blender/gpu/gawain/shader_interface.h (+0, -49)
/source/blender/gpu/gawain/vertex_buffer.c (+0, -170)
/source/blender/gpu/gawain/vertex_buffer.h (+0, -64)
/source/blender/gpu/gawain/vertex_format.c (+0, -248)
/source/blender/gpu/gawain/vertex_format.h (+0, -87)
/source/blender/gpu/gawain/attrib_binding.h (+0, -24)
/source/blender/gpu/gawain/batch.c (+0, -405)
/source/blender/gpu/gawain/batch.h (+0, -110)
/source/blender/gpu/gawain/buffer_id.cpp (+0, -115)
/source/blender/gpu/gawain/buffer_id.h (+0, -34)
/source/blender/gpu/gawain/common.h (+0, -40)
/source/blender/gpu/gawain/element.c (+0, -283)
/source/blender/gpu/gawain/element.h (+0, -64)
/source/blender/gpu/gawain/immediate.c (+0, -880)
/source/blender/gpu/gawain/immediate.h (+0, -112)
/source/blender/gpu/gawain/imm_util.c (+0, -46)
/source/blender/gpu/gawain/imm_util.h (+0, -18)
/source/blender/gpu/gawain/primitive.c (+0, -41)
/source/blender/gpu/gawain/primitive.h (+0, -43)
/source/blender/gpu/gawain/shader_interface.c (+0, -140)
/source/blender/gpu/gawain/shader_interface.h (+0, -49)
/source/blender/gpu/gawain/vertex_buffer.c (+0, -170)
/source/blender/gpu/gawain/vertex_buffer.h (+0, -64)
/source/blender/gpu/gawain/vertex_format.c (+0, -248)
/source/blender/gpu/gawain/vertex_format.h (+0, -87)