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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 long m_vertexAttrib0BufferSize; | 563 long m_vertexAttrib0BufferSize; |
564 GLfloat m_vertexAttrib0BufferValue[4]; | 564 GLfloat m_vertexAttrib0BufferValue[4]; |
565 bool m_forceAttrib0BufferRefill; | 565 bool m_forceAttrib0BufferRefill; |
566 bool m_vertexAttrib0UsedBefore; | 566 bool m_vertexAttrib0UsedBefore; |
567 | 567 |
568 PersistentWillBeMember<WebGLProgram> m_currentProgram; | 568 PersistentWillBeMember<WebGLProgram> m_currentProgram; |
569 PersistentWillBeMember<WebGLFramebuffer> m_framebufferBinding; | 569 PersistentWillBeMember<WebGLFramebuffer> m_framebufferBinding; |
570 PersistentWillBeMember<WebGLRenderbuffer> m_renderbufferBinding; | 570 PersistentWillBeMember<WebGLRenderbuffer> m_renderbufferBinding; |
571 PersistentWillBeMember<CHROMIUMValuebuffer> m_valuebufferBinding; | 571 PersistentWillBeMember<CHROMIUMValuebuffer> m_valuebufferBinding; |
572 | 572 |
573 GC_PLUGIN_IGNORE("crbug.com/496496") | |
574 PersistentHeapVectorWillBeHeapVector<TextureUnitState> m_textureUnits; | 573 PersistentHeapVectorWillBeHeapVector<TextureUnitState> m_textureUnits; |
575 unsigned long m_activeTextureUnit; | 574 unsigned long m_activeTextureUnit; |
576 | 575 |
577 PersistentWillBeMember<WebGLTexture> m_blackTexture2D; | 576 PersistentWillBeMember<WebGLTexture> m_blackTexture2D; |
578 PersistentWillBeMember<WebGLTexture> m_blackTextureCubeMap; | 577 PersistentWillBeMember<WebGLTexture> m_blackTextureCubeMap; |
579 | 578 |
580 Vector<GLenum> m_compressedTextureFormats; | 579 Vector<GLenum> m_compressedTextureFormats; |
581 | 580 |
582 // Fixed-size cache of reusable image buffers for video texImage2D calls. | 581 // Fixed-size cache of reusable image buffers for video texImage2D calls. |
583 class LRUImageBufferCache { | 582 class LRUImageBufferCache { |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 static IntSize oldestContextSize(); | 1103 static IntSize oldestContextSize(); |
1105 }; | 1104 }; |
1106 | 1105 |
1107 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); | 1106 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); |
1108 | 1107 |
1109 } // namespace blink | 1108 } // namespace blink |
1110 | 1109 |
1111 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); | 1110 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); |
1112 | 1111 |
1113 #endif // WebGLRenderingContextBase_h | 1112 #endif // WebGLRenderingContextBase_h |
OLD | NEW |