glframebuffer: Don't do expensive checks with low gst debug levels
authorNirbheek Chauhan <nirbheek@centricular.com>
Thu, 28 Feb 2019 09:31:40 +0000 (15:01 +0530)
committerMatthew Waters <matthew@centricular.com>
Tue, 12 Mar 2019 03:21:57 +0000 (03:21 +0000)
commit21bc1040d4d934b5efc3f8cf7a47203fa6cefe71
treecb3105240083082384239c86b332a06773c54685
parentc71dd72b21ab206da2fc2efb1513fd1bb02922a6
glframebuffer: Don't do expensive checks with low gst debug levels

Framebuffer checks can be very expensive, taking up to 3-5% of the
total CPU consumed by the application.
gst-libs/gst/gl/gstglcontext.c
gst-libs/gst/gl/gstglcontext_private.h
gst-libs/gst/gl/gstgldebug.c
gst-libs/gst/gl/gstglframebuffer.c