For React Native. React Native applications use HLSL shader linking extensively. Obviously, these two functions are not enough because they are just stubs. But I think it's good to get them in the tree so they don't get lost. Currently, React Native applications need to rely on the bundled native d3dcompiler.
--
v2: d3dcompiler_47: Implement D3DCreateFunctionLinkingGraph().
d3dcompiler_47: Implement D3DCreateLinker().
https://gitlab.winehq.org/wine/wine/-/merge_requests/8245
These patches replace the existing libtxc_dxtn texture compression/decompression source files with new libraries that can handle more formats. This is will be helpful when we begin to share code with d3dx10/d3dx11, as we will be able to use bcdec to decode all supported compressed formats, and stb_dxt to compress BC1-BC5.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8226
IWinInetHttpInfo_QueryInfo returns a multibyte string, not a wide string. We
were also wrongly expecting it to have a NUL terminator.
* * *
this one doesn't feel good. IWinInetHttpInfo_QueryInfo calls HttpInfo_QueryInfo (urlmon), which calls HttpQueryInfoA (wininet), so it returns char*. but inside, HttpQueryInfoA is calling HttpQueryInfoW and does charset conversion. so we are converting the string to multibyte and back.
maybe there's an API that returns wchar* i don't know about.
--
v3: mshtml: Fix misuse of IWinInetHttpInfo_QueryInfo.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8228
I think it's not possible to implement it correctly using floating point operations when 24bit precision is used. We would either need to implement it without floating point operations (I'll look into that) or set the precision.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8242#note_106331
Wine applications crash in VNC/headless environments due to invalid all-zero monitor coordinates.
The root cause is:
- Environment Issue: VNC systems report all displays as RR_Disconnected
- Faulty Fallback: Wine incorrectly reverts to legacy XRandR 1.0 API when no "connected" displays are detected
- API Incompatibility: Modern XRandR 1.6 doesn't support Wine's XRandR 1.0 implementation, causing XRRSizes() to return empty display modes
- Uninitialized Data: This leaves critical display fields (dmPelsWidth/Height) at initialization value 0
--
v3: winex11: handle fallback display modes when XRandR fails
https://gitlab.winehq.org/wine/wine/-/merge_requests/8216
eric pouech (@epo) commented about programs/cmd/wcmdmain.c:
> * Otherwise, parse the buffer to find the last parameter in the buffer,
> * where tab was pressed.
> */
> - if (len && inputBuffer[len-1] == L' ') {
you should support the same parameters as below
likely you'd better have the {cc=len; } body when parameter_with_delims() fails
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8200#note_106328