add xaa-compat.h and a ton of shims for compat in privates.h#29
add xaa-compat.h and a ton of shims for compat in privates.h#29HaplessIdiot wants to merge 501 commits into
Conversation
input devices to Just Work.
…DX(). Tested on 3/60. Note AbortDevices() and DEVICE_ABORT in deviceProc functions were introduced after Xorg 1.14.0: https://gitlab.freedesktop.org/xorg/xserver/-/commit/9f79e93b6b3416055d08a0e8f9f16d5fd0649e36
- AbortDDX() is removed, make it static to avoid code churn since it is used by internal code now - LegalModifier() is gone - if the PRESENT extension isn't included, don't enable the -fakescreenfps option since it require PRESENT. fixes builds for sun3 and x68k.
https://gitlab.freedesktop.org/xorg/xserver/-/commit/a23eba2a91024d27da45e5aee1f4215f7ec2ae82 > These are so close to identical that most DDXes implement one in terms > of the other. All the relevant cases can be distinguished by the error > code, so merge the functions together to make things simpler.
https://gitlab.freedesktop.org/xorg/xserver/-/commit/d1c00c859c6676fbb540420c9055788bc19cb18f Note ScrnInfoRec structure in hw/xfree86/common/xf86str.h isn't reverted because it isn't used by -flipPixels option so that we can keep ABI compatibility among xf86-video-foo drivers. This -flipPixels is mandatory at least by Xorg server users with xf86-video-wsfb driver on NetBSD/mac68k and SE/30 mono screen that has "black=1 and white=0" VRAM. "go for it" by mrg@ on current-users@: https://mail-index.netbsd.org/current-users/2022/07/24/msg042731.html
https://gitlab.freedesktop.org/xorg/xserver/-/commit/75d70612888f18339703315549db781a22c0cb23 This is an additional fix against the previous revision that is avaiable in 21.1 branch: https://gitlab.freedesktop.org/xorg/xserver/-/commit/80eeff3ebac772e25c9107199989e677457dbe06 and may avoid a possible out of bounds access at least on dumb wsfb servers. ok'ed by mrg@ on current-users@: https://mail-index.netbsd.org/current-users/2022/07/24/msg042731.html
USE_SSP=yes builds don't work with this new xorg-server version, adjust the drmmode_set_gamma_lut() call to use malloc() instead of the stack, and pass down a higher level pointer to gain access to the screen index so error messages with xf86DrvMsg() work. tested on pinebookpro.
reduces diffs vs upstream.
- Sets up 8bpp shadow framebuffer with depth 4 - Bitplane conversion done in shadow update function - Adds new shadow update function shadowUpdateAfb4x8, which is a slightly modified version of existing shadowUpdateAfb4/8. Discussion on tech-x11: http://mail-index.netbsd.org/tech-x11/2024/02/29/msg002447.html
fixes PR 58321, tested by tsutsui@
some clean up upstream didn't get tested on alpha it seems, with both missing CARD8 etc identifiers as well as dead/duplicate code.
…f_transform scale_and_transform;
…ic-build Add options for static_loader build to meson
…an11111-pr-1773 present: Call driver check_flip after we finish with our checks
Restore XAA Includes and get us closer to a working build
…ersionfixesforxquartz Fix some XQuartz `X.org` hardcoding
|
|
||
| #ifndef _XTYPEDEF_POINTER | ||
| # define _XTYPEDEF_POINTER | ||
| # define _XTYPEDEF_POINTER 1 |
There was a problem hiding this comment.
yeah i agree thats extra im sure its in warnings too
| Bool | ||
| XIShouldNotify(ClientPtr client, DeviceIntPtr dev) | ||
| { | ||
| return TRUE; |
There was a problem hiding this comment.
If this is always true than this function is not needed in general
There was a problem hiding this comment.
yeah i didnt know a good way to stub it off it needs it copied there from a header to not bitch
|
|
||
| The build errors reveal deeper incompatibilities that cannot be solved with header shims alone: | ||
|
|
||
| 1. **glx/vndserver_priv.h** - This file contains corrupted/encrypted legacy XFree86 code that cannot be parsed by modern compilers. The user indicated they will handle this separately. |
There was a problem hiding this comment.
This is not good if you want the code to compile. I'd suggest fixing this code so it works with modern compilers.
There was a problem hiding this comment.
yeah i need a better source of this ancient file the vndserver_priv.h i used from netbsd is incomplete
|
|
||
| static Bool | ||
| dri3_close_screen(ScreenPtr screen) | ||
| dri3_close_screen(int index, ScreenPtr screen) |
There was a problem hiding this comment.
Are other functions updated for this change?
There was a problem hiding this comment.
this is to match xlibre dri3 driver stuff for amdgpu to work i need to build a list of all the new functions added for amdgpu args are different count many 2 arg are now 3 or 4 more complex. i jumped to dri3 errors when i saw a few and it was missing this stuff here. -Dlegacy_build=true was added to see comparisons in build headers vs xlibre for error counts.
There was a problem hiding this comment.
this is to match xlibre dri3 driver stuff for amdgpu
Sure, but we should update the other codes so that it compiles with this change.
No description provided.