Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Smooth/think line rasterization in 3.2 core profile

  1. #11
    Newbie Newbie
    Join Date
    Jan 2014
    Posts
    2
    Quote Originally Posted by malexander View Post
    Again, wide lines are deprecated but not removed in the Core GL contexts. The GL ARB specifically mentions this in the GL 3.1 spec (Appendix G). Since the ARB went to the trouble of specifically singling out wide lines to be kept in the core profile, I somewhat doubt they'll be removed, especially since they seem to have stopped deprecating and removing features. You can use this on OSX and all other core GL implementations, unless you're adverse to using a deprecated feature.
    Wide lines are not supported in OS X core profile contexts.
    https://developer.apple.com/graphics.../capabilities/

  2. #12
    Member Regular Contributor malexander's Avatar
    Join Date
    Aug 2009
    Location
    Ontario
    Posts
    320
    That's a good point, you do have to check the GL_LINE_WIDTH_RANGE (or GL_SMOOTH_LINE_WIDTH_RANGE, if you are using smooth lines). Both AMD and Nvidia drivers on Linux and Windows support the same aliased line ranges in the core profile as they do in the compatibility (AMD: 1 63, Nvidia: 0.5, 10). Intel graphics has a range of 1,1 (no line widths other than 1 are supported). Apple isn't known for supporting deprecated features, so they apparently set it to 1,1 as well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •