mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout 0d091f3311b4 (bug 1118328) for build bustage on a CLOSED TREE
This commit is contained in:
parent
00b5aa1577
commit
e0a70c89f3
@ -1181,8 +1181,6 @@ public:
|
||||
*/
|
||||
static TemporaryRef<DrawTarget> CreateTiledDrawTarget(const TileSet& aTileSet);
|
||||
|
||||
static bool DoesBackendSupportDataDrawtarget(BackendType aType);
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
static TemporaryRef<DrawTarget> CreateDrawTargetForCairoCGContext(CGContextRef cg, const IntSize& aSize);
|
||||
static TemporaryRef<GlyphRenderingOptions>
|
||||
|
@ -430,23 +430,6 @@ Factory::CreateTiledDrawTarget(const TileSet& aTileSet)
|
||||
return dt.forget();
|
||||
}
|
||||
|
||||
bool
|
||||
Factory::DoesBackendSupportDataDrawtarget(BackendType aType)
|
||||
{
|
||||
switch (aType) {
|
||||
case BackendType::DIRECT2D:
|
||||
case BackendType::DIRECT2D1_1:
|
||||
case BackendType::RECORDING:
|
||||
case BackendType::NONE:
|
||||
case BackendType::COREGRAPHICS_ACCELERATED:
|
||||
return false;
|
||||
case BackendType::CAIRO:
|
||||
case BackendType::COREGRAPHICS:
|
||||
case BackendType::SKIA:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
TemporaryRef<ScaledFont>
|
||||
Factory::CreateScaledFontForNativeFont(const NativeFont &aNativeFont, Float aSize)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user