| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010, Google Inc. All rights reserved. | 2 * Copyright (c) 2010, 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 #include "wtf/OwnPtr.h" | 46 #include "wtf/OwnPtr.h" |
| 47 #include "wtf/PassOwnPtr.h" | 47 #include "wtf/PassOwnPtr.h" |
| 48 | 48 |
| 49 namespace blink { | 49 namespace blink { |
| 50 class WebExternalBitmap; | 50 class WebExternalBitmap; |
| 51 class WebExternalTextureLayer; | 51 class WebExternalTextureLayer; |
| 52 class WebGraphicsContext3D; | 52 class WebGraphicsContext3D; |
| 53 class WebLayer; | 53 class WebLayer; |
| 54 } | 54 } |
| 55 | 55 |
| 56 namespace WebCore { | 56 namespace blink { |
| 57 class Extensions3DUtil; | 57 class Extensions3DUtil; |
| 58 class ImageData; | 58 class ImageData; |
| 59 class ImageBuffer; | 59 class ImageBuffer; |
| 60 | 60 |
| 61 // Abstract interface to allow basic context eviction management | 61 // Abstract interface to allow basic context eviction management |
| 62 class PLATFORM_EXPORT ContextEvictionManager : public RefCounted<ContextEviction
Manager> { | 62 class PLATFORM_EXPORT ContextEvictionManager : public RefCounted<ContextEviction
Manager> { |
| 63 public: | 63 public: |
| 64 virtual ~ContextEvictionManager() {}; | 64 virtual ~ContextEvictionManager() {}; |
| 65 | 65 |
| 66 virtual void forciblyLoseOldestContext(const String& reason) = 0; | 66 virtual void forciblyLoseOldestContext(const String& reason) = 0; |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 // match those that we were given in the most recent call to | 293 // match those that we were given in the most recent call to |
| 294 // reshape(), then we need an intermediate bitmap to read back the | 294 // reshape(), then we need an intermediate bitmap to read back the |
| 295 // frame buffer into. This seems to happen when CSS styles are | 295 // frame buffer into. This seems to happen when CSS styles are |
| 296 // used to resize the Canvas. | 296 // used to resize the Canvas. |
| 297 SkBitmap m_resizingBitmap; | 297 SkBitmap m_resizingBitmap; |
| 298 | 298 |
| 299 // Used to flip a bitmap vertically. | 299 // Used to flip a bitmap vertically. |
| 300 Vector<uint8_t> m_scanline; | 300 Vector<uint8_t> m_scanline; |
| 301 }; | 301 }; |
| 302 | 302 |
| 303 } // namespace WebCore | 303 } // namespace blink |
| 304 | 304 |
| 305 #endif // DrawingBuffer_h | 305 #endif // DrawingBuffer_h |
| OLD | NEW |