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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "core/html/canvas/WebGLRenderingContextBase.h" | 27 #include "core/html/canvas/WebGLRenderingContextBase.h" |
28 | 28 |
29 #include "bindings/core/v8/ExceptionMessages.h" | 29 #include "bindings/core/v8/ExceptionMessages.h" |
30 #include "bindings/core/v8/ExceptionState.h" | 30 #include "bindings/core/v8/ExceptionState.h" |
31 #include "bindings/core/v8/WebGLAny.h" | 31 #include "bindings/core/v8/WebGLAny.h" |
32 #include "core/dom/DOMArrayBuffer.h" | 32 #include "core/dom/DOMArrayBuffer.h" |
33 #include "core/dom/DOMTypedArray.h" | 33 #include "core/dom/DOMTypedArray.h" |
34 #include "core/dom/ExceptionCode.h" | 34 #include "core/dom/ExceptionCode.h" |
35 #include "core/fetch/ImageResource.h" | |
36 #include "core/frame/LocalFrame.h" | 35 #include "core/frame/LocalFrame.h" |
37 #include "core/frame/Settings.h" | 36 #include "core/frame/Settings.h" |
38 #include "core/html/HTMLCanvasElement.h" | 37 #include "core/html/HTMLCanvasElement.h" |
39 #include "core/html/HTMLImageElement.h" | 38 #include "core/html/HTMLImageElement.h" |
40 #include "core/html/HTMLVideoElement.h" | 39 #include "core/html/HTMLVideoElement.h" |
41 #include "core/html/ImageData.h" | 40 #include "core/html/ImageData.h" |
42 #include "core/html/canvas/ANGLEInstancedArrays.h" | 41 #include "core/html/canvas/ANGLEInstancedArrays.h" |
43 #include "core/html/canvas/CHROMIUMSubscribeUniform.h" | 42 #include "core/html/canvas/CHROMIUMSubscribeUniform.h" |
44 #include "core/html/canvas/CHROMIUMValuebuffer.h" | 43 #include "core/html/canvas/CHROMIUMValuebuffer.h" |
45 #include "core/html/canvas/ContextAttributeHelpers.h" | 44 #include "core/html/canvas/ContextAttributeHelpers.h" |
(...skipping 6170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6216 | 6215 |
6217 return totalBytesPerPixel; | 6216 return totalBytesPerPixel; |
6218 } | 6217 } |
6219 | 6218 |
6220 DrawingBuffer* WebGLRenderingContextBase::drawingBuffer() const | 6219 DrawingBuffer* WebGLRenderingContextBase::drawingBuffer() const |
6221 { | 6220 { |
6222 return m_drawingBuffer.get(); | 6221 return m_drawingBuffer.get(); |
6223 } | 6222 } |
6224 | 6223 |
6225 } // namespace blink | 6224 } // namespace blink |
OLD | NEW |