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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-04-30 20:19:12 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-04-30 20:19:12 +0400
commit323aedb81e8f606cfb1357053891e989ff393099 (patch)
tree1a499a859af45f363fa55effaa3293e9012dd69c /source/blender/makesdna
parent0dc49198227c82b91703a3f6bb4961a27fbdc167 (diff)
Camera tracking: use texture buffers (if supported) to display clip editor frames
Use texture buffers to display frames of footage in clip editor. This allows to apply bilinear filtering of proxied resolution which. This also resolves incredibly slow performance when drawing 4K footage on some videocards (was originally noticed on macbook pro). Also this allows to avoid sending the whole frame to the video memory when working with a single frame (i.e. before this patch the whole frame would be send to the videocard when panning frame).
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_space_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index 2356c1945b9..947bf483866 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -523,6 +523,8 @@ typedef struct SpaceClip {
int postproc_flag;
int runtime_flag; /* different runtime flags */
+
+ void *draw_context;
} SpaceClip;
/* view3d Now in DNA_view3d_types.h */