| 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 12 matching lines...) Expand all Loading... |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef WebGLObject_h | 26 #ifndef WebGLObject_h |
| 27 #define WebGLObject_h | 27 #define WebGLObject_h |
| 28 | 28 |
| 29 #include "bindings/core/v8/ScriptWrappable.h" | 29 #include "bindings/core/v8/ScriptWrappable.h" |
| 30 #include "platform/graphics/GraphicsTypes3D.h" | 30 #include "platform/graphics/GraphicsTypes3D.h" |
| 31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
| 32 #include "wtf/Assertions.h" | 32 #include "wtf/Assertions.h" |
| 33 #include "wtf/RefCounted.h" | |
| 34 | 33 |
| 35 namespace blink { | 34 namespace blink { |
| 36 class WebGraphicsContext3D; | 35 class WebGraphicsContext3D; |
| 37 } | 36 } |
| 38 | 37 |
| 39 namespace gpu { | 38 namespace gpu { |
| 40 namespace gles2 { | 39 namespace gles2 { |
| 41 class GLES2Interface; | 40 class GLES2Interface; |
| 42 } | 41 } |
| 43 } | 42 } |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 virtual gpu::gles2::GLES2Interface* getAGLInterface() const = 0; | 98 virtual gpu::gles2::GLES2Interface* getAGLInterface() const = 0; |
| 100 | 99 |
| 101 private: | 100 private: |
| 102 unsigned m_attachmentCount; | 101 unsigned m_attachmentCount; |
| 103 bool m_deleted; | 102 bool m_deleted; |
| 104 }; | 103 }; |
| 105 | 104 |
| 106 } // namespace blink | 105 } // namespace blink |
| 107 | 106 |
| 108 #endif // WebGLObject_h | 107 #endif // WebGLObject_h |
| OLD | NEW |