mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1066811: Add a SupportsD2D1() method to the Moz2D factory. r=jrmuizel
This commit is contained in:
parent
8565d2e38c
commit
fe785efe5b
@ -1193,6 +1193,7 @@ public:
|
||||
static void SetDirect3D11Device(ID3D11Device *aDevice);
|
||||
static ID3D11Device *GetDirect3D11Device();
|
||||
static ID2D1Device *GetD2D1Device();
|
||||
static bool SupportsD2D1();
|
||||
#endif
|
||||
|
||||
static TemporaryRef<GlyphRenderingOptions>
|
||||
|
@ -580,6 +580,12 @@ Factory::GetD2D1Device()
|
||||
{
|
||||
return mD2D1Device;
|
||||
}
|
||||
|
||||
bool
|
||||
Factory::SupportsD2D1()
|
||||
{
|
||||
return !!D2DFactory1();
|
||||
}
|
||||
#endif
|
||||
|
||||
TemporaryRef<GlyphRenderingOptions>
|
||||
|
Loading…
Reference in New Issue
Block a user