| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 namespace gles2 { | 61 namespace gles2 { |
| 62 class GLES2Interface; | 62 class GLES2Interface; |
| 63 } | 63 } |
| 64 } | 64 } |
| 65 | 65 |
| 66 namespace blink { | 66 namespace blink { |
| 67 | 67 |
| 68 class ANGLEInstancedArrays; | 68 class ANGLEInstancedArrays; |
| 69 class EXTBlendMinMax; | 69 class EXTBlendMinMax; |
| 70 class EXTDisjointTimerQuery; | 70 class EXTDisjointTimerQuery; |
| 71 class EXTDisjointTimerQueryWebGL2; |
| 71 class EXTFragDepth; | 72 class EXTFragDepth; |
| 72 class EXTShaderTextureLOD; | 73 class EXTShaderTextureLOD; |
| 73 class EXTsRGB; | 74 class EXTsRGB; |
| 74 class EXTTextureFilterAnisotropic; | 75 class EXTTextureFilterAnisotropic; |
| 75 class ExceptionState; | 76 class ExceptionState; |
| 76 class HTMLCanvasElementOrOffscreenCanvas; | 77 class HTMLCanvasElementOrOffscreenCanvas; |
| 77 class HTMLImageElement; | 78 class HTMLImageElement; |
| 78 class HTMLVideoElement; | 79 class HTMLVideoElement; |
| 79 class ImageBitmap; | 80 class ImageBitmap; |
| 80 class ImageBuffer; | 81 class ImageBuffer; |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 PassRefPtr<Image> getImage(AccelerationHint, SnapshotReason) const override; | 601 PassRefPtr<Image> getImage(AccelerationHint, SnapshotReason) const override; |
| 601 void setFilterQuality(SkFilterQuality) override; | 602 void setFilterQuality(SkFilterQuality) override; |
| 602 bool isWebGL2OrHigher() { return version() >= 2; } | 603 bool isWebGL2OrHigher() { return version() >= 2; } |
| 603 | 604 |
| 604 void getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffscreenCanvas&) const; | 605 void getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffscreenCanvas&) const; |
| 605 | 606 |
| 606 void commit(ExceptionState&); | 607 void commit(ExceptionState&); |
| 607 | 608 |
| 608 protected: | 609 protected: |
| 609 friend class EXTDisjointTimerQuery; | 610 friend class EXTDisjointTimerQuery; |
| 611 friend class EXTDisjointTimerQueryWebGL2; |
| 610 friend class WebGLDrawBuffers; | 612 friend class WebGLDrawBuffers; |
| 611 friend class WebGLFramebuffer; | 613 friend class WebGLFramebuffer; |
| 612 friend class WebGLObject; | 614 friend class WebGLObject; |
| 613 friend class WebGLContextObject; | 615 friend class WebGLContextObject; |
| 614 friend class OESVertexArrayObject; | 616 friend class OESVertexArrayObject; |
| 615 friend class WebGLDebugShaders; | 617 friend class WebGLDebugShaders; |
| 616 friend class WebGLCompressedTextureASTC; | 618 friend class WebGLCompressedTextureASTC; |
| 617 friend class WebGLCompressedTextureATC; | 619 friend class WebGLCompressedTextureATC; |
| 618 friend class WebGLCompressedTextureETC; | 620 friend class WebGLCompressedTextureETC; |
| 619 friend class WebGLCompressedTextureETC1; | 621 friend class WebGLCompressedTextureETC1; |
| (...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1553 context, | 1555 context, |
| 1554 context->is3d(), | 1556 context->is3d(), |
| 1555 context.is3d()); | 1557 context.is3d()); |
| 1556 | 1558 |
| 1557 } // namespace blink | 1559 } // namespace blink |
| 1558 | 1560 |
| 1559 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1561 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( |
| 1560 blink::WebGLRenderingContextBase::TextureUnitState); | 1562 blink::WebGLRenderingContextBase::TextureUnitState); |
| 1561 | 1563 |
| 1562 #endif // WebGLRenderingContextBase_h | 1564 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |