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:
authorMatt Ebb <matt@mke3.net>2010-04-09 04:44:35 +0400
committerMatt Ebb <matt@mke3.net>2010-04-09 04:44:35 +0400
commit77833847eee49b1810d650d3c94ebfbdb96602be (patch)
treeb5407f3b6a4803add77544d94f50c484cc69d40e /source/blender/makesdna/DNA_color_types.h
parentc1a9d4d7a35e59428bc51e2b4c45e19a3a9758ec (diff)
Patch from Xavier Thomas: Use vertex arrays for drawing image editor vector scope
too, making it a lot more efficient. Also fixed issue with scopes height not being stored in file properly.
Diffstat (limited to 'source/blender/makesdna/DNA_color_types.h')
-rw-r--r--source/blender/makesdna/DNA_color_types.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_color_types.h b/source/blender/makesdna/DNA_color_types.h
index dd31c349615..2881ec127c8 100644
--- a/source/blender/makesdna/DNA_color_types.h
+++ b/source/blender/makesdna/DNA_color_types.h
@@ -122,14 +122,12 @@ typedef struct Scopes {
int wavefrm_height;
float vecscope_alpha;
int vecscope_height;
- float rgbminmax[3][2];
- float yccminmax[3][2];
- float ycc709minmax[3][2];
- struct ImBuf *samples_ibuf;
+ float minmax[3][2];
struct Histogram hist;
float *waveform_1;
float *waveform_2;
float *waveform_3;
+ float *vecscope;
int waveform_tot;
int pad;
} Scopes;