OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 #include <memory> | 46 #include <memory> |
47 | 47 |
48 class SkImage; | 48 class SkImage; |
49 struct SkImageInfo; | 49 struct SkImageInfo; |
50 | 50 |
51 namespace gpu { | 51 namespace gpu { |
52 namespace gles2 { | 52 namespace gles2 { |
53 class GLES2Interface; | 53 class GLES2Interface; |
54 } | 54 } |
55 } | 55 } // namespace gpu |
56 | 56 |
57 namespace blink { | 57 namespace blink { |
58 | 58 |
59 class Canvas2DLayerBridgeTest; | 59 class Canvas2DLayerBridgeTest; |
60 class ImageBuffer; | 60 class ImageBuffer; |
61 class WebGraphicsContext3DProvider; | 61 class WebGraphicsContext3DProvider; |
62 class SharedContextRateLimiter; | 62 class SharedContextRateLimiter; |
63 | 63 |
64 #if OS(MACOSX) | 64 #if OS(MACOSX) |
65 // Canvas hibernation is currently disabled on MacOS X due to a bug that causes | 65 // Canvas hibernation is currently disabled on MacOS X due to a bug that causes |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 // Each element in this vector represents an IOSurface backed texture that | 290 // Each element in this vector represents an IOSurface backed texture that |
291 // is ready to be reused. | 291 // is ready to be reused. |
292 // Elements in this vector can safely be purged in low memory conditions. | 292 // Elements in this vector can safely be purged in low memory conditions. |
293 Vector<RefPtr<ImageInfo>> image_info_cache_; | 293 Vector<RefPtr<ImageInfo>> image_info_cache_; |
294 #endif // USE_IOSURFACE_FOR_2D_CANVAS | 294 #endif // USE_IOSURFACE_FOR_2D_CANVAS |
295 }; | 295 }; |
296 | 296 |
297 } // namespace blink | 297 } // namespace blink |
298 | 298 |
299 #endif | 299 #endif |
OLD | NEW |