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 20 matching lines...) Expand all Loading... | |
31 #include "bindings/core/v8/V8BindingMacros.h" | 31 #include "bindings/core/v8/V8BindingMacros.h" |
32 #include "bindings/modules/v8/HTMLCanvasElementOrOffscreenCanvas.h" | 32 #include "bindings/modules/v8/HTMLCanvasElementOrOffscreenCanvas.h" |
33 #include "bindings/modules/v8/WebGLAny.h" | 33 #include "bindings/modules/v8/WebGLAny.h" |
34 #include "core/dom/DOMArrayBuffer.h" | 34 #include "core/dom/DOMArrayBuffer.h" |
35 #include "core/dom/DOMTypedArray.h" | 35 #include "core/dom/DOMTypedArray.h" |
36 #include "core/dom/FlexibleArrayBufferView.h" | 36 #include "core/dom/FlexibleArrayBufferView.h" |
37 #include "core/fetch/ImageResource.h" | 37 #include "core/fetch/ImageResource.h" |
38 #include "core/frame/ImageBitmap.h" | 38 #include "core/frame/ImageBitmap.h" |
39 #include "core/frame/LocalFrame.h" | 39 #include "core/frame/LocalFrame.h" |
40 #include "core/frame/Settings.h" | 40 #include "core/frame/Settings.h" |
41 #include "core/html/Float32ImageData.h" | |
Justin Novosad
2016/12/08 18:16:35
Why?
zakerinasab
2016/12/08 20:40:52
Removed for now.
| |
41 #include "core/html/HTMLCanvasElement.h" | 42 #include "core/html/HTMLCanvasElement.h" |
42 #include "core/html/HTMLImageElement.h" | 43 #include "core/html/HTMLImageElement.h" |
43 #include "core/html/HTMLVideoElement.h" | 44 #include "core/html/HTMLVideoElement.h" |
44 #include "core/html/ImageData.h" | 45 #include "core/html/ImageData.h" |
45 #include "core/inspector/ConsoleMessage.h" | 46 #include "core/inspector/ConsoleMessage.h" |
46 #include "core/inspector/InspectorInstrumentation.h" | 47 #include "core/inspector/InspectorInstrumentation.h" |
47 #include "core/layout/LayoutBox.h" | 48 #include "core/layout/LayoutBox.h" |
48 #include "core/loader/FrameLoader.h" | 49 #include "core/loader/FrameLoader.h" |
49 #include "core/loader/FrameLoaderClient.h" | 50 #include "core/loader/FrameLoaderClient.h" |
50 #include "gpu/command_buffer/client/gles2_interface.h" | 51 #include "gpu/command_buffer/client/gles2_interface.h" |
(...skipping 7690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7741 | 7742 |
7742 void WebGLRenderingContextBase::getHTMLOrOffscreenCanvas( | 7743 void WebGLRenderingContextBase::getHTMLOrOffscreenCanvas( |
7743 HTMLCanvasElementOrOffscreenCanvas& result) const { | 7744 HTMLCanvasElementOrOffscreenCanvas& result) const { |
7744 if (canvas()) | 7745 if (canvas()) |
7745 result.setHTMLCanvasElement(canvas()); | 7746 result.setHTMLCanvasElement(canvas()); |
7746 else | 7747 else |
7747 result.setOffscreenCanvas(getOffscreenCanvas()); | 7748 result.setOffscreenCanvas(getOffscreenCanvas()); |
7748 } | 7749 } |
7749 | 7750 |
7750 } // namespace blink | 7751 } // namespace blink |
OLD | NEW |