| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 class OESTextureFloat; | 84 class OESTextureFloat; |
| 85 class OESTextureFloatLinear; | 85 class OESTextureFloatLinear; |
| 86 class OESTextureHalfFloat; | 86 class OESTextureHalfFloat; |
| 87 class OESTextureHalfFloatLinear; | 87 class OESTextureHalfFloatLinear; |
| 88 class OESVertexArrayObject; | 88 class OESVertexArrayObject; |
| 89 class WaitableEvent; | 89 class WaitableEvent; |
| 90 class WebGLActiveInfo; | 90 class WebGLActiveInfo; |
| 91 class WebGLBuffer; | 91 class WebGLBuffer; |
| 92 class WebGLCompressedTextureASTC; | 92 class WebGLCompressedTextureASTC; |
| 93 class WebGLCompressedTextureATC; | 93 class WebGLCompressedTextureATC; |
| 94 class WebGLCompressedTextureES30; |
| 94 class WebGLCompressedTextureETC1; | 95 class WebGLCompressedTextureETC1; |
| 95 class WebGLCompressedTexturePVRTC; | 96 class WebGLCompressedTexturePVRTC; |
| 96 class WebGLCompressedTextureS3TC; | 97 class WebGLCompressedTextureS3TC; |
| 97 class WebGLCompressedTextureS3TCsRGB; | 98 class WebGLCompressedTextureS3TCsRGB; |
| 98 class WebGLContextGroup; | 99 class WebGLContextGroup; |
| 99 class WebGLContextObject; | 100 class WebGLContextObject; |
| 100 class WebGLDebugRendererInfo; | 101 class WebGLDebugRendererInfo; |
| 101 class WebGLDebugShaders; | 102 class WebGLDebugShaders; |
| 102 class WebGLDepthTexture; | 103 class WebGLDepthTexture; |
| 103 class WebGLDrawBuffers; | 104 class WebGLDrawBuffers; |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 protected: | 425 protected: |
| 425 friend class EXTDisjointTimerQuery; | 426 friend class EXTDisjointTimerQuery; |
| 426 friend class WebGLDrawBuffers; | 427 friend class WebGLDrawBuffers; |
| 427 friend class WebGLFramebuffer; | 428 friend class WebGLFramebuffer; |
| 428 friend class WebGLObject; | 429 friend class WebGLObject; |
| 429 friend class WebGLContextObject; | 430 friend class WebGLContextObject; |
| 430 friend class OESVertexArrayObject; | 431 friend class OESVertexArrayObject; |
| 431 friend class WebGLDebugShaders; | 432 friend class WebGLDebugShaders; |
| 432 friend class WebGLCompressedTextureASTC; | 433 friend class WebGLCompressedTextureASTC; |
| 433 friend class WebGLCompressedTextureATC; | 434 friend class WebGLCompressedTextureATC; |
| 435 friend class WebGLCompressedTextureES30; |
| 434 friend class WebGLCompressedTextureETC1; | 436 friend class WebGLCompressedTextureETC1; |
| 435 friend class WebGLCompressedTexturePVRTC; | 437 friend class WebGLCompressedTexturePVRTC; |
| 436 friend class WebGLCompressedTextureS3TC; | 438 friend class WebGLCompressedTextureS3TC; |
| 437 friend class WebGLCompressedTextureS3TCsRGB; | 439 friend class WebGLCompressedTextureS3TCsRGB; |
| 438 friend class WebGLRenderingContextErrorMessageCallback; | 440 friend class WebGLRenderingContextErrorMessageCallback; |
| 439 friend class WebGLVertexArrayObjectBase; | 441 friend class WebGLVertexArrayObjectBase; |
| 440 friend class ScopedTexture2DRestorer; | 442 friend class ScopedTexture2DRestorer; |
| 441 friend class ScopedFramebufferRestorer; | 443 friend class ScopedFramebufferRestorer; |
| 442 // To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. | 444 // To allow V8WebGL[2]RenderingContext to call visitChildDOMWrappers. |
| 443 friend class V8WebGLRenderingContext; | 445 friend class V8WebGLRenderingContext; |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 bool isPaintable() const final { return drawingBuffer(); } | 1108 bool isPaintable() const final { return drawingBuffer(); } |
| 1107 }; | 1109 }; |
| 1108 | 1110 |
| 1109 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); | 1111 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); |
| 1110 | 1112 |
| 1111 } // namespace blink | 1113 } // namespace blink |
| 1112 | 1114 |
| 1113 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); | 1115 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); |
| 1114 | 1116 |
| 1115 #endif // WebGLRenderingContextBase_h | 1117 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |