Bug 1210

Summary: Use manual impl. XRenderFindVisualFormat instead of buggy generated version
Product: [JogAmp] Nativewindow Reporter: Sven Gothel <sgothel>
Component: x11Assignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: major    
Priority: ---    
Version: 2.3.2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
cf9e2f2cb8ead7efd7751dcbfaecb36ed06cf9d6
Workaround: ---

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