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).
10 lines
385 B
Python
10 lines
385 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.c')
|
|
defs = []
|
|
incs = '../include ../../blenkernel ../../blenloader ../../blenfont ../../blenlib ../../imbuf ../../makesdna'
|
|
incs += ' ../../makesrna ../../windowmanager #/intern/guardedalloc #/extern/glew/include ../../gpu'
|
|
|
|
env.BlenderLib ( 'bf_editors_space_clip', sources, Split(incs), defs, libtype=['core'], priority=[95] )
|