by admin

Pre-defined Compiler Macros

September 20, 2014 in C, C++, Programming, Source Code, Tips & Tricks by admin

c++C and C++ compilers automatically define certain macros that can be used to check for compiler or operating system features. This is useful when writing portable software.

This link goes to a wiki page where subpages pages  list various pre-defined compiler macros that can be used to identify standards, compilers, operating systems, hardware architectures, and even basic run-time libraries at compile-time.


Nice OpenGL reference docs page

September 19, 2014 in OpenGL by Adrian Marius

openglReally nice presentation of OpenGL reference docs: Plus you can submit corrections with GitHub!


News via Brandon Jones 

A trip through the Graphics Pipeline : Index

September 11, 2014 in gpu, OpenGL, Tutorial by Adrian Marius

This series is intended for graphics programmers that know a modern 3D API (at least OpenGL 2.0+ or D3D9+) well and want to know how it all looks under the hood. It’s not a description of the graphics pipeline for novices; if you haven’t used a 3D API, most if not all of this will be completely useless to you. I’m also assuming a working understanding of contemporary hardware design – you should at the very least know what registers, FIFOs, caches and pipelines are, and understand how they work. Finally, you need a working understanding of at least basic parallel programming mechanisms. A GPU is a massively parallel computer, there’s no way around it.


Series created by Fabian “ryg” Giesen

Skip to toolbar