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?
This commit is contained in:
2017-03-16 23:32:35 -04:00
parent b4e8dc8c82
commit 4452bea2f1
27 changed files with 49 additions and 25 deletions

View File

@@ -30,8 +30,13 @@
#pragma once
#include "gawain/immediate.h"
#include "gawain/imm_util.h"
#include "../../../intern/gawain/gawain/immediate.h"
#include "../../../intern/gawain/gawain/imm_util.h"
// TODO: CMake magic to do this:
// #include "gawain/immediate.h"
// #include "gawain/imm_util.h"
#include "GPU_shader.h"
/* Extend immBindProgram to use Blenders library of built-in shader programs.