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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 friend class WebGLCompressedTextureETC1; | 616 friend class WebGLCompressedTextureETC1; |
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 ScopedTexture2DRestorer; | 622 friend class ScopedTexture2DRestorer; |
623 friend class ScopedFramebufferRestorer; | 623 friend class ScopedFramebufferRestorer; |
624 // To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. | 624 // To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. |
625 friend class V8WebGLRenderingContext; | 625 friend class V8WebGLRenderingContext; |
| 626 friend class ScopedUnpackParametersResetRestore; |
626 | 627 |
627 WebGLRenderingContextBase(HTMLCanvasElement*, | 628 WebGLRenderingContextBase(HTMLCanvasElement*, |
628 std::unique_ptr<WebGraphicsContext3DProvider>, | 629 std::unique_ptr<WebGraphicsContext3DProvider>, |
629 const CanvasContextCreationAttributes&, | 630 const CanvasContextCreationAttributes&, |
630 unsigned); | 631 unsigned); |
631 WebGLRenderingContextBase(OffscreenCanvas*, | 632 WebGLRenderingContextBase(OffscreenCanvas*, |
632 std::unique_ptr<WebGraphicsContext3DProvider>, | 633 std::unique_ptr<WebGraphicsContext3DProvider>, |
633 const CanvasContextCreationAttributes&, | 634 const CanvasContextCreationAttributes&, |
634 unsigned); | 635 unsigned); |
635 PassRefPtr<DrawingBuffer> createDrawingBuffer( | 636 PassRefPtr<DrawingBuffer> createDrawingBuffer( |
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1550 context, | 1551 context, |
1551 context->is3d(), | 1552 context->is3d(), |
1552 context.is3d()); | 1553 context.is3d()); |
1553 | 1554 |
1554 } // namespace blink | 1555 } // namespace blink |
1555 | 1556 |
1556 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1557 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( |
1557 blink::WebGLRenderingContextBase::TextureUnitState); | 1558 blink::WebGLRenderingContextBase::TextureUnitState); |
1558 | 1559 |
1559 #endif // WebGLRenderingContextBase_h | 1560 #endif // WebGLRenderingContextBase_h |
OLD | NEW |