| 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 GarbageCollected<WebGLAttachment> { |   48   class WebGLAttachment : public GarbageCollected<WebGLAttachment>, | 
 |   49                           public TraceWrapperBase { | 
|   49    public: |   50    public: | 
|   50     virtual WebGLSharedObject* object() const = 0; |   51     virtual WebGLSharedObject* object() const = 0; | 
|   51     virtual bool isSharedObject(WebGLSharedObject*) const = 0; |   52     virtual bool isSharedObject(WebGLSharedObject*) const = 0; | 
|   52     virtual bool valid() const = 0; |   53     virtual bool valid() const = 0; | 
|   53     virtual void onDetached(gpu::gles2::GLES2Interface*) = 0; |   54     virtual void onDetached(gpu::gles2::GLES2Interface*) = 0; | 
|   54     virtual void attach(gpu::gles2::GLES2Interface*, |   55     virtual void attach(gpu::gles2::GLES2Interface*, | 
|   55                         GLenum target, |   56                         GLenum target, | 
|   56                         GLenum attachment) = 0; |   57                         GLenum attachment) = 0; | 
|   57     virtual void unattach(gpu::gles2::GLES2Interface*, |   58     virtual void unattach(gpu::gles2::GLES2Interface*, | 
|   58                           GLenum target, |   59                           GLenum target, | 
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  153  |  154  | 
|  154   Vector<GLenum> m_drawBuffers; |  155   Vector<GLenum> m_drawBuffers; | 
|  155   Vector<GLenum> m_filteredDrawBuffers; |  156   Vector<GLenum> m_filteredDrawBuffers; | 
|  156  |  157  | 
|  157   GLenum m_readBuffer; |  158   GLenum m_readBuffer; | 
|  158 }; |  159 }; | 
|  159  |  160  | 
|  160 }  // namespace blink |  161 }  // namespace blink | 
|  161  |  162  | 
|  162 #endif  // WebGLFramebuffer_h |  163 #endif  // WebGLFramebuffer_h | 
| OLD | NEW |