http://bugs.winehq.org/show_bug.cgi?id=33062
Bug #: 33062 Summary: wined3d can't handle surfaces created off-screen in application memory Product: Wine Version: 1.5.24 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: andy@positality.com Classification: Unclassified
Created attachment 43706 --> http://bugs.winehq.org/attachment.cgi?id=43706 Start of "wine <app.exe>" log
Target application: ICR Touch Application brief: Commercial EPOS software for Windows x86 Interesting feature: uses DirectX calls for skinned UI generation.
Looking at the attached log you will see the main error:
"wined3d_surface_getdc Not supported on surfaces with application-provided memory"
This error is from dlls/wined3d/surface.c
I have spoken to the programmers an they state that their program creates off-screen surfaces by default. However, if the original Create Surface request fails their program will fall back to storing surfaces in graphics memory.
If wined3d_surface_getdc cannot (or does not yet) support off-screen surfaces shouldn't the creation code (wined3d_surface_create?) also return an error (e.g. check for SFLAG_USERPTR.)
Apologies if I've missed something obvious, my knowledge of DirectX is a little rusty! I did post on the forums first.
Best Regards,
Andy