Bug 1210 - Use manual impl. XRenderFindVisualFormat instead of buggy generated version
Summary: Use manual impl. XRenderFindVisualFormat instead of buggy generated version
Status: RESOLVED FIXED
Alias: None
Product: Nativewindow
Classification: JogAmp
Component: x11 (show other bugs)
Version: 2.3.2
Hardware: All all
: --- major
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2015-08-31 08:28 CEST by Sven Gothel
Modified: 2015-09-27 01:26 CEST (History)
0 users

See Also:
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