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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 | 378 |
379 class TextureUnitState { | 379 class TextureUnitState { |
380 ALLOW_ONLY_INLINE_ALLOCATION(); | 380 ALLOW_ONLY_INLINE_ALLOCATION(); |
381 public: | 381 public: |
382 RefPtrWillBeMember<WebGLTexture> m_texture2DBinding; | 382 RefPtrWillBeMember<WebGLTexture> m_texture2DBinding; |
383 RefPtrWillBeMember<WebGLTexture> m_textureCubeMapBinding; | 383 RefPtrWillBeMember<WebGLTexture> m_textureCubeMapBinding; |
384 | 384 |
385 DECLARE_TRACE(); | 385 DECLARE_TRACE(); |
386 }; | 386 }; |
387 | 387 |
388 void setFilterLevel(SkPaint::FilterLevel); | 388 void setFilterQuality(SkFilterQuality); |
389 | 389 |
390 protected: | 390 protected: |
391 friend class WebGLDrawBuffers; | 391 friend class WebGLDrawBuffers; |
392 friend class WebGLFramebuffer; | 392 friend class WebGLFramebuffer; |
393 friend class WebGLObject; | 393 friend class WebGLObject; |
394 friend class WebGLContextObject; | 394 friend class WebGLContextObject; |
395 friend class OESVertexArrayObject; | 395 friend class OESVertexArrayObject; |
396 friend class WebGLDebugShaders; | 396 friend class WebGLDebugShaders; |
397 friend class WebGLCompressedTextureATC; | 397 friend class WebGLCompressedTextureATC; |
398 friend class WebGLCompressedTextureETC1; | 398 friend class WebGLCompressedTextureETC1; |
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 static IntSize oldestContextSize(); | 987 static IntSize oldestContextSize(); |
988 }; | 988 }; |
989 | 989 |
990 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); | 990 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); |
991 | 991 |
992 } // namespace blink | 992 } // namespace blink |
993 | 993 |
994 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); | 994 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); |
995 | 995 |
996 #endif // WebGLRenderingContextBase_h | 996 #endif // WebGLRenderingContextBase_h |
OLD | NEW |