OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Computer, Inc. All rights reserved. |
3 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 3 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
4 * Copyright (C) 2007-2008 Torch Mobile, Inc. | 4 * Copyright (C) 2007-2008 Torch Mobile, Inc. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 bool repeatY() const { return m_repeatY; } | 88 bool repeatY() const { return m_repeatY; } |
89 | 89 |
90 private: | 90 private: |
91 Pattern(PassRefPtr<Image>, bool repeatX, bool repeatY); | 91 Pattern(PassRefPtr<Image>, bool repeatX, bool repeatY); |
92 | 92 |
93 RefPtr<Image> m_tileImage; | 93 RefPtr<Image> m_tileImage; |
94 bool m_repeatX; | 94 bool m_repeatX; |
95 bool m_repeatY; | 95 bool m_repeatY; |
96 AffineTransform m_patternSpaceTransformation; | 96 AffineTransform m_patternSpaceTransformation; |
97 PlatformPatternPtr m_pattern; | 97 PlatformPatternPtr m_pattern; |
| 98 #if USE(SKIA) |
| 99 size_t m_externalMemoryAllocated; |
| 100 #endif |
98 }; | 101 }; |
99 | 102 |
100 } //namespace | 103 } //namespace |
101 | 104 |
102 #endif | 105 #endif |
OLD | NEW |