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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 friend class WebGLCompressedTextureETC1; | 602 friend class WebGLCompressedTextureETC1; |
603 friend class WebGLCompressedTexturePVRTC; | 603 friend class WebGLCompressedTexturePVRTC; |
604 friend class WebGLCompressedTextureS3TC; | 604 friend class WebGLCompressedTextureS3TC; |
605 friend class WebGLCompressedTextureS3TCsRGB; | 605 friend class WebGLCompressedTextureS3TCsRGB; |
606 friend class WebGLRenderingContextErrorMessageCallback; | 606 friend class WebGLRenderingContextErrorMessageCallback; |
607 friend class WebGLVertexArrayObjectBase; | 607 friend class WebGLVertexArrayObjectBase; |
608 friend class ScopedTexture2DRestorer; | 608 friend class ScopedTexture2DRestorer; |
609 friend class ScopedFramebufferRestorer; | 609 friend class ScopedFramebufferRestorer; |
610 // To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. | 610 // To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. |
611 friend class V8WebGLRenderingContext; | 611 friend class V8WebGLRenderingContext; |
| 612 friend class ScopedUnpackParametersResetRestore; |
612 | 613 |
613 WebGLRenderingContextBase(HTMLCanvasElement*, | 614 WebGLRenderingContextBase(HTMLCanvasElement*, |
614 std::unique_ptr<WebGraphicsContext3DProvider>, | 615 std::unique_ptr<WebGraphicsContext3DProvider>, |
615 const CanvasContextCreationAttributes&, | 616 const CanvasContextCreationAttributes&, |
616 unsigned); | 617 unsigned); |
617 WebGLRenderingContextBase(OffscreenCanvas*, | 618 WebGLRenderingContextBase(OffscreenCanvas*, |
618 std::unique_ptr<WebGraphicsContext3DProvider>, | 619 std::unique_ptr<WebGraphicsContext3DProvider>, |
619 const CanvasContextCreationAttributes&, | 620 const CanvasContextCreationAttributes&, |
620 unsigned); | 621 unsigned); |
621 PassRefPtr<DrawingBuffer> createDrawingBuffer( | 622 PassRefPtr<DrawingBuffer> createDrawingBuffer( |
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1510 context, | 1511 context, |
1511 context->is3d(), | 1512 context->is3d(), |
1512 context.is3d()); | 1513 context.is3d()); |
1513 | 1514 |
1514 } // namespace blink | 1515 } // namespace blink |
1515 | 1516 |
1516 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1517 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( |
1517 blink::WebGLRenderingContextBase::TextureUnitState); | 1518 blink::WebGLRenderingContextBase::TextureUnitState); |
1518 | 1519 |
1519 #endif // WebGLRenderingContextBase_h | 1520 #endif // WebGLRenderingContextBase_h |
OLD | NEW |