Bug 1210 - Use manual impl. XRenderFindVisualFormat instead of buggy generated version
: Use manual impl. XRenderFindVisualFormat instead of buggy generated version
Status: RESOLVED FIXED
: None
: Nativewindow
: JogAmp
: x11 (show other bugs)
: 2.3.2
: All all
: --- major
: Sven Gothel
:
:
:
 
Reported: 2015-08-31 08:28 CEST by Sven Gothel
Modified: 2015-09-27 01:26 CEST (History)
0 users

:
Type: ---
SCM Refs:
cf9e2f2cb8ead7efd7751dcbfaecb36ed06cf9d6
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2015-08-31 08:28:07 CEST
We have a manual impl. of XRenderFindVisualFormat
which shall be used instead of the erroneous generated one.
Comment 1 Sven Gothel 2015-08-31 08:42:08 CEST
cf9e2f2cb8ead7efd7751dcbfaecb36ed06cf9d6

    - XRenderDirectFormat XVisual2XRenderMask(..):
      - Move from JOGL's X11GLXGraphicsConfiguration -> Nativewindow X11GraphicsConfiguration
      - Always use manual impl. of XRenderFindVisualFormat
    
    Additionally:
    
    - Add X11GraphicsConfiguration.XVisualInfo2X11Capabilities(..)
      allowing to properly setup the resulting Capabilities instance
      as used in X11GraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(..)
    
    - XVisualInfo:
        - Add 'String toString()'
        - 'XVisualInfo create(XVisualInfo s)' uses source buffer size!
        - XGetVisualInfo: Use returned buffer-capacity/count for element-size
          and also bail out if count<=0