summaryrefslogtreecommitdiff
path: root/gfx/layers/opengl
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-05-02 20:28:36 +0000
committerMoonchild <moonchild@palemoon.org>2021-05-02 20:28:36 +0000
commit616b39413d570fd98a9a300483a3b657a00fa43b (patch)
tree8398d6fb6f9a491c871532e91aaf84ef1b50d1c7 /gfx/layers/opengl
parentcd1f7241353c35627672dc3f6f73eb8bbd5f4925 (diff)
downloaduxp-616b39413d570fd98a9a300483a3b657a00fa43b.tar.gz
Issue #1751 -- Remove XP_MACOSX conditionals and support files from /gfx
Diffstat (limited to 'gfx/layers/opengl')
-rw-r--r--gfx/layers/opengl/TextureHostOGL.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/gfx/layers/opengl/TextureHostOGL.cpp b/gfx/layers/opengl/TextureHostOGL.cpp
index bc06444b0f..35c83686a7 100644
--- a/gfx/layers/opengl/TextureHostOGL.cpp
+++ b/gfx/layers/opengl/TextureHostOGL.cpp
@@ -20,10 +20,6 @@
#include "GLBlitTextureImageHelper.h"
#include "GeckoProfiler.h"
-#ifdef XP_MACOSX
-#include "mozilla/layers/MacIOSurfaceTextureHostOGL.h"
-#endif
-
using namespace mozilla::gl;
using namespace mozilla::gfx;
@@ -49,15 +45,6 @@ CreateTextureHostOGL(const SurfaceDescriptor& aDesc,
break;
}
-#ifdef XP_MACOSX
- case SurfaceDescriptor::TSurfaceDescriptorMacIOSurface: {
- const SurfaceDescriptorMacIOSurface& desc =
- aDesc.get_SurfaceDescriptorMacIOSurface();
- result = new MacIOSurfaceTextureHostOGL(aFlags, desc);
- break;
- }
-#endif
-
case SurfaceDescriptor::TSurfaceDescriptorSharedGLTexture: {
const auto& desc = aDesc.get_SurfaceDescriptorSharedGLTexture();
result = new GLTextureHost(aFlags, desc.texture(),