| 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 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 m_drawingBuffer->restoreFramebufferBindings(); | 747 m_drawingBuffer->restoreFramebufferBindings(); |
| 748 } | 748 } |
| 749 | 749 |
| 750 private: | 750 private: |
| 751 DrawingBuffer* m_drawingBuffer; | 751 DrawingBuffer* m_drawingBuffer; |
| 752 Member<WebGLFramebuffer> m_readFramebufferBinding; | 752 Member<WebGLFramebuffer> m_readFramebufferBinding; |
| 753 }; | 753 }; |
| 754 | 754 |
| 755 // Errors raised by synthesizeGLError() while the context is lost. | 755 // Errors raised by synthesizeGLError() while the context is lost. |
| 756 Vector<GLenum> m_lostContextErrors; | 756 Vector<GLenum> m_lostContextErrors; |
| 757 // Other errors raised by synthesizeGLError(). |
| 758 Vector<GLenum> m_syntheticErrors; |
| 757 | 759 |
| 758 bool m_isWebGL2FormatsTypesAdded; | 760 bool m_isWebGL2FormatsTypesAdded; |
| 759 bool m_isWebGL2InternalFormatsCopyTexImageAdded; | 761 bool m_isWebGL2InternalFormatsCopyTexImageAdded; |
| 760 bool m_isOESTextureFloatFormatsTypesAdded; | 762 bool m_isOESTextureFloatFormatsTypesAdded; |
| 761 bool m_isOESTextureHalfFloatFormatsTypesAdded; | 763 bool m_isOESTextureHalfFloatFormatsTypesAdded; |
| 762 bool m_isWebGLDepthTextureFormatsTypesAdded; | 764 bool m_isWebGLDepthTextureFormatsTypesAdded; |
| 763 bool m_isEXTsRGBFormatsTypesAdded; | 765 bool m_isEXTsRGBFormatsTypesAdded; |
| 764 | 766 |
| 765 std::set<GLenum> m_supportedInternalFormats; | 767 std::set<GLenum> m_supportedInternalFormats; |
| 766 std::set<GLenum> m_supportedInternalFormatsCopyTexImage; | 768 std::set<GLenum> m_supportedInternalFormatsCopyTexImage; |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1102 #endif | 1104 #endif |
| 1103 }; | 1105 }; |
| 1104 | 1106 |
| 1105 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); | 1107 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); |
| 1106 | 1108 |
| 1107 } // namespace blink | 1109 } // namespace blink |
| 1108 | 1110 |
| 1109 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); | 1111 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); |
| 1110 | 1112 |
| 1111 #endif // WebGLRenderingContextBase_h | 1113 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |