Issue #1751 -- Remove XP_MACOSX conditionals and support files from /gfx

This commit is contained in:
Moonchild 2021-05-02 20:28:36 +00:00 committed by roytam1
commit ccf9e5f54b
40 changed files with 16 additions and 4790 deletions

View file

@ -48,10 +48,6 @@
#endif
#endif
#ifdef XP_MACOSX
#include "mozilla/layers/MacIOSurfaceTextureClientOGL.h"
#endif
#if 0
#define RECYCLE_LOG(...) printf_stderr(__VA_ARGS__)
#else
@ -1075,12 +1071,6 @@ TextureClient::CreateForDrawing(TextureForwarder* aAllocator,
#endif
#endif
#ifdef XP_MACOSX
if (!data && gfxPrefs::UseIOSurfaceTextures()) {
data = MacIOSurfaceTextureData::Create(aSize, aFormat, moz2DBackend);
}
#endif
if (data) {
return MakeAndAddRef<TextureClient>(data, aTextureFlags, aAllocator);
}