Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

glfbdev-driver.html 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <HTML>
  2. <TITLE>Mesa glFBDev Driver</TITLE>
  3. <link rel="stylesheet" type="text/css" href="mesa.css"></head>
  4. <BODY>
  5. <center><H1>Mesa glFBDev Driver</H1></center>
  6. <H1>1. Introduction</H1>
  7. <p>
  8. The GLFBDev driver interface allows one to do OpenGL rendering into a
  9. framebuffer managed with the Linux's fbdev interface.
  10. </p>
  11. <p>
  12. Basically, the programmer uses the fbdev functions to initialize the
  13. graphics hardware and setup the framebuffer.
  14. Then, using a calls to Mesa's glFBDev API functions, one can render
  15. into the framebuffer with the OpenGL API functions.
  16. </p>
  17. <p>
  18. Note, only software rendering is supported; there is no hardware
  19. acceleration.
  20. </p>
  21. <p>
  22. The GL/glfbdev.h header file defines the glFBDev interface.
  23. </p>
  24. <p>
  25. The progs/fbdev/glfbdevtest.c demonstrates how to use the glFBDev interface.
  26. </p>
  27. <p>
  28. For more information about fbdev, see the
  29. <a href="http://www.tldp.org/HOWTO/Framebuffer-HOWTO.html" target="_parent">
  30. Framebuffer Howto</a>
  31. </p>
  32. <h1>2. Compilation</h1>
  33. <p>
  34. To compile Mesa with support for the glFBDev interface:
  35. <pre>
  36. XXX todo
  37. </pre>
  38. <p>
  39. When compilation is finished look in progs/glfbdev/ for the glfbdevtest demo.
  40. </p>
  41. </p>
  42. xxx todo
  43. </p>
  44. <h1>3. Compiling and linking glFBDev programs</h1>
  45. <p>
  46. xxx todo
  47. </p>
  48. <h1>4. Running glFBDev programs</h1>
  49. <p>
  50. First, you need to have a working fbdev environment.
  51. See the
  52. <a href="http://www.tldp.org/HOWTO/Framebuffer-HOWTO.html" target="_parent">
  53. Framebuffer Howto</a> for information.
  54. </p>
  55. <p>
  56. Programs must be run with root permission.
  57. </p>
  58. </p>
  59. </body>
  60. </html>