| 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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 TraceWrapperMember<WebGLTexture> m_textureCubeMapBinding; | 567 TraceWrapperMember<WebGLTexture> m_textureCubeMapBinding; |
| 568 TraceWrapperMember<WebGLTexture> m_texture3DBinding; | 568 TraceWrapperMember<WebGLTexture> m_texture3DBinding; |
| 569 TraceWrapperMember<WebGLTexture> m_texture2DArrayBinding; | 569 TraceWrapperMember<WebGLTexture> m_texture2DArrayBinding; |
| 570 | 570 |
| 571 DECLARE_TRACE(); | 571 DECLARE_TRACE(); |
| 572 // Wrappers are traced by parent since TextureUnitState is not a heap | 572 // Wrappers are traced by parent since TextureUnitState is not a heap |
| 573 // object. | 573 // object. |
| 574 }; | 574 }; |
| 575 | 575 |
| 576 PassRefPtr<Image> getImage(AccelerationHint, SnapshotReason) const override; | 576 PassRefPtr<Image> getImage(AccelerationHint, SnapshotReason) const override; |
| 577 ImageData* toImageData(SnapshotReason) const override; | 577 ImageData* toImageData(SnapshotReason) override; |
| 578 void setFilterQuality(SkFilterQuality) override; | 578 void setFilterQuality(SkFilterQuality) override; |
| 579 bool isWebGL2OrHigher() { return version() >= 2; } | 579 bool isWebGL2OrHigher() { return version() >= 2; } |
| 580 | 580 |
| 581 void getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffscreenCanvas&) const; | 581 void getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffscreenCanvas&) const; |
| 582 | 582 |
| 583 void commit(ScriptState*, ExceptionState&); | 583 void commit(ScriptState*, ExceptionState&); |
| 584 | 584 |
| 585 protected: | 585 protected: |
| 586 friend class EXTDisjointTimerQuery; | 586 friend class EXTDisjointTimerQuery; |
| 587 friend class EXTDisjointTimerQueryWebGL2; | 587 friend class EXTDisjointTimerQueryWebGL2; |
| (...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1665 context, | 1665 context, |
| 1666 context->is3d(), | 1666 context->is3d(), |
| 1667 context.is3d()); | 1667 context.is3d()); |
| 1668 | 1668 |
| 1669 } // namespace blink | 1669 } // namespace blink |
| 1670 | 1670 |
| 1671 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1671 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( |
| 1672 blink::WebGLRenderingContextBase::TextureUnitState); | 1672 blink::WebGLRenderingContextBase::TextureUnitState); |
| 1673 | 1673 |
| 1674 #endif // WebGLRenderingContextBase_h | 1674 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |