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 6674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6685 DEFINE_TRACE(WebGLRenderingContextBase::TextureUnitState) | 6685 DEFINE_TRACE(WebGLRenderingContextBase::TextureUnitState) |
6686 { | 6686 { |
6687 visitor->trace(m_texture2DBinding); | 6687 visitor->trace(m_texture2DBinding); |
6688 visitor->trace(m_textureCubeMapBinding); | 6688 visitor->trace(m_textureCubeMapBinding); |
6689 visitor->trace(m_texture3DBinding); | 6689 visitor->trace(m_texture3DBinding); |
6690 visitor->trace(m_texture2DArrayBinding); | 6690 visitor->trace(m_texture2DArrayBinding); |
6691 } | 6691 } |
6692 | 6692 |
6693 DEFINE_TRACE(WebGLRenderingContextBase) | 6693 DEFINE_TRACE(WebGLRenderingContextBase) |
6694 { | 6694 { |
| 6695 #if ENABLE(OILPAN) |
6695 visitor->trace(m_contextObjects); | 6696 visitor->trace(m_contextObjects); |
| 6697 #endif |
6696 visitor->trace(m_contextLostCallbackAdapter); | 6698 visitor->trace(m_contextLostCallbackAdapter); |
6697 visitor->trace(m_errorMessageCallbackAdapter); | 6699 visitor->trace(m_errorMessageCallbackAdapter); |
6698 visitor->trace(m_boundArrayBuffer); | 6700 visitor->trace(m_boundArrayBuffer); |
6699 visitor->trace(m_defaultVertexArrayObject); | 6701 visitor->trace(m_defaultVertexArrayObject); |
6700 visitor->trace(m_boundVertexArrayObject); | 6702 visitor->trace(m_boundVertexArrayObject); |
6701 visitor->trace(m_vertexAttrib0Buffer); | 6703 visitor->trace(m_vertexAttrib0Buffer); |
6702 visitor->trace(m_currentProgram); | 6704 visitor->trace(m_currentProgram); |
6703 visitor->trace(m_framebufferBinding); | 6705 visitor->trace(m_framebufferBinding); |
6704 visitor->trace(m_renderbufferBinding); | 6706 visitor->trace(m_renderbufferBinding); |
6705 visitor->trace(m_valuebufferBinding); | 6707 visitor->trace(m_valuebufferBinding); |
(...skipping 29 matching lines...) Expand all Loading... |
6735 | 6737 |
6736 return totalBytesPerPixel; | 6738 return totalBytesPerPixel; |
6737 } | 6739 } |
6738 | 6740 |
6739 DrawingBuffer* WebGLRenderingContextBase::drawingBuffer() const | 6741 DrawingBuffer* WebGLRenderingContextBase::drawingBuffer() const |
6740 { | 6742 { |
6741 return m_drawingBuffer.get(); | 6743 return m_drawingBuffer.get(); |
6742 } | 6744 } |
6743 | 6745 |
6744 } // namespace blink | 6746 } // namespace blink |
OLD | NEW |