Re: How can we gracefully handle Cogl and GL out of memory conditions?
- From: Reza Ghassemi <reza robin1 gmail com>
- To: clutter-list gnome org
- Subject: Re: How can we gracefully handle Cogl and GL out of memory conditions?
- Date: Fri, 11 Oct 2013 16:00:15 -0700
Sorry, somehow sent this before I was done.
To conclude:
The output below shows Clutter warning when the texture for the 2nd offscreen effect (blur) on an actor tree could not be allocated. The first effect (desaturate) did get allocated and applied and displayed properly. However when an animated page turn effect on a stack of 5 actors was attempted the GL out of memory errors occurred and parts or the entire screen went black.
Question: Any recommendations how to deal with this? Is this a bug in cogl or clutter? Is this expected? We want to just not do the effect if memory is going to run out and avoid the black screen. Should we do some memory queries and keep track of how much we might need and catch potential problems in application code?
Upgrading to 1.16 is going to take some effect do to dependency changes and deprecated function use so we'd like to avoid that if possible.
Thanks again.
Reza
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]