gstreamer/gst-libs
Mart Raudsepp 8ffea3afb5 gl/eagl: Fix resize condition check in draw_cb to not get called unnecessarily
A CGSize contains CGFloat values (a typedef to double or float), which means
that the values aren't equal, despite it being equal after they are cast to
int by assigning them to window_height/width private members. This leads to
excessive gst_gl_window_resize calls on each frame, at least if the CGFloat
value has a .5 decimal value, e.g. 103.5.
Fix it by storing them as CGFloat instead of gint.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/945>
2020-12-03 08:18:29 +00:00
..
gst gl/eagl: Fix resize condition check in draw_cb to not get called unnecessarily 2020-12-03 08:18:29 +00:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:09:51 +01:00