https://bugs.winehq.org/show_bug.cgi?id=45708
Bug ID: 45708 Summary: d2d1.dll requires some export functions to run "Simple2D" samples. Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d2d Assignee: wine-bugs@winehq.org Reporter: svyatpro@gmail.com Distribution: ---
Most of samples in "Simple2D" fails with unresolved exports in d2d1.dll.
Samples download link: http://files.djkaty.com/software/Simple2D/
https://bugs.winehq.org/show_bug.cgi?id=45708
Svyatpro svyatpro@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |3.14
https://bugs.winehq.org/show_bug.cgi?id=45708
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Could you list them here please?
https://bugs.winehq.org/show_bug.cgi?id=45708
--- Comment #2 from Svyatpro svyatpro@gmail.com --- BITMAPBRUSHDEMO.EXE -D2D1MakeSkewMatrix
https://bugs.winehq.org/show_bug.cgi?id=45708
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Which version should I try? Latest one fails earlier, in windowscodecs.
https://bugs.winehq.org/show_bug.cgi?id=45708
--- Comment #4 from Svyatpro svyatpro@gmail.com --- Well, yeah... I run Wine Direct2D on Windows so I don't have any problems with WindowsCodecs, but most of demos work without problem the only obstacle is missing D2D1MakeSkewMatrix export.
https://bugs.winehq.org/show_bug.cgi?id=45708
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS|Linux |Windows
https://bugs.winehq.org/show_bug.cgi?id=45708
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|d2d1.dll requires some |Simple2D demos need |export functions to run |D2D1MakeSkewMatrix |"Simple2D" samples. |
https://bugs.winehq.org/show_bug.cgi?id=45708
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Summary|Simple2D demos need |djkaty.com Simple2D demos |D2D1MakeSkewMatrix |v1.13: BitmapBrushDemo | |needs D2D1MakeSkewMatrix Keywords| |download, source URL| |http://files.djkaty.com/sof | |tware/Simple2D/ Ever confirmed|0 |1
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
filling some fields.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/DJKaty.com/Simple2D/examples
$ grep -Hrni ::Skew BitmapBrushDemo.cpp:20: Screen->SetTransform(D2D1::Matrix3x2F::Skew(0, -5.f));
$ cat BitmapBrushDemo.cpp
#include "../Simple2D/Simple2D.h"
using namespace S2D;
class MyProgram : public Simple2D { void DrawScene();
ImageBrush tile;
public: MyProgram(Simple2DStartupInfo si) : Simple2D(si) { tile = MakeBrush(MakeImage(L"tile.png"), Auto, D2D1_EXTEND_MODE_WRAP); } };
void MyProgram::DrawScene() { Screen->SetTransform(D2D1::Matrix3x2F::Skew(0, -5.f)); FillRectangleWH(80, ResolutionY - 200, 80 * 6, 80 * 1, tile); }
void Simple2DStart() { Simple2DStartupInfo si; si.WindowName = "Bitmap brush example"; si.BackgroundColour = D2D1::ColorF(Colour::Black); si.ResizableWindow = true; MyProgram(si).Run(); } --- snip ---
https://github.com/apitrace/dxsdk/blob/master/Include/d2d1helper.h#L861
--- snip --- ... namespace D2D1 { ... class Matrix3x2F : public D2D1_MATRIX_3X2_F { public:
... static COM_DECLSPEC_NOTHROW D2D1FORCEINLINE Matrix3x2F Skew( FLOAT angleX, FLOAT angleY, D2D1_POINT_2F center = D2D1::Point2F() ) { Matrix3x2F skew;
D2D1MakeSkewMatrix(angleX, angleY, center, &skew);
return skew; } --- snip ---
Tidbit: In Linux environment there are a couple more issues that prevent running these examples, covered by other bugs:
* bug 45709 ("djkaty.com Simple2D demos v1.13 need support for IWICImagingFactory2, CLSID '{317d06e8-5f24-433d-bdf7-79ce68d8abc2}'") * bug 44052 ("Multiple applications and games fail to run due to missing D2D device and device context and multiple API stubs (Temple+, DJKaty.com 'Simple2D' examples)")
$ sha1sum Simple2DSetup-1.13.exe 269c002fb9ea11c2abd8958fc3cc4294af1b45d9 Simple2DSetup-1.13.exe
$ du -sh Simple2DSetup-1.13.exe 11M Simple2DSetup-1.13.exe
$ wine --version wine-3.14-161-g70fbfa2cb8
Regards
https://bugs.winehq.org/show_bug.cgi?id=45708
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |bunglehead@gmail.com
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Looking.
https://bugs.winehq.org/show_bug.cgi?id=45708
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 62433 --> https://bugs.winehq.org/attachment.cgi?id=62433 patch
https://bugs.winehq.org/show_bug.cgi?id=45708
Svyatpro svyatpro@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #8 from Svyatpro svyatpro@gmail.com --- patch fixes an issue
https://bugs.winehq.org/show_bug.cgi?id=45708
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- It's not committed yet.
https://bugs.winehq.org/show_bug.cgi?id=45708
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |45709, 44052
https://bugs.winehq.org/show_bug.cgi?id=45708
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |275a44a419cd80fe8c21a5753ed | |dd8358ba29313
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- Marking fixed, 275a44a419cd80fe8c21a5753eddd8358ba29313.
https://bugs.winehq.org/show_bug.cgi?id=45708
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=45708 Bug 45708 depends on bug 45709, which changed state.
Bug 45709 Summary: djkaty.com Simple2D demos v1.13 need support for IWICImagingFactory2, CLSID '{317d06e8-5f24-433d-bdf7-79ce68d8abc2}' https://bugs.winehq.org/show_bug.cgi?id=45709
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=45708
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.18.
https://bugs.winehq.org/show_bug.cgi?id=45708 Bug 45708 depends on bug 44052, which changed state.
Bug 44052 Summary: Multiple applications and games fail to run due to missing D2D device and device context and multiple API stubs (Temple+, DJKaty.com 'Simple2D' examples) https://bugs.winehq.org/show_bug.cgi?id=44052
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=45708
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://files.djkaty.com/sof |https://web.archive.org/web |tware/Simple2D/ |/20201227155621if_/http://f | |iles.djkaty.com/software/Si | |mple2D/Simple2DSetup-1.13.e | |xe