| 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 1617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1628 DOMArrayBufferView* pixels, | 1628 DOMArrayBufferView* pixels, |
| 1629 GLuint offset); | 1629 GLuint offset); |
| 1630 | 1630 |
| 1631 private: | 1631 private: |
| 1632 WebGLRenderingContextBase(HTMLCanvasElement*, | 1632 WebGLRenderingContextBase(HTMLCanvasElement*, |
| 1633 OffscreenCanvas*, | 1633 OffscreenCanvas*, |
| 1634 RefPtr<WebTaskRunner>, | 1634 RefPtr<WebTaskRunner>, |
| 1635 std::unique_ptr<WebGraphicsContext3DProvider>, | 1635 std::unique_ptr<WebGraphicsContext3DProvider>, |
| 1636 const CanvasContextCreationAttributes&, | 1636 const CanvasContextCreationAttributes&, |
| 1637 unsigned); | 1637 unsigned); |
| 1638 static bool supportOwnOffscreenSurface(ExecutionContext*); |
| 1638 static std::unique_ptr<WebGraphicsContext3DProvider> | 1639 static std::unique_ptr<WebGraphicsContext3DProvider> |
| 1639 createContextProviderInternal(HTMLCanvasElement*, | 1640 createContextProviderInternal(HTMLCanvasElement*, |
| 1640 ScriptState*, | 1641 ScriptState*, |
| 1641 const CanvasContextCreationAttributes&, | 1642 const CanvasContextCreationAttributes&, |
| 1642 unsigned); | 1643 unsigned); |
| 1643 void texImageCanvasByGPU(TexImageFunctionID, | 1644 void texImageCanvasByGPU(TexImageFunctionID, |
| 1644 HTMLCanvasElement*, | 1645 HTMLCanvasElement*, |
| 1645 GLuint, | 1646 GLuint, |
| 1646 GLenum, | 1647 GLenum, |
| 1647 GLenum, | 1648 GLenum, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1662 context, | 1663 context, |
| 1663 context->is3d(), | 1664 context->is3d(), |
| 1664 context.is3d()); | 1665 context.is3d()); |
| 1665 | 1666 |
| 1666 } // namespace blink | 1667 } // namespace blink |
| 1667 | 1668 |
| 1668 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1669 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( |
| 1669 blink::WebGLRenderingContextBase::TextureUnitState); | 1670 blink::WebGLRenderingContextBase::TextureUnitState); |
| 1670 | 1671 |
| 1671 #endif // WebGLRenderingContextBase_h | 1672 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |