-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hi, thank for your great work.
I doing some experiments on using webrender as a renderer for our ui framework and have faced with couple of problems.
I have simple example, that runs on mac os with metal backend. On every frame it sends display list with two rectangles. The problem with this is constant grow of used memory, according to profile on every frame render_impl allocates memory that will never be freed.
Second problem is about jni and shader recompilation. When I do same thing like in first example but throw jni most calls of submit_to_gpu return false (particularly error is OutOfDate, but according to this comment I'm not sure, that it's relevant) which leads to swapchain recreation and shader recompilation. Shader recompilation took time and also lead to huge memory leak.
I use macos 10.14.5 with Intel Iris Pro 1536 MB
I will be very grateful if you give me some thoughts about this examples