Yes indeed my aim is to do some mixing it.
So game voxels are linked to textures where to draw, these textures marked with dirtyflags and represented the rectangles on screen.
But the gui i thing gets its own container to draw (or simply explained as rectangle which is dynamically sized by the window size) so we dont need to redraw every pixel beyond the gui windows when a window is closed or moved, only updating the dirty textures. When the window is reopened or moved we dont need to rebuild it, cause its in the texture memoy alive and only change the point on screen.
Also top and bottom bar should be exclude from these game rectangles and only be updated when is needed.
But for now the drawing or pixelcopying for gui-containers are very slow, so i have to rethink about drawing guis on screen or textures.