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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 class GLES2Interface; | 55 class GLES2Interface; |
56 } | 56 } |
57 } | 57 } |
58 | 58 |
59 namespace WTF { | 59 namespace WTF { |
60 class ArrayBufferContents; | 60 class ArrayBufferContents; |
61 } | 61 } |
62 | 62 |
63 namespace blink { | 63 namespace blink { |
64 class Extensions3DUtil; | 64 class Extensions3DUtil; |
65 class ImageBuffer; | |
66 class StaticBitmapImage; | 65 class StaticBitmapImage; |
67 class WebExternalBitmap; | |
68 class WebExternalTextureLayer; | 66 class WebExternalTextureLayer; |
69 class WebGraphicsContext3DProvider; | 67 class WebGraphicsContext3DProvider; |
70 class WebLayer; | 68 class WebLayer; |
71 | 69 |
72 // Manages a rendering target (framebuffer + attachment) for a canvas. Can | 70 // Manages a rendering target (framebuffer + attachment) for a canvas. Can |
73 // publish its rendering results to a WebLayer for compositing. | 71 // publish its rendering results to a WebLayer for compositing. |
74 class PLATFORM_EXPORT DrawingBuffer | 72 class PLATFORM_EXPORT DrawingBuffer |
75 : public NON_EXPORTED_BASE(cc::TextureLayerClient), | 73 : public NON_EXPORTED_BASE(cc::TextureLayerClient), |
76 public RefCounted<DrawingBuffer> { | 74 public RefCounted<DrawingBuffer> { |
77 WTF_MAKE_NONCOPYABLE(DrawingBuffer); | 75 WTF_MAKE_NONCOPYABLE(DrawingBuffer); |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 // RuntimeEnabledFeatures::webGLImageChromiumEnabled() call with | 511 // RuntimeEnabledFeatures::webGLImageChromiumEnabled() call with |
514 // shouldUseChromiumImage() calls, and set m_chromiumImageUsage to | 512 // shouldUseChromiumImage() calls, and set m_chromiumImageUsage to |
515 // DisallowChromiumImage in the case of OffscreenCanvas. | 513 // DisallowChromiumImage in the case of OffscreenCanvas. |
516 ChromiumImageUsage m_chromiumImageUsage; | 514 ChromiumImageUsage m_chromiumImageUsage; |
517 bool shouldUseChromiumImage(); | 515 bool shouldUseChromiumImage(); |
518 }; | 516 }; |
519 | 517 |
520 } // namespace blink | 518 } // namespace blink |
521 | 519 |
522 #endif // DrawingBuffer_h | 520 #endif // DrawingBuffer_h |
OLD | NEW |