Hello, I have advanced in the construction of the gui, but I am at a crossroads The window server must be the one who requests the shared memory from the kernel and then deliver it to the client for that it can render its own components ?. What happens when you resize the window, destroying this old memory area and creating a new one is a bit slow, in terms of shared memory ?. It is possible that the size of the current screen resolution is requested and thus avoid having to change the size? it consumes a little more shared memory.
For now I have managed to create the windows, maximize them, minimize them, move them, resize them, all this without using the shared memory, just doing the memory request on the heap (delete and new), and it works fine, but when I do it with shared memory is where the problem is.
Does anybody have any suggestions?
|