michael@0: /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef GFX_READBACKLAYERD3D10_H michael@0: #define GFX_READBACKLAYERD3D10_H michael@0: michael@0: #include "LayerManagerD3D10.h" michael@0: #include "ReadbackLayer.h" michael@0: michael@0: namespace mozilla { michael@0: namespace layers { michael@0: michael@0: class ReadbackLayerD3D10 : michael@0: public ReadbackLayer, michael@0: public LayerD3D10 michael@0: { michael@0: public: michael@0: ReadbackLayerD3D10(LayerManagerD3D10 *aManager) michael@0: : ReadbackLayer(aManager, nullptr), michael@0: LayerD3D10(aManager) michael@0: { michael@0: mImplData = static_cast(this); michael@0: } michael@0: michael@0: virtual Layer* GetLayer() { return this; } michael@0: virtual void RenderLayer() {} michael@0: }; michael@0: michael@0: } /* layers */ michael@0: } /* mozilla */ michael@0: #endif /* GFX_READBACKLAYERD3D10_H */