| 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 WebGLRenderingContext_h | 27 #define WebGLRenderingContext_h |
| 28 | 28 |
| 29 #include "core/dom/ActiveDOMObject.h" | 29 #include "core/dom/ActiveDOMObject.h" |
| 30 #include "core/html/canvas/CanvasRenderingContext.h" | 30 #include "core/html/canvas/CanvasRenderingContext.h" |
| 31 #include "core/html/canvas/WebGLGetInfo.h" | 31 #include "core/html/canvas/WebGLGetInfo.h" |
| 32 #include "core/page/Page.h" | 32 #include "core/page/Page.h" |
| 33 #include "core/platform/Timer.h" | 33 #include "core/platform/Timer.h" |
| 34 #include "core/platform/graphics/GraphicsContext3D.h" | 34 #include "core/platform/graphics/GraphicsContext3D.h" |
| 35 #include "core/platform/graphics/ImageBuffer.h" | 35 #include "core/platform/graphics/ImageBuffer.h" |
| 36 | 36 |
| 37 #include <wtf/Float32Array.h> | 37 #include "wtf/Float32Array.h" |
| 38 #include <wtf/Int32Array.h> | 38 #include "wtf/Int32Array.h" |
| 39 #include <wtf/OwnArrayPtr.h> | 39 #include "wtf/OwnArrayPtr.h" |
| 40 #include <wtf/text/WTFString.h> | 40 #include "wtf/text/WTFString.h" |
| 41 #include <wtf/Uint8Array.h> | |
| 42 | 41 |
| 43 namespace WebKit { class WebLayer; } | 42 namespace WebKit { class WebLayer; } |
| 44 | 43 |
| 45 namespace WebCore { | 44 namespace WebCore { |
| 46 | 45 |
| 47 class ANGLEInstancedArrays; | 46 class ANGLEInstancedArrays; |
| 48 class DrawingBuffer; | 47 class DrawingBuffer; |
| 49 class WebGLDrawBuffers; | 48 class WebGLDrawBuffers; |
| 50 class EXTFragDepth; | 49 class EXTFragDepth; |
| 51 class EXTTextureFilterAnisotropic; | 50 class EXTTextureFilterAnisotropic; |
| (...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 887 static void activateContext(WebGLRenderingContext*); | 886 static void activateContext(WebGLRenderingContext*); |
| 888 static void deactivateContext(WebGLRenderingContext*, bool addToInactiveList
); | 887 static void deactivateContext(WebGLRenderingContext*, bool addToInactiveList
); |
| 889 static void willDestroyContext(WebGLRenderingContext*); | 888 static void willDestroyContext(WebGLRenderingContext*); |
| 890 static void forciblyLoseOldestContext(const String& reason); | 889 static void forciblyLoseOldestContext(const String& reason); |
| 891 static IntSize oldestContextSize(); | 890 static IntSize oldestContextSize(); |
| 892 }; | 891 }; |
| 893 | 892 |
| 894 } // namespace WebCore | 893 } // namespace WebCore |
| 895 | 894 |
| 896 #endif | 895 #endif |
| OLD | NEW |