| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 result.setWebGLRenderingContext(this); | 141 result.setWebGLRenderingContext(this); |
| 142 } | 142 } |
| 143 | 143 |
| 144 void WebGLRenderingContext::setOffscreenCanvasGetContextResult(OffscreenRenderin
gContext& result) | 144 void WebGLRenderingContext::setOffscreenCanvasGetContextResult(OffscreenRenderin
gContext& result) |
| 145 { | 145 { |
| 146 result.setWebGLRenderingContext(this); | 146 result.setWebGLRenderingContext(this); |
| 147 } | 147 } |
| 148 | 148 |
| 149 ImageBitmap* WebGLRenderingContext::transferToImageBitmap(ExceptionState& except
ionState) | 149 ImageBitmap* WebGLRenderingContext::transferToImageBitmap(ExceptionState& except
ionState) |
| 150 { | 150 { |
| 151 NOTIMPLEMENTED(); | 151 return transferToImageBitmapBase(); |
| 152 return nullptr; | |
| 153 } | 152 } |
| 154 | 153 |
| 155 void WebGLRenderingContext::registerContextExtensions() | 154 void WebGLRenderingContext::registerContextExtensions() |
| 156 { | 155 { |
| 157 // Register extensions. | 156 // Register extensions. |
| 158 static const char* const bothPrefixes[] = { "", "WEBKIT_", 0, }; | 157 static const char* const bothPrefixes[] = { "", "WEBKIT_", 0, }; |
| 159 | 158 |
| 160 registerExtension<ANGLEInstancedArrays>(m_angleInstancedArrays); | 159 registerExtension<ANGLEInstancedArrays>(m_angleInstancedArrays); |
| 161 registerExtension<EXTBlendMinMax>(m_extBlendMinMax); | 160 registerExtension<EXTBlendMinMax>(m_extBlendMinMax); |
| 162 registerExtension<EXTDisjointTimerQuery>(m_extDisjointTimerQuery); | 161 registerExtension<EXTDisjointTimerQuery>(m_extDisjointTimerQuery); |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 visitor->traceWrappers(m_webglDebugShaders); | 232 visitor->traceWrappers(m_webglDebugShaders); |
| 234 visitor->traceWrappers(m_webglDrawBuffers); | 233 visitor->traceWrappers(m_webglDrawBuffers); |
| 235 visitor->traceWrappers(m_webglCompressedTextureASTC); | 234 visitor->traceWrappers(m_webglCompressedTextureASTC); |
| 236 visitor->traceWrappers(m_webglCompressedTextureATC); | 235 visitor->traceWrappers(m_webglCompressedTextureATC); |
| 237 visitor->traceWrappers(m_webglCompressedTextureETC1); | 236 visitor->traceWrappers(m_webglCompressedTextureETC1); |
| 238 visitor->traceWrappers(m_webglCompressedTexturePVRTC); | 237 visitor->traceWrappers(m_webglCompressedTexturePVRTC); |
| 239 visitor->traceWrappers(m_webglCompressedTextureS3TC); | 238 visitor->traceWrappers(m_webglCompressedTextureS3TC); |
| 240 visitor->traceWrappers(m_webglDepthTexture); | 239 visitor->traceWrappers(m_webglDepthTexture); |
| 241 } | 240 } |
| 242 } // namespace blink | 241 } // namespace blink |
| OLD | NEW |