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 16 matching lines...) Expand all Loading... |
27 #define WebGLFramebuffer_h | 27 #define WebGLFramebuffer_h |
28 | 28 |
29 #include "modules/webgl/WebGLContextObject.h" | 29 #include "modules/webgl/WebGLContextObject.h" |
30 #include "modules/webgl/WebGLSharedObject.h" | 30 #include "modules/webgl/WebGLSharedObject.h" |
31 #include "platform/bindings/ScriptWrappableVisitor.h" | 31 #include "platform/bindings/ScriptWrappableVisitor.h" |
32 | 32 |
33 namespace gpu { | 33 namespace gpu { |
34 namespace gles2 { | 34 namespace gles2 { |
35 class GLES2Interface; | 35 class GLES2Interface; |
36 } | 36 } |
37 } | 37 } // namespace gpu |
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: |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 | 151 |
152 Vector<GLenum> draw_buffers_; | 152 Vector<GLenum> draw_buffers_; |
153 Vector<GLenum> filtered_draw_buffers_; | 153 Vector<GLenum> filtered_draw_buffers_; |
154 | 154 |
155 GLenum read_buffer_; | 155 GLenum read_buffer_; |
156 }; | 156 }; |
157 | 157 |
158 } // namespace blink | 158 } // namespace blink |
159 | 159 |
160 #endif // WebGLFramebuffer_h | 160 #endif // WebGLFramebuffer_h |
OLD | NEW |