| 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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 friend class WebGLCompressedTexturePVRTC; | 608 friend class WebGLCompressedTexturePVRTC; |
| 609 friend class WebGLCompressedTextureS3TC; | 609 friend class WebGLCompressedTextureS3TC; |
| 610 friend class WebGLCompressedTextureS3TCsRGB; | 610 friend class WebGLCompressedTextureS3TCsRGB; |
| 611 friend class WebGLRenderingContextErrorMessageCallback; | 611 friend class WebGLRenderingContextErrorMessageCallback; |
| 612 friend class WebGLVertexArrayObjectBase; | 612 friend class WebGLVertexArrayObjectBase; |
| 613 friend class ScopedDrawingBufferBinder; | 613 friend class ScopedDrawingBufferBinder; |
| 614 friend class ScopedTexture2DRestorer; | 614 friend class ScopedTexture2DRestorer; |
| 615 friend class ScopedFramebufferRestorer; | 615 friend class ScopedFramebufferRestorer; |
| 616 // To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. | 616 // To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. |
| 617 friend class V8WebGLRenderingContext; | 617 friend class V8WebGLRenderingContext; |
| 618 friend class ScopedUnpackParametersResetRestore; |
| 618 | 619 |
| 619 WebGLRenderingContextBase(HTMLCanvasElement*, | 620 WebGLRenderingContextBase(HTMLCanvasElement*, |
| 620 std::unique_ptr<WebGraphicsContext3DProvider>, | 621 std::unique_ptr<WebGraphicsContext3DProvider>, |
| 621 const CanvasContextCreationAttributes&, | 622 const CanvasContextCreationAttributes&, |
| 622 unsigned); | 623 unsigned); |
| 623 WebGLRenderingContextBase(OffscreenCanvas*, | 624 WebGLRenderingContextBase(OffscreenCanvas*, |
| 624 std::unique_ptr<WebGraphicsContext3DProvider>, | 625 std::unique_ptr<WebGraphicsContext3DProvider>, |
| 625 const CanvasContextCreationAttributes&, | 626 const CanvasContextCreationAttributes&, |
| 626 unsigned); | 627 unsigned); |
| 627 PassRefPtr<DrawingBuffer> createDrawingBuffer( | 628 PassRefPtr<DrawingBuffer> createDrawingBuffer( |
| (...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1668 context, | 1669 context, |
| 1669 context->is3d(), | 1670 context->is3d(), |
| 1670 context.is3d()); | 1671 context.is3d()); |
| 1671 | 1672 |
| 1672 } // namespace blink | 1673 } // namespace blink |
| 1673 | 1674 |
| 1674 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1675 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( |
| 1675 blink::WebGLRenderingContextBase::TextureUnitState); | 1676 blink::WebGLRenderingContextBase::TextureUnitState); |
| 1676 | 1677 |
| 1677 #endif // WebGLRenderingContextBase_h | 1678 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |