From 323aedb81e8f606cfb1357053891e989ff393099 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 30 Apr 2012 16:19:12 +0000 Subject: 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). --- source/blender/makesdna/DNA_space_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna') 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 */ -- cgit v1.2.3