diff options
Diffstat (limited to 'gfx/layers/ImageContainer.h')
-rw-r--r-- | gfx/layers/ImageContainer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gfx/layers/ImageContainer.h b/gfx/layers/ImageContainer.h index ea619b77b5..73085ba906 100644 --- a/gfx/layers/ImageContainer.h +++ b/gfx/layers/ImageContainer.h @@ -166,6 +166,9 @@ protected: class GLImage; class EGLImageImage; class SharedRGBImage; +#if defined(XP_MACOSX) +class MacIOSurfaceImage; +#endif /** * A class representing a buffer of pixel data. The data can be in one @@ -220,6 +223,9 @@ public: /* Access to derived classes. */ virtual EGLImageImage* AsEGLImageImage() { return nullptr; } virtual GLImage* AsGLImage() { return nullptr; } +#ifdef XP_MACOSX + virtual MacIOSurfaceImage* AsMacIOSurfaceImage() { return nullptr; } +#endif virtual PlanarYCbCrImage* AsPlanarYCbCrImage() { return nullptr; } virtual NVImage* AsNVImage() { return nullptr; } |