TODO

From ClanLib Game SDK

Contents

Linux

Docs

Core

 CL_IODevice_Memory iodevice_memory(buffer);
 CL_DomDocument doc;
 doc.load(iodevice_memory);

Display

Friends

GUI Editor

Texture Packer

SWRender

Sound

GUI

D3D9

  1. Create a hidden window and create a Direct3DDevice9 for it
  2. Create all textures on this device
  3. For each CL_DisplayWindow, it creates an additional swap chain
  4. The CL_GraphicContext for each window shares the same Direct3DDevice, and thus shares states (oh no, now we are f**ked)
  5. When you call flip() or update() on the display window, it calls Present on the swap chain
  6. When you resize the window, it destroys the swap chain and creates a new one
  7. If we had fullscreen support, it would destroy the swap chain and create a fullscreen one
  8. If the fullscreen window loses focus, we have to manually destroy the fullscreen swap chain and hide