| 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   423     friend class WebGLDebugShaders; |   423     friend class WebGLDebugShaders; | 
|   424     friend class WebGLCompressedTextureASTC; |   424     friend class WebGLCompressedTextureASTC; | 
|   425     friend class WebGLCompressedTextureATC; |   425     friend class WebGLCompressedTextureATC; | 
|   426     friend class WebGLCompressedTextureETC1; |   426     friend class WebGLCompressedTextureETC1; | 
|   427     friend class WebGLCompressedTexturePVRTC; |   427     friend class WebGLCompressedTexturePVRTC; | 
|   428     friend class WebGLCompressedTextureS3TC; |   428     friend class WebGLCompressedTextureS3TC; | 
|   429     friend class WebGLRenderingContextErrorMessageCallback; |   429     friend class WebGLRenderingContextErrorMessageCallback; | 
|   430     friend class WebGLVertexArrayObjectBase; |   430     friend class WebGLVertexArrayObjectBase; | 
|   431     friend class ScopedTexture2DRestorer; |   431     friend class ScopedTexture2DRestorer; | 
|   432     friend class ScopedFramebufferRestorer; |   432     friend class ScopedFramebufferRestorer; | 
 |   433     friend class ScopedUnpackParametersResetRestore; | 
|   433  |   434  | 
|   434     WebGLRenderingContextBase(HTMLCanvasElement*, std::unique_ptr<WebGraphicsCon
      text3DProvider>, const WebGLContextAttributes&, unsigned); |   435     WebGLRenderingContextBase(HTMLCanvasElement*, std::unique_ptr<WebGraphicsCon
      text3DProvider>, const WebGLContextAttributes&, unsigned); | 
|   435     WebGLRenderingContextBase(OffscreenCanvas*, std::unique_ptr<WebGraphicsConte
      xt3DProvider>, const WebGLContextAttributes&, unsigned); |   436     WebGLRenderingContextBase(OffscreenCanvas*, std::unique_ptr<WebGraphicsConte
      xt3DProvider>, const WebGLContextAttributes&, unsigned); | 
|   436     PassRefPtr<DrawingBuffer> createDrawingBuffer(std::unique_ptr<WebGraphicsCon
      text3DProvider>); |   437     PassRefPtr<DrawingBuffer> createDrawingBuffer(std::unique_ptr<WebGraphicsCon
      text3DProvider>); | 
|   437     void setupFlags(); |   438     void setupFlags(); | 
|   438  |   439  | 
|   439     // CanvasRenderingContext implementation. |   440     // CanvasRenderingContext implementation. | 
|   440     bool is3d() const override { return true; } |   441     bool is3d() const override { return true; } | 
|   441     bool isAccelerated() const override { return true; } |   442     bool isAccelerated() const override { return true; } | 
|   442     void setIsHidden(bool) override; |   443     void setIsHidden(bool) override; | 
| (...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1116     const unsigned m_version; |  1117     const unsigned m_version; | 
|  1117 }; |  1118 }; | 
|  1118  |  1119  | 
|  1119 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
      ntext->is3d(), context.is3d()); |  1120 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
      ntext->is3d(), context.is3d()); | 
|  1120  |  1121  | 
|  1121 } // namespace blink |  1122 } // namespace blink | 
|  1122  |  1123  | 
|  1123 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
      ase::TextureUnitState); |  1124 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
      ase::TextureUnitState); | 
|  1124  |  1125  | 
|  1125 #endif // WebGLRenderingContextBase_h |  1126 #endif // WebGLRenderingContextBase_h | 
| OLD | NEW |