| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2009 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2009 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2009 Google Inc. All Rights Reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 #ifndef WebGLGetInfo_h | 27 #ifndef WebGLGetInfo_h |
| 28 #define WebGLGetInfo_h | 28 #define WebGLGetInfo_h |
| 29 | 29 |
| 30 #include "core/html/canvas/WebGLBuffer.h" | 30 #include "core/html/canvas/WebGLBuffer.h" |
| 31 #include "core/html/canvas/WebGLFramebuffer.h" | 31 #include "core/html/canvas/WebGLFramebuffer.h" |
| 32 #include "core/html/canvas/WebGLProgram.h" | 32 #include "core/html/canvas/WebGLProgram.h" |
| 33 #include "core/html/canvas/WebGLRenderbuffer.h" | 33 #include "core/html/canvas/WebGLRenderbuffer.h" |
| 34 #include "core/html/canvas/WebGLTexture.h" | 34 #include "core/html/canvas/WebGLTexture.h" |
| 35 #include "core/html/canvas/WebGLVertexArrayObjectOES.h" | 35 #include "core/html/canvas/WebGLVertexArrayObjectOES.h" |
| 36 #include <wtf/Float32Array.h> | 36 #include "wtf/Float32Array.h" |
| 37 #include <wtf/Int32Array.h> | 37 #include "wtf/Int32Array.h" |
| 38 #include <wtf/PassRefPtr.h> | 38 #include "wtf/PassRefPtr.h" |
| 39 #include <wtf/RefPtr.h> | 39 #include "wtf/RefPtr.h" |
| 40 #include <wtf/text/WTFString.h> | 40 #include "wtf/Uint32Array.h" |
| 41 #include <wtf/Uint32Array.h> | 41 #include "wtf/Uint8Array.h" |
| 42 #include <wtf/Uint8Array.h> | 42 #include "wtf/text/WTFString.h" |
| 43 | 43 |
| 44 namespace WebCore { | 44 namespace WebCore { |
| 45 | 45 |
| 46 // A tagged union representing the result of get queries like | 46 // A tagged union representing the result of get queries like |
| 47 // getParameter (encompassing getBooleanv, getIntegerv, getFloatv) and | 47 // getParameter (encompassing getBooleanv, getIntegerv, getFloatv) and |
| 48 // similar variants. For reference counted types, increments and | 48 // similar variants. For reference counted types, increments and |
| 49 // decrements the reference count of the target object. | 49 // decrements the reference count of the target object. |
| 50 | 50 |
| 51 class WebGLGetInfo { | 51 class WebGLGetInfo { |
| 52 public: | 52 public: |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 RefPtr<WebGLRenderbuffer> m_webglRenderbuffer; | 133 RefPtr<WebGLRenderbuffer> m_webglRenderbuffer; |
| 134 RefPtr<WebGLTexture> m_webglTexture; | 134 RefPtr<WebGLTexture> m_webglTexture; |
| 135 RefPtr<Uint8Array> m_webglUnsignedByteArray; | 135 RefPtr<Uint8Array> m_webglUnsignedByteArray; |
| 136 RefPtr<Uint32Array> m_webglUnsignedIntArray; | 136 RefPtr<Uint32Array> m_webglUnsignedIntArray; |
| 137 RefPtr<WebGLVertexArrayObjectOES> m_webglVertexArrayObject; | 137 RefPtr<WebGLVertexArrayObjectOES> m_webglVertexArrayObject; |
| 138 }; | 138 }; |
| 139 | 139 |
| 140 } // namespace WebCore | 140 } // namespace WebCore |
| 141 | 141 |
| 142 #endif // WebGLGetInfo_h | 142 #endif // WebGLGetInfo_h |
| OLD | NEW |