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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/WebGLCompressedTextureETC1.h" | 67 #include "modules/webgl/WebGLCompressedTextureETC1.h" |
68 #include "modules/webgl/WebGLCompressedTexturePVRTC.h" | 68 #include "modules/webgl/WebGLCompressedTexturePVRTC.h" |
69 #include "modules/webgl/WebGLCompressedTextureS3TC.h" | 69 #include "modules/webgl/WebGLCompressedTextureS3TC.h" |
| 70 #include "modules/webgl/WebGLCompressedTextureS3TCsRGB.h" |
70 #include "modules/webgl/WebGLContextAttributeHelpers.h" | 71 #include "modules/webgl/WebGLContextAttributeHelpers.h" |
71 #include "modules/webgl/WebGLContextEvent.h" | 72 #include "modules/webgl/WebGLContextEvent.h" |
72 #include "modules/webgl/WebGLContextGroup.h" | 73 #include "modules/webgl/WebGLContextGroup.h" |
73 #include "modules/webgl/WebGLDebugRendererInfo.h" | 74 #include "modules/webgl/WebGLDebugRendererInfo.h" |
74 #include "modules/webgl/WebGLDebugShaders.h" | 75 #include "modules/webgl/WebGLDebugShaders.h" |
75 #include "modules/webgl/WebGLDepthTexture.h" | 76 #include "modules/webgl/WebGLDepthTexture.h" |
76 #include "modules/webgl/WebGLDrawBuffers.h" | 77 #include "modules/webgl/WebGLDrawBuffers.h" |
77 #include "modules/webgl/WebGLFramebuffer.h" | 78 #include "modules/webgl/WebGLFramebuffer.h" |
78 #include "modules/webgl/WebGLLoseContext.h" | 79 #include "modules/webgl/WebGLLoseContext.h" |
79 #include "modules/webgl/WebGLProgram.h" | 80 #include "modules/webgl/WebGLProgram.h" |
(...skipping 6374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6454 | 6455 |
6455 void WebGLRenderingContextBase::getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffs
creenCanvas& result) const | 6456 void WebGLRenderingContextBase::getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffs
creenCanvas& result) const |
6456 { | 6457 { |
6457 if (canvas()) | 6458 if (canvas()) |
6458 result.setHTMLCanvasElement(canvas()); | 6459 result.setHTMLCanvasElement(canvas()); |
6459 else | 6460 else |
6460 result.setOffscreenCanvas(getOffscreenCanvas()); | 6461 result.setOffscreenCanvas(getOffscreenCanvas()); |
6461 } | 6462 } |
6462 | 6463 |
6463 } // namespace blink | 6464 } // namespace blink |
OLD | NEW |