| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 namespace blink { | 65 namespace blink { |
| 66 | 66 |
| 67 class ANGLEInstancedArrays; | 67 class ANGLEInstancedArrays; |
| 68 class EXTBlendMinMax; | 68 class EXTBlendMinMax; |
| 69 class EXTDisjointTimerQuery; | 69 class EXTDisjointTimerQuery; |
| 70 class EXTFragDepth; | 70 class EXTFragDepth; |
| 71 class EXTShaderTextureLOD; | 71 class EXTShaderTextureLOD; |
| 72 class EXTsRGB; | 72 class EXTsRGB; |
| 73 class EXTTextureFilterAnisotropic; | 73 class EXTTextureFilterAnisotropic; |
| 74 class ExceptionState; | 74 class ExceptionState; |
| 75 class HTMLCanvasElementOrOffscreenCanvas; |
| 75 class HTMLImageElement; | 76 class HTMLImageElement; |
| 76 class HTMLVideoElement; | 77 class HTMLVideoElement; |
| 77 class ImageBitmap; | 78 class ImageBitmap; |
| 78 class ImageBuffer; | 79 class ImageBuffer; |
| 79 class ImageData; | 80 class ImageData; |
| 80 class IntSize; | 81 class IntSize; |
| 81 class OESElementIndexUint; | 82 class OESElementIndexUint; |
| 82 class OESStandardDerivatives; | 83 class OESStandardDerivatives; |
| 83 class OESTextureFloat; | 84 class OESTextureFloat; |
| 84 class OESTextureFloatLinear; | 85 class OESTextureFloatLinear; |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 Member<WebGLTexture> m_textureCubeMapBinding; | 407 Member<WebGLTexture> m_textureCubeMapBinding; |
| 407 Member<WebGLTexture> m_texture3DBinding; | 408 Member<WebGLTexture> m_texture3DBinding; |
| 408 Member<WebGLTexture> m_texture2DArrayBinding; | 409 Member<WebGLTexture> m_texture2DArrayBinding; |
| 409 | 410 |
| 410 DECLARE_TRACE(); | 411 DECLARE_TRACE(); |
| 411 }; | 412 }; |
| 412 | 413 |
| 413 void setFilterQuality(SkFilterQuality) override; | 414 void setFilterQuality(SkFilterQuality) override; |
| 414 bool isWebGL2OrHigher() { return version() >= 2; } | 415 bool isWebGL2OrHigher() { return version() >= 2; } |
| 415 | 416 |
| 417 void getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffscreenCanvas&) const; |
| 418 |
| 416 protected: | 419 protected: |
| 417 friend class EXTDisjointTimerQuery; | 420 friend class EXTDisjointTimerQuery; |
| 418 friend class WebGLDrawBuffers; | 421 friend class WebGLDrawBuffers; |
| 419 friend class WebGLFramebuffer; | 422 friend class WebGLFramebuffer; |
| 420 friend class WebGLObject; | 423 friend class WebGLObject; |
| 421 friend class WebGLContextObject; | 424 friend class WebGLContextObject; |
| 422 friend class OESVertexArrayObject; | 425 friend class OESVertexArrayObject; |
| 423 friend class WebGLDebugShaders; | 426 friend class WebGLDebugShaders; |
| 424 friend class WebGLCompressedTextureASTC; | 427 friend class WebGLCompressedTextureASTC; |
| 425 friend class WebGLCompressedTextureATC; | 428 friend class WebGLCompressedTextureATC; |
| (...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1116 const unsigned m_version; | 1119 const unsigned m_version; |
| 1117 }; | 1120 }; |
| 1118 | 1121 |
| 1119 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); | 1122 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); |
| 1120 | 1123 |
| 1121 } // namespace blink | 1124 } // namespace blink |
| 1122 | 1125 |
| 1123 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); | 1126 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); |
| 1124 | 1127 |
| 1125 #endif // WebGLRenderingContextBase_h | 1128 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |