title: Draw pixels in a linux window without OpenGL in C
body: <p>How can I draw pixels inside of a linux window manually with best performance?</p>
  <p>I don't want to write directly to the frame buffer, but I also don't want to use OpenGL or similar libraries / APIs that do everything for you.
  Is it possible to create an 2D array of colored pixels, and then print them inside of a window?</p>
  <p>Like this (but with more colors):</p>
  <pre><code>_________________
  | My App      -ox|
  _________________|
  |RRRRGGBBRRRGGBBB|
  |RRGGRGRGGRGRGGRR|
  |RRGGGGBBBBRRGGBB|
  |________________|
  </code></pre>