Home Links About

Dev log: Creating a browser part 4

I have text that does not change scale with the window:

It turned out that in my old OpenGL crate, I had a projection set for the text. Adjusting this worked as expected.

However, as you can see in the GIF there is a horrible flicker when resizing the window. I will try to fix this next, since a browser with such flickering is unusable. I believe it has something todo with X11 and the damage extension, but this is hard to tell at the moment.

The best thing would be if I could render into some kind of buffer, where the X11 window just shows a part of the buffer. This would also mean that the OpenGL pipeline would only need to run when the website changes.

(A link to part 5 will be placed here)