| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 class IntSize; | 74 class IntSize; |
| 75 class OESElementIndexUint; | 75 class OESElementIndexUint; |
| 76 class OESStandardDerivatives; | 76 class OESStandardDerivatives; |
| 77 class OESTextureFloat; | 77 class OESTextureFloat; |
| 78 class OESTextureFloatLinear; | 78 class OESTextureFloatLinear; |
| 79 class OESTextureHalfFloat; | 79 class OESTextureHalfFloat; |
| 80 class OESTextureHalfFloatLinear; | 80 class OESTextureHalfFloatLinear; |
| 81 class OESVertexArrayObject; | 81 class OESVertexArrayObject; |
| 82 class WebGLActiveInfo; | 82 class WebGLActiveInfo; |
| 83 class WebGLBuffer; | 83 class WebGLBuffer; |
| 84 class WebGLCompressedTextureASTC; |
| 84 class WebGLCompressedTextureATC; | 85 class WebGLCompressedTextureATC; |
| 85 class WebGLCompressedTextureETC1; | 86 class WebGLCompressedTextureETC1; |
| 86 class WebGLCompressedTexturePVRTC; | 87 class WebGLCompressedTexturePVRTC; |
| 87 class WebGLCompressedTextureS3TC; | 88 class WebGLCompressedTextureS3TC; |
| 88 class WebGLContextGroup; | 89 class WebGLContextGroup; |
| 89 class WebGLContextObject; | 90 class WebGLContextObject; |
| 90 class WebGLDebugRendererInfo; | 91 class WebGLDebugRendererInfo; |
| 91 class WebGLDebugShaders; | 92 class WebGLDebugShaders; |
| 92 class WebGLDepthTexture; | 93 class WebGLDepthTexture; |
| 93 class WebGLDrawBuffers; | 94 class WebGLDrawBuffers; |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 void setFilterQuality(SkFilterQuality) override; | 404 void setFilterQuality(SkFilterQuality) override; |
| 404 bool isWebGL2OrHigher() { return version() >= 2; } | 405 bool isWebGL2OrHigher() { return version() >= 2; } |
| 405 | 406 |
| 406 protected: | 407 protected: |
| 407 friend class WebGLDrawBuffers; | 408 friend class WebGLDrawBuffers; |
| 408 friend class WebGLFramebuffer; | 409 friend class WebGLFramebuffer; |
| 409 friend class WebGLObject; | 410 friend class WebGLObject; |
| 410 friend class WebGLContextObject; | 411 friend class WebGLContextObject; |
| 411 friend class OESVertexArrayObject; | 412 friend class OESVertexArrayObject; |
| 412 friend class WebGLDebugShaders; | 413 friend class WebGLDebugShaders; |
| 414 friend class WebGLCompressedTextureASTC; |
| 413 friend class WebGLCompressedTextureATC; | 415 friend class WebGLCompressedTextureATC; |
| 414 friend class WebGLCompressedTextureETC1; | 416 friend class WebGLCompressedTextureETC1; |
| 415 friend class WebGLCompressedTexturePVRTC; | 417 friend class WebGLCompressedTexturePVRTC; |
| 416 friend class WebGLCompressedTextureS3TC; | 418 friend class WebGLCompressedTextureS3TC; |
| 417 friend class WebGLRenderingContextErrorMessageCallback; | 419 friend class WebGLRenderingContextErrorMessageCallback; |
| 418 friend class WebGLVertexArrayObjectBase; | 420 friend class WebGLVertexArrayObjectBase; |
| 419 friend class ScopedTexture2DRestorer; | 421 friend class ScopedTexture2DRestorer; |
| 420 friend class ScopedFramebufferRestorer; | 422 friend class ScopedFramebufferRestorer; |
| 421 | 423 |
| 422 WebGLRenderingContextBase(HTMLCanvasElement*, PassOwnPtr<WebGraphicsContext3
D>, const WebGLContextAttributes&); | 424 WebGLRenderingContextBase(HTMLCanvasElement*, PassOwnPtr<WebGraphicsContext3
D>, const WebGLContextAttributes&); |
| (...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1050 static IntSize oldestContextSize(); | 1052 static IntSize oldestContextSize(); |
| 1051 }; | 1053 }; |
| 1052 | 1054 |
| 1053 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); | 1055 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); |
| 1054 | 1056 |
| 1055 } // namespace blink | 1057 } // namespace blink |
| 1056 | 1058 |
| 1057 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); | 1059 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); |
| 1058 | 1060 |
| 1059 #endif // WebGLRenderingContextBase_h | 1061 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |