Clone of mesa.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

glfbdev-driver.html 1.5KB

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