News for hackers. Stuff that matters.
Re:Xray – An experimental next-generation Electron-based tex... by codedokode on Monday March 05, 2018 @10:26PM (#16526650)
Is it really so? Can OpenGL update only a small part of a framebuffer (for example, when a single letter is typed) or will it rerender the whole text?
Re:Xray – An experimental next-generation Electron-based tex... by zaarn on Tuesday March 06, 2018 @03:20AM (#16527617)
Depends on how you render.

I've written a OpenGL engine for a university course that use partial frame updates to reduce the number of redraws per frame.

IIRC the partial rerender variant was about 3 times faster than the full render.

Re:Xray – An experimental next-generation Electron-based tex... by bitcoinboi9 on Tuesday March 06, 2018 @03:20AM (#16527618)
If done in a smart way, of course you can. Similar thing with canvas. If letter/word spacing depends on that character, then you'd probably need to rerender more stuff.