diff options
author | wm4 <wm4@nowhere> | 2015-01-29 15:50:21 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-29 16:21:02 +0100 |
commit | 0bd147bd14e077389535234599b1c2b3b42cbf1c (patch) | |
tree | 787d689b195b07d7a00889d3f9c06eecedf39850 /video/filter | |
parent | 1e67ce74d8a72d5a02b6e770fe2f7ab734c32dab (diff) |
vo_opengl: some minor cleanups
default_tex_params() and texture_size() are each called only once, so
move inline/reimplement them at the caller.
image_dw/dh were unused. texture_w/h, image_format, and component_bits
were rarely used, and can be replaced. Regroup some other fields.
Rename surface_num to surface_idx, because the former sounded like a
count, and not an index. Move fbosurface_next() closer to its callers
too.
Move the DebugMessageCallback() code to gl_utils.c (also simplify it
by always setting the callback, instead of only when it changes).
Diffstat (limited to 'video/filter')
0 files changed, 0 insertions, 0 deletions