| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) | 2 Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) |
| 3 | 3 |
| 4 This library is free software; you can redistribute it and/or | 4 This library is free software; you can redistribute it and/or |
| 5 modify it under the terms of the GNU Library General Public | 5 modify it under the terms of the GNU Library General Public |
| 6 License as published by the Free Software Foundation; either | 6 License as published by the Free Software Foundation; either |
| 7 version 2 of the License, or (at your option) any later version. | 7 version 2 of the License, or (at your option) any later version. |
| 8 | 8 |
| 9 This library is distributed in the hope that it will be useful, | 9 This library is distributed in the hope that it will be useful, |
| 10 but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 | 106 |
| 107 PassOwnPtr<GraphicsContext> platformBeginPaint(const IntSize&, char* bits, i
nt stride); | 107 PassOwnPtr<GraphicsContext> platformBeginPaint(const IntSize&, char* bits, i
nt stride); |
| 108 | 108 |
| 109 protected: | 109 protected: |
| 110 LockOptions m_lockOptions; | 110 LockOptions m_lockOptions; |
| 111 Flags m_flags; | 111 Flags m_flags; |
| 112 | 112 |
| 113 private: | 113 private: |
| 114 GraphicsSurface(const IntSize&, Flags); | 114 GraphicsSurface(const IntSize&, Flags); |
| 115 | 115 |
| 116 #if PLATFORM(QT) | |
| 117 static void didReleaseImage(void*); | |
| 118 #endif | |
| 119 | |
| 120 private: | |
| 121 uint32_t m_fbo; | 116 uint32_t m_fbo; |
| 122 GraphicsSurfacePrivate* m_private; | 117 GraphicsSurfacePrivate* m_private; |
| 123 }; | 118 }; |
| 124 | 119 |
| 125 } | 120 } |
| 126 #endif // USE(GRAPHICS_SURFACE) | 121 #endif // USE(GRAPHICS_SURFACE) |
| 127 | 122 |
| 128 #endif // GraphicsSurface_h | 123 #endif // GraphicsSurface_h |
| OLD | NEW |