tsoding / boomer

Zoomer application for Linux
MIT License
464 stars 42 forks source link

Rewrite rendering and navigation pipeline to support shaders. #40

Closed SolitudeSF closed 5 years ago

SolitudeSF commented 5 years ago

This should allow implementation of #27

Complete rewrite of rendering pipeline which allows using shaders. Rewritten navigation pipeline according to new transformations. Switched to glm for vector/matrix handling.

I tried to replicate motion handling as close as possible, but it may behave not exactly the same way as before.

Renamed display proc to draw, since display comes up too often as X display.

Removed seemingly redundant checkError.

Added new configuration option - scalePanning, which controls the panning speed while zooming. This part is a bit wonky. I couldn't understand old zoom panning logic, but i tried to make as close of a replica as possible.

rexim commented 5 years ago

@SolitudeSF thank you so much for the contribution! Looks good to me! :+1: