| 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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 public: | 588 public: |
| 589 Member<WebGLTexture> m_texture2DBinding; | 589 Member<WebGLTexture> m_texture2DBinding; |
| 590 Member<WebGLTexture> m_textureCubeMapBinding; | 590 Member<WebGLTexture> m_textureCubeMapBinding; |
| 591 Member<WebGLTexture> m_texture3DBinding; | 591 Member<WebGLTexture> m_texture3DBinding; |
| 592 Member<WebGLTexture> m_texture2DArrayBinding; | 592 Member<WebGLTexture> m_texture2DArrayBinding; |
| 593 | 593 |
| 594 DECLARE_TRACE(); | 594 DECLARE_TRACE(); |
| 595 }; | 595 }; |
| 596 | 596 |
| 597 PassRefPtr<Image> getImage(AccelerationHint, SnapshotReason) const override; | 597 PassRefPtr<Image> getImage(AccelerationHint, SnapshotReason) const override; |
| 598 ImageData* toImageData(SnapshotReason) const override; |
| 598 void setFilterQuality(SkFilterQuality) override; | 599 void setFilterQuality(SkFilterQuality) override; |
| 599 bool isWebGL2OrHigher() { return version() >= 2; } | 600 bool isWebGL2OrHigher() { return version() >= 2; } |
| 600 | 601 |
| 601 void getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffscreenCanvas&) const; | 602 void getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffscreenCanvas&) const; |
| 602 | 603 |
| 603 void commit(ExceptionState&); | 604 void commit(ExceptionState&); |
| 604 | 605 |
| 605 protected: | 606 protected: |
| 606 friend class EXTDisjointTimerQuery; | 607 friend class EXTDisjointTimerQuery; |
| 607 friend class WebGLDrawBuffers; | 608 friend class WebGLDrawBuffers; |
| (...skipping 942 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 |