A quick note before we begin, whilst this article specifically describes a way of writing cleaner and safer Win32 GDI code in Python, these same techniques could be applied to any corresponding API which requires manual resource management. A task came up recently which required utilising some old Win32 GDI APIs for a legacy application …
Category Archives: Programming
Making OpenTK Matrix multiplications faster – An optimisation exercise in C#
Real-time graphics code is one of those areas of programming where you can never get enough performance. One such scenario was in an OpenGL application I’d been working on recently, where there was a lot of matrix multiplications going on in the inner core loop of the application. I’d been using the excellent OpenTK library …
Continue reading “Making OpenTK Matrix multiplications faster – An optimisation exercise in C#”