Bug 1238755 - Use Skia for BasicCompositor composition on Mac. r=mattwoodrow

This commit is contained in:
Markus Stange 2016-01-11 20:22:33 +01:00
parent d15ad538e6
commit 9bf055258b

View File

@ -2943,7 +2943,7 @@ RectTextureImage::BeginUpdate(const LayoutDeviceIntSize& aNewSize,
int32_t stride = size.width * gfx::BytesPerPixel(format);
mUpdateDrawTargetData = MakeUnique<unsigned char[]>(stride * size.height);
mUpdateDrawTarget =
gfx::Factory::CreateDrawTargetForData(gfx::BackendType::COREGRAPHICS,
gfx::Factory::CreateDrawTargetForData(gfx::BackendType::SKIA,
mUpdateDrawTargetData.get(), size,
stride, format);
mBufferSize = neededBufferSize;