| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 class OESTextureHalfFloatLinear; | 87 class OESTextureHalfFloatLinear; |
| 88 class OESVertexArrayObject; | 88 class OESVertexArrayObject; |
| 89 class WaitableEvent; | 89 class WaitableEvent; |
| 90 class WebGLActiveInfo; | 90 class WebGLActiveInfo; |
| 91 class WebGLBuffer; | 91 class WebGLBuffer; |
| 92 class WebGLCompressedTextureASTC; | 92 class WebGLCompressedTextureASTC; |
| 93 class WebGLCompressedTextureATC; | 93 class WebGLCompressedTextureATC; |
| 94 class WebGLCompressedTextureETC1; | 94 class WebGLCompressedTextureETC1; |
| 95 class WebGLCompressedTexturePVRTC; | 95 class WebGLCompressedTexturePVRTC; |
| 96 class WebGLCompressedTextureS3TC; | 96 class WebGLCompressedTextureS3TC; |
| 97 class WebGLCompressedTextureS3TCsRGB; |
| 97 class WebGLContextGroup; | 98 class WebGLContextGroup; |
| 98 class WebGLContextObject; | 99 class WebGLContextObject; |
| 99 class WebGLDebugRendererInfo; | 100 class WebGLDebugRendererInfo; |
| 100 class WebGLDebugShaders; | 101 class WebGLDebugShaders; |
| 101 class WebGLDepthTexture; | 102 class WebGLDepthTexture; |
| 102 class WebGLDrawBuffers; | 103 class WebGLDrawBuffers; |
| 103 class WebGLExtension; | 104 class WebGLExtension; |
| 104 class WebGLFramebuffer; | 105 class WebGLFramebuffer; |
| 105 class WebGLLoseContext; | 106 class WebGLLoseContext; |
| 106 class WebGLObject; | 107 class WebGLObject; |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 friend class WebGLFramebuffer; | 425 friend class WebGLFramebuffer; |
| 425 friend class WebGLObject; | 426 friend class WebGLObject; |
| 426 friend class WebGLContextObject; | 427 friend class WebGLContextObject; |
| 427 friend class OESVertexArrayObject; | 428 friend class OESVertexArrayObject; |
| 428 friend class WebGLDebugShaders; | 429 friend class WebGLDebugShaders; |
| 429 friend class WebGLCompressedTextureASTC; | 430 friend class WebGLCompressedTextureASTC; |
| 430 friend class WebGLCompressedTextureATC; | 431 friend class WebGLCompressedTextureATC; |
| 431 friend class WebGLCompressedTextureETC1; | 432 friend class WebGLCompressedTextureETC1; |
| 432 friend class WebGLCompressedTexturePVRTC; | 433 friend class WebGLCompressedTexturePVRTC; |
| 433 friend class WebGLCompressedTextureS3TC; | 434 friend class WebGLCompressedTextureS3TC; |
| 435 friend class WebGLCompressedTextureS3TCsRGB; |
| 434 friend class WebGLRenderingContextErrorMessageCallback; | 436 friend class WebGLRenderingContextErrorMessageCallback; |
| 435 friend class WebGLVertexArrayObjectBase; | 437 friend class WebGLVertexArrayObjectBase; |
| 436 friend class ScopedTexture2DRestorer; | 438 friend class ScopedTexture2DRestorer; |
| 437 friend class ScopedFramebufferRestorer; | 439 friend class ScopedFramebufferRestorer; |
| 438 // To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. | 440 // To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. |
| 439 friend class V8WebGLRenderingContext; | 441 friend class V8WebGLRenderingContext; |
| 440 | 442 |
| 441 WebGLRenderingContextBase(HTMLCanvasElement*, std::unique_ptr<WebGraphicsCon
text3DProvider>, const CanvasContextCreationAttributes&, unsigned); | 443 WebGLRenderingContextBase(HTMLCanvasElement*, std::unique_ptr<WebGraphicsCon
text3DProvider>, const CanvasContextCreationAttributes&, unsigned); |
| 442 WebGLRenderingContextBase(OffscreenCanvas*, std::unique_ptr<WebGraphicsConte
xt3DProvider>, const CanvasContextCreationAttributes&, unsigned); | 444 WebGLRenderingContextBase(OffscreenCanvas*, std::unique_ptr<WebGraphicsConte
xt3DProvider>, const CanvasContextCreationAttributes&, unsigned); |
| 443 PassRefPtr<DrawingBuffer> createDrawingBuffer(std::unique_ptr<WebGraphicsCon
text3DProvider>); | 445 PassRefPtr<DrawingBuffer> createDrawingBuffer(std::unique_ptr<WebGraphicsCon
text3DProvider>); |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1102 bool isPaintable() const final { return drawingBuffer(); } | 1104 bool isPaintable() const final { return drawingBuffer(); } |
| 1103 }; | 1105 }; |
| 1104 | 1106 |
| 1105 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); | 1107 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); |
| 1106 | 1108 |
| 1107 } // namespace blink | 1109 } // namespace blink |
| 1108 | 1110 |
| 1109 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); | 1111 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); |
| 1110 | 1112 |
| 1111 #endif // WebGLRenderingContextBase_h | 1113 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |