| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class WebGLRenderbuffer; | 41 class WebGLRenderbuffer; |
| 42 class WebGLTexture; | 42 class WebGLTexture; |
| 43 | 43 |
| 44 class WebGLFramebuffer final : public WebGLContextObject { | 44 class WebGLFramebuffer final : public WebGLContextObject { |
| 45 DEFINE_WRAPPERTYPEINFO(); | 45 DEFINE_WRAPPERTYPEINFO(); |
| 46 | 46 |
| 47 public: | 47 public: |
| 48 class WebGLAttachment : public GarbageCollectedFinalized<WebGLAttachment>, | 48 class WebGLAttachment : public GarbageCollectedFinalized<WebGLAttachment> { |
| 49 public TraceWrapperBase { | |
| 50 public: | 49 public: |
| 51 virtual ~WebGLAttachment(); | 50 virtual ~WebGLAttachment(); |
| 52 | 51 |
| 53 virtual WebGLSharedObject* object() const = 0; | 52 virtual WebGLSharedObject* object() const = 0; |
| 54 virtual bool isSharedObject(WebGLSharedObject*) const = 0; | 53 virtual bool isSharedObject(WebGLSharedObject*) const = 0; |
| 55 virtual bool valid() const = 0; | 54 virtual bool valid() const = 0; |
| 56 virtual void onDetached(gpu::gles2::GLES2Interface*) = 0; | 55 virtual void onDetached(gpu::gles2::GLES2Interface*) = 0; |
| 57 virtual void attach(gpu::gles2::GLES2Interface*, | 56 virtual void attach(gpu::gles2::GLES2Interface*, |
| 58 GLenum target, | 57 GLenum target, |
| 59 GLenum attachment) = 0; | 58 GLenum attachment) = 0; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 | 156 |
| 158 Vector<GLenum> m_drawBuffers; | 157 Vector<GLenum> m_drawBuffers; |
| 159 Vector<GLenum> m_filteredDrawBuffers; | 158 Vector<GLenum> m_filteredDrawBuffers; |
| 160 | 159 |
| 161 GLenum m_readBuffer; | 160 GLenum m_readBuffer; |
| 162 }; | 161 }; |
| 163 | 162 |
| 164 } // namespace blink | 163 } // namespace blink |
| 165 | 164 |
| 166 #endif // WebGLFramebuffer_h | 165 #endif // WebGLFramebuffer_h |
| OLD | NEW |