Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2017-04-03 20:32:05 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-04-03 22:52:42 +0300
commit4a8aaab0b2ab84455450fcdd1e39e190862b0bb6 (patch)
tree8980b25eae7e18bcae6931d08a2848e7c0de1661 /source/blender/draw/modes
parentccd8353d58d769d435822e7dac25d8fdf317d6df (diff)
Draw Manager: Use engine type pointer instead of engine name.
Faster search
Diffstat (limited to 'source/blender/draw/modes')
-rw-r--r--source/blender/draw/modes/edit_armature_mode.c2
-rw-r--r--source/blender/draw/modes/edit_curve_mode.c2
-rw-r--r--source/blender/draw/modes/edit_lattice_mode.c2
-rw-r--r--source/blender/draw/modes/edit_mesh_mode.c2
-rw-r--r--source/blender/draw/modes/edit_metaball_mode.c2
-rw-r--r--source/blender/draw/modes/edit_surface_mode.c2
-rw-r--r--source/blender/draw/modes/edit_text_mode.c2
-rw-r--r--source/blender/draw/modes/object_mode.c2
-rw-r--r--source/blender/draw/modes/paint_texture_mode.c2
-rw-r--r--source/blender/draw/modes/paint_vertex_mode.c2
-rw-r--r--source/blender/draw/modes/paint_weight_mode.c2
-rw-r--r--source/blender/draw/modes/particle_mode.c2
-rw-r--r--source/blender/draw/modes/pose_mode.c2
-rw-r--r--source/blender/draw/modes/sculpt_mode.c2
14 files changed, 14 insertions, 14 deletions
diff --git a/source/blender/draw/modes/edit_armature_mode.c b/source/blender/draw/modes/edit_armature_mode.c
index 5361bd1c89f..6111b9b160b 100644
--- a/source/blender/draw/modes/edit_armature_mode.c
+++ b/source/blender/draw/modes/edit_armature_mode.c
@@ -48,7 +48,7 @@ typedef struct EDIT_ARMATURE_StorageList {
} EDIT_ARMATURE_StorageList;
typedef struct EDIT_ARMATURE_Data {
- char engine_name[32];
+ void *engine_type;
void *fbl;
void *txl;
EDIT_ARMATURE_PassList *psl;
diff --git a/source/blender/draw/modes/edit_curve_mode.c b/source/blender/draw/modes/edit_curve_mode.c
index f8010fbd570..d70db64d946 100644
--- a/source/blender/draw/modes/edit_curve_mode.c
+++ b/source/blender/draw/modes/edit_curve_mode.c
@@ -83,7 +83,7 @@ typedef struct EDIT_CURVE_Data {
/* Struct returned by DRW_viewport_engine_data_get.
* If you don't use one of these, just make it a (void *) */
// void *fbl;
- char engine_name[32]; /* Required */
+ void *engine_type; /* Required */
EDIT_CURVE_FramebufferList *fbl;
EDIT_CURVE_TextureList *txl;
EDIT_CURVE_PassList *psl;
diff --git a/source/blender/draw/modes/edit_lattice_mode.c b/source/blender/draw/modes/edit_lattice_mode.c
index 27ea05650cb..79d43c73378 100644
--- a/source/blender/draw/modes/edit_lattice_mode.c
+++ b/source/blender/draw/modes/edit_lattice_mode.c
@@ -83,7 +83,7 @@ typedef struct EDIT_LATTICE_Data {
/* Struct returned by DRW_viewport_engine_data_get.
* If you don't use one of these, just make it a (void *) */
// void *fbl;
- char engine_name[32]; /* Required */
+ void *engine_type; /* Required */
EDIT_LATTICE_FramebufferList *fbl;
EDIT_LATTICE_TextureList *txl;
EDIT_LATTICE_PassList *psl;
diff --git a/source/blender/draw/modes/edit_mesh_mode.c b/source/blender/draw/modes/edit_mesh_mode.c
index 713ae607ef4..2991d212efa 100644
--- a/source/blender/draw/modes/edit_mesh_mode.c
+++ b/source/blender/draw/modes/edit_mesh_mode.c
@@ -81,7 +81,7 @@ typedef struct EDIT_MESH_StorageList {
} EDIT_MESH_StorageList;
typedef struct EDIT_MESH_Data {
- char engine_name[32];
+ void *engine_type;
EDIT_MESH_FramebufferList *fbl;
EDIT_MESH_TextureList *txl;
EDIT_MESH_PassList *psl;
diff --git a/source/blender/draw/modes/edit_metaball_mode.c b/source/blender/draw/modes/edit_metaball_mode.c
index f993537369f..098dca7ac38 100644
--- a/source/blender/draw/modes/edit_metaball_mode.c
+++ b/source/blender/draw/modes/edit_metaball_mode.c
@@ -83,7 +83,7 @@ typedef struct EDIT_METABALL_Data {
/* Struct returned by DRW_viewport_engine_data_get.
* If you don't use one of these, just make it a (void *) */
// void *fbl;
- char engine_name[32]; /* Required */
+ void *engine_type; /* Required */
EDIT_METABALL_FramebufferList *fbl;
EDIT_METABALL_TextureList *txl;
EDIT_METABALL_PassList *psl;
diff --git a/source/blender/draw/modes/edit_surface_mode.c b/source/blender/draw/modes/edit_surface_mode.c
index 6cfe0f1344b..fcae505a673 100644
--- a/source/blender/draw/modes/edit_surface_mode.c
+++ b/source/blender/draw/modes/edit_surface_mode.c
@@ -83,7 +83,7 @@ typedef struct EDIT_SURFACE_Data {
/* Struct returned by DRW_viewport_engine_data_get.
* If you don't use one of these, just make it a (void *) */
// void *fbl;
- char engine_name[32]; /* Required */
+ void *engine_type; /* Required */
EDIT_SURFACE_FramebufferList *fbl;
EDIT_SURFACE_TextureList *txl;
EDIT_SURFACE_PassList *psl;
diff --git a/source/blender/draw/modes/edit_text_mode.c b/source/blender/draw/modes/edit_text_mode.c
index 4f48448f108..2a1b0d4e4ae 100644
--- a/source/blender/draw/modes/edit_text_mode.c
+++ b/source/blender/draw/modes/edit_text_mode.c
@@ -83,7 +83,7 @@ typedef struct EDIT_TEXT_Data {
/* Struct returned by DRW_viewport_engine_data_get.
* If you don't use one of these, just make it a (void *) */
// void *fbl;
- char engine_name[32]; /* Required */
+ void *engine_type; /* Required */
EDIT_TEXT_FramebufferList *fbl;
EDIT_TEXT_TextureList *txl;
EDIT_TEXT_PassList *psl;
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c
index 5920889a453..0656485f792 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -93,7 +93,7 @@ typedef struct OBJECT_StorageList {
} OBJECT_StorageList;
typedef struct OBJECT_Data {
- char engine_name[32];
+ void *engine_type;
void *fbl;
void *txl;
OBJECT_PassList *psl;
diff --git a/source/blender/draw/modes/paint_texture_mode.c b/source/blender/draw/modes/paint_texture_mode.c
index e6221c4efc3..9d620e0ce25 100644
--- a/source/blender/draw/modes/paint_texture_mode.c
+++ b/source/blender/draw/modes/paint_texture_mode.c
@@ -83,7 +83,7 @@ typedef struct PAINT_TEXTURE_Data {
/* Struct returned by DRW_viewport_engine_data_get.
* If you don't use one of these, just make it a (void *) */
// void *fbl;
- char engine_name[32]; /* Required */
+ void *engine_type; /* Required */
PAINT_TEXTURE_FramebufferList *fbl;
PAINT_TEXTURE_TextureList *txl;
PAINT_TEXTURE_PassList *psl;
diff --git a/source/blender/draw/modes/paint_vertex_mode.c b/source/blender/draw/modes/paint_vertex_mode.c
index 15c08a7d415..b3b32a4d6e9 100644
--- a/source/blender/draw/modes/paint_vertex_mode.c
+++ b/source/blender/draw/modes/paint_vertex_mode.c
@@ -83,7 +83,7 @@ typedef struct PAINT_VERTEX_Data {
/* Struct returned by DRW_viewport_engine_data_get.
* If you don't use one of these, just make it a (void *) */
// void *fbl;
- char engine_name[32]; /* Required */
+ void *engine_type; /* Required */
PAINT_VERTEX_FramebufferList *fbl;
PAINT_VERTEX_TextureList *txl;
PAINT_VERTEX_PassList *psl;
diff --git a/source/blender/draw/modes/paint_weight_mode.c b/source/blender/draw/modes/paint_weight_mode.c
index 3063e685149..2d189e07fd2 100644
--- a/source/blender/draw/modes/paint_weight_mode.c
+++ b/source/blender/draw/modes/paint_weight_mode.c
@@ -83,7 +83,7 @@ typedef struct PAINT_WEIGHT_Data {
/* Struct returned by DRW_viewport_engine_data_get.
* If you don't use one of these, just make it a (void *) */
// void *fbl;
- char engine_name[32]; /* Required */
+ void *engine_type; /* Required */
PAINT_WEIGHT_FramebufferList *fbl;
PAINT_WEIGHT_TextureList *txl;
PAINT_WEIGHT_PassList *psl;
diff --git a/source/blender/draw/modes/particle_mode.c b/source/blender/draw/modes/particle_mode.c
index 84426b28752..aab9c41a233 100644
--- a/source/blender/draw/modes/particle_mode.c
+++ b/source/blender/draw/modes/particle_mode.c
@@ -77,7 +77,7 @@ typedef struct PARTICLE_Data {
/* Struct returned by DRW_viewport_engine_data_get.
* If you don't use one of these, just make it a (void *) */
// void *fbl;
- char engine_name[32]; /* Required */
+ void *engine_type; /* Required */
PARTICLE_FramebufferList *fbl;
PARTICLE_TextureList *txl;
PARTICLE_PassList *psl;
diff --git a/source/blender/draw/modes/pose_mode.c b/source/blender/draw/modes/pose_mode.c
index 0c880130cfc..93514701010 100644
--- a/source/blender/draw/modes/pose_mode.c
+++ b/source/blender/draw/modes/pose_mode.c
@@ -77,7 +77,7 @@ typedef struct POSE_Data {
/* Struct returned by DRW_viewport_engine_data_get.
* If you don't use one of these, just make it a (void *) */
// void *fbl;
- char engine_name[32]; /* Required */
+ void *engine_type; /* Required */
POSE_FramebufferList *fbl;
POSE_TextureList *txl;
POSE_PassList *psl;
diff --git a/source/blender/draw/modes/sculpt_mode.c b/source/blender/draw/modes/sculpt_mode.c
index 4ed03668796..4b500c4d6fd 100644
--- a/source/blender/draw/modes/sculpt_mode.c
+++ b/source/blender/draw/modes/sculpt_mode.c
@@ -77,7 +77,7 @@ typedef struct SCULPT_Data {
/* Struct returned by DRW_viewport_engine_data_get.
* If you don't use one of these, just make it a (void *) */
// void *fbl;
- char engine_name[32]; /* Required */
+ void *engine_type; /* Required */
SCULPT_FramebufferList *fbl;
SCULPT_TextureList *txl;
SCULPT_PassList *psl;