Direct video

From Agar

Jump to: navigation, search

Direct Video (or Framebuffer) mode is the traditional graphics interface which represents a video frame as an array of pixels, or color values.

Agar uses the SDL library to establish a graphics display in framebuffer mode. Further writing to the display is accomplished by direct manipulation of pixel values, as dictated by the current pixel packing mode (i.e., RGB, RGBA, BGR) and color depth (i.e., 16bpp, 32bpp).

This section was marked as being a stub. You are welcome to help expand it.

Personal tools