home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / graphics / opengl / 222 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  3.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!ames!sgi!fido!cashew.asd.sgi.com!kurt
  2. From: kurt@cashew.asd.sgi.com (Kurt Akeley)
  3. Newsgroups: comp.graphics.opengl
  4. Subject: Re: conformance question
  5. Date: 18 Dec 1992 17:15:57 GMT
  6. Organization: Silicon Graphics, Inc.
  7. Lines: 45
  8. Distribution: world
  9. Message-ID: <1gt10dINN42a@fido.asd.sgi.com>
  10. References: <1992Dec15.204500.14333@dsd.es.com> <1992Dec16.205020.2674@dsd.es.com> <1gqjdrINNi40@fido.asd.sgi.com> <1992Dec18.053755.10506@dsd.es.com>
  11. NNTP-Posting-Host: cashew.asd.sgi.com
  12.  
  13. -- 
  14.  
  15. In article <1992Dec18.053755.10506@dsd.es.com>, rthomson@mesa.dsd.es.com (Rich Thomson) writes:
  16.  
  17. |> You're missing my point; many applications just aren't useful to their
  18. |> users unless the rendering is fast.  In fact, many new applications
  19. |> have become possible simply by the advances in rendering speeds of
  20. |> modern graphics systems.  For those applications, it isn't a matter of
  21. |> detecting a visual with the given functionality, but it is a matter of
  22. |> finding the visual with the given performance.  OpenGL guarantees that
  23. |> a visual will exist which will have all the functionality, but it
  24. |> doesn't provide any way for an application to determine which visuals
  25. |> are implemented through hardware, software, or a combination of both.
  26. |> At least, if it does provide such a mechanism I haven't found it in
  27. |> the man pages or the spec.  I haven't read them exhaustively yet,
  28. |> though.
  29.  
  30. You're correct that OpenGL has no direct interface to report the performance
  31. of a given visual.  We haven't been able to come up with a language that
  32. is suitable for this purpose.  For example, the distinction of software vs.
  33. hardware is obviously flawed, as many respectably fast graphics systems do
  34. much of their work in software on the "host" processor.  Even if agreement
  35. for categorizing performance is achieved, what performance should be
  36. reported?  A renderer might run "fast" with either zbuffering or stenciling
  37. enabled, but not both.  OpenGL modes are almost entirely orthogonal, so
  38. the enumerated list of all mode combinations is near infinite.  
  39.  
  40. However, OpenGL also doesn't have a solids capping command, or even a
  41. stroked font command, yet it is very capable of capping solids and rendering
  42. stroked fonts using simple combinations of its low-level commands.  Likewise,
  43. applications that care can use the available OpenGL command set and the
  44. operating system clock to measure the performances of various visuals.
  45. The OpenGL command glGetString(GL_RENDERER) returns the unambiguous name of
  46. the renderer, so that an application can measure visual/renderer performance
  47. just once and catalog the results, rather than testing all visuals each time
  48. it is invoked.  (Taking care to distinguish between local and remote rendering,
  49. and in the case of remote rendering, at the risk of variability due to
  50. network loading.)
  51.  
  52. I believe that direct measurement is the only practical way to determine
  53. the performance of an application's specific command sequences.  I may be
  54. wrong, however.  The OpenGL ARB will remain open to suggestions for improved
  55. performance queries.
  56.  
  57. -- Kurt Akeley        kurt@sgi.com  (415) 390-3612  M/S 7U-550
  58.