Bug 959171 - Fix how to bind EGLImage in GrallocTextureHostOGL. r=nical
[gecko.git] / widget / os2 / nsScreenOS2.h
blobcb533385d5d1ab509108fe2eb2dd2ba9bb7d28d7
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef nsScreenOS2_h___
7 #define nsScreenOS2_h___
9 #include "nsBaseScreen.h"
11 #define INCL_WIN
12 #define INCL_DOS
13 #include <os2.h>
15 //------------------------------------------------------------------------
17 class nsScreenOS2 : public nsBaseScreen
19 public:
20 nsScreenOS2 ( );
21 virtual ~nsScreenOS2();
23 NS_IMETHOD GetRect(int32_t* aLeft, int32_t* aTop, int32_t* aWidth, int32_t* aHeight);
24 NS_IMETHOD GetAvailRect(int32_t* aLeft, int32_t* aTop, int32_t* aWidth, int32_t* aHeight);
25 NS_IMETHOD GetPixelDepth(int32_t* aPixelDepth);
26 NS_IMETHOD GetColorDepth(int32_t* aColorDepth);
28 private:
32 #endif // nsScreenOS2_h___