| 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 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 617 friend class WebGLCompressedTexturePVRTC; | 617 friend class WebGLCompressedTexturePVRTC; |
| 618 friend class WebGLCompressedTextureS3TC; | 618 friend class WebGLCompressedTextureS3TC; |
| 619 friend class WebGLCompressedTextureS3TCsRGB; | 619 friend class WebGLCompressedTextureS3TCsRGB; |
| 620 friend class WebGLRenderingContextErrorMessageCallback; | 620 friend class WebGLRenderingContextErrorMessageCallback; |
| 621 friend class WebGLVertexArrayObjectBase; | 621 friend class WebGLVertexArrayObjectBase; |
| 622 friend class ScopedDrawingBufferBinder; | 622 friend class ScopedDrawingBufferBinder; |
| 623 friend class ScopedTexture2DRestorer; | 623 friend class ScopedTexture2DRestorer; |
| 624 friend class ScopedFramebufferRestorer; | 624 friend class ScopedFramebufferRestorer; |
| 625 // To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. | 625 // To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. |
| 626 friend class V8WebGLRenderingContext; | 626 friend class V8WebGLRenderingContext; |
| 627 friend class ScopedUnpackParametersResetRestore; |
| 627 | 628 |
| 628 WebGLRenderingContextBase(HTMLCanvasElement*, | 629 WebGLRenderingContextBase(HTMLCanvasElement*, |
| 629 std::unique_ptr<WebGraphicsContext3DProvider>, | 630 std::unique_ptr<WebGraphicsContext3DProvider>, |
| 630 const CanvasContextCreationAttributes&, | 631 const CanvasContextCreationAttributes&, |
| 631 unsigned); | 632 unsigned); |
| 632 WebGLRenderingContextBase(OffscreenCanvas*, | 633 WebGLRenderingContextBase(OffscreenCanvas*, |
| 633 std::unique_ptr<WebGraphicsContext3DProvider>, | 634 std::unique_ptr<WebGraphicsContext3DProvider>, |
| 634 const CanvasContextCreationAttributes&, | 635 const CanvasContextCreationAttributes&, |
| 635 unsigned); | 636 unsigned); |
| 636 PassRefPtr<DrawingBuffer> createDrawingBuffer( | 637 PassRefPtr<DrawingBuffer> createDrawingBuffer( |
| (...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1558 context, | 1559 context, |
| 1559 context->is3d(), | 1560 context->is3d(), |
| 1560 context.is3d()); | 1561 context.is3d()); |
| 1561 | 1562 |
| 1562 } // namespace blink | 1563 } // namespace blink |
| 1563 | 1564 |
| 1564 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1565 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( |
| 1565 blink::WebGLRenderingContextBase::TextureUnitState); | 1566 blink::WebGLRenderingContextBase::TextureUnitState); |
| 1566 | 1567 |
| 1567 #endif // WebGLRenderingContextBase_h | 1568 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |