Announcement

Collapse
No announcement yet.

GLAMOR Starts Getting Improved For X.Org Server 1.18

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GLAMOR Starts Getting Improved For X.Org Server 1.18

    Phoronix: GLAMOR Starts Getting Improved For X.Org Server 1.18

    Eric Anholt has called on the first pull request for the X.Org Server 1.18 merge window to improve the GLAMOR 2D acceleration code...

    http://www.phoronix.com/scan.php?pag...rver-1.18-Pull

  • #2
    Glamor on Wayland?

    Will Glamor work on Wayland?

    Comment


    • #3
      Originally posted by uid313 View Post
      Will Glamor work on Wayland?
      AFAIR it's used as a generic driver in XWayland.

      Comment


      • #4
        Originally posted by uid313 View Post
        Will Glamor work on Wayland?
        On XWayland I imagine so.... since it is for accelerating X rendering.

        Comment


        • #5
          Originally posted by uid313 View Post
          Will Glamor work on Wayland?
          AFAIK Wayland won't have any 2d rendering, so no.
          On the other side IIRC XWayland won't work without GLAMOR, so yes.

          Comment


          • #6
            Originally posted by uid313 View Post
            Will Glamor work on Wayland?
            Glamor is an implementation of the XRender API, which obviously only exists in X.

            Last I heard, they were recommending Wayland apps just use Cairo or other 2D drawing libraries, which would probably break down into OpenGL calls for GPU acceleration support.

            Though as the others have mentioned, it is used in XWayland to provide the compatibility support for old X apps.
            Last edited by smitty3268; 25 March 2015, 09:23 PM.

            Comment


            • #7
              Cool, last Keith's bits came in

              Comment


              • #8
                Wonder what acceleration apis can be written with vulkan/d3d12...

                Comment


                • #9
                  Originally posted by liam View Post
                  Wonder what acceleration apis can be written with vulkan/d3d12...
                  That's a fair question.
                  Would a VKAMOR offer better performance?

                  Comment


                  • #10
                    Originally posted by geearf View Post
                    That's a fair question.
                    Would a VKAMOR offer better performance?
                    It would certainly be better, as you could get rid of some of the API overhead that Glamor has to be smart to work around right now.

                    It would also likely be much harder to read the code, however - i suspect that at the very least, glamor will continue to use standard GLSL to generate shaders on the fly rather than changing directly to a binary format like SPIR-V, just to allow easier debugging and development on what is, now, a legacy API that new apps shouldn't be using anymore.

                    A better question is probably whether Cairo, Qt, etc. can get performance boosts by including new Vulkan backends.

                    Comment

                    Working...
                    X