| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #include "modules/webgl/OESStandardDerivatives.h" | 57 #include "modules/webgl/OESStandardDerivatives.h" |
| 58 #include "modules/webgl/OESTextureFloat.h" | 58 #include "modules/webgl/OESTextureFloat.h" |
| 59 #include "modules/webgl/OESTextureFloatLinear.h" | 59 #include "modules/webgl/OESTextureFloatLinear.h" |
| 60 #include "modules/webgl/OESTextureHalfFloat.h" | 60 #include "modules/webgl/OESTextureHalfFloat.h" |
| 61 #include "modules/webgl/OESTextureHalfFloatLinear.h" | 61 #include "modules/webgl/OESTextureHalfFloatLinear.h" |
| 62 #include "modules/webgl/OESVertexArrayObject.h" | 62 #include "modules/webgl/OESVertexArrayObject.h" |
| 63 #include "modules/webgl/WebGLActiveInfo.h" | 63 #include "modules/webgl/WebGLActiveInfo.h" |
| 64 #include "modules/webgl/WebGLBuffer.h" | 64 #include "modules/webgl/WebGLBuffer.h" |
| 65 #include "modules/webgl/WebGLCompressedTextureASTC.h" | 65 #include "modules/webgl/WebGLCompressedTextureASTC.h" |
| 66 #include "modules/webgl/WebGLCompressedTextureATC.h" | 66 #include "modules/webgl/WebGLCompressedTextureATC.h" |
| 67 #include "modules/webgl/WebGLCompressedTextureES30.h" |
| 67 #include "modules/webgl/WebGLCompressedTextureETC1.h" | 68 #include "modules/webgl/WebGLCompressedTextureETC1.h" |
| 68 #include "modules/webgl/WebGLCompressedTexturePVRTC.h" | 69 #include "modules/webgl/WebGLCompressedTexturePVRTC.h" |
| 69 #include "modules/webgl/WebGLCompressedTextureS3TC.h" | 70 #include "modules/webgl/WebGLCompressedTextureS3TC.h" |
| 70 #include "modules/webgl/WebGLCompressedTextureS3TCsRGB.h" | 71 #include "modules/webgl/WebGLCompressedTextureS3TCsRGB.h" |
| 71 #include "modules/webgl/WebGLContextAttributeHelpers.h" | 72 #include "modules/webgl/WebGLContextAttributeHelpers.h" |
| 72 #include "modules/webgl/WebGLContextEvent.h" | 73 #include "modules/webgl/WebGLContextEvent.h" |
| 73 #include "modules/webgl/WebGLContextGroup.h" | 74 #include "modules/webgl/WebGLContextGroup.h" |
| 74 #include "modules/webgl/WebGLDebugRendererInfo.h" | 75 #include "modules/webgl/WebGLDebugRendererInfo.h" |
| 75 #include "modules/webgl/WebGLDebugShaders.h" | 76 #include "modules/webgl/WebGLDebugShaders.h" |
| 76 #include "modules/webgl/WebGLDepthTexture.h" | 77 #include "modules/webgl/WebGLDepthTexture.h" |
| (...skipping 6395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6472 | 6473 |
| 6473 void WebGLRenderingContextBase::getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffs
creenCanvas& result) const | 6474 void WebGLRenderingContextBase::getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffs
creenCanvas& result) const |
| 6474 { | 6475 { |
| 6475 if (canvas()) | 6476 if (canvas()) |
| 6476 result.setHTMLCanvasElement(canvas()); | 6477 result.setHTMLCanvasElement(canvas()); |
| 6477 else | 6478 else |
| 6478 result.setOffscreenCanvas(getOffscreenCanvas()); | 6479 result.setOffscreenCanvas(getOffscreenCanvas()); |
| 6479 } | 6480 } |
| 6480 | 6481 |
| 6481 } // namespace blink | 6482 } // namespace blink |
| OLD | NEW |