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 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 GLenum m_readBufferOfDefaultFramebuffer; | 754 GLenum m_readBufferOfDefaultFramebuffer; |
755 | 755 |
756 GLint m_packAlignment; | 756 GLint m_packAlignment; |
757 GLint m_unpackAlignment; | 757 GLint m_unpackAlignment; |
758 bool m_unpackFlipY; | 758 bool m_unpackFlipY; |
759 bool m_unpackPremultiplyAlpha; | 759 bool m_unpackPremultiplyAlpha; |
760 GLenum m_unpackColorspaceConversion; | 760 GLenum m_unpackColorspaceConversion; |
761 | 761 |
762 GLfloat m_clearColor[4]; | 762 GLfloat m_clearColor[4]; |
763 bool m_scissorEnabled; | 763 bool m_scissorEnabled; |
| 764 GLint m_scissorBox[4]; |
764 GLfloat m_clearDepth; | 765 GLfloat m_clearDepth; |
765 GLint m_clearStencil; | 766 GLint m_clearStencil; |
766 GLboolean m_colorMask[4]; | 767 GLboolean m_colorMask[4]; |
767 GLboolean m_depthMask; | 768 GLboolean m_depthMask; |
768 | 769 |
769 bool m_stencilEnabled; | 770 bool m_stencilEnabled; |
770 GLuint m_stencilMask, m_stencilMaskBack; | 771 GLuint m_stencilMask, m_stencilMaskBack; |
771 GLint m_stencilFuncRef, | 772 GLint m_stencilFuncRef, |
772 m_stencilFuncRefBack; // Note that these are the user specified values, n
ot the internal clamped value. | 773 m_stencilFuncRefBack; // Note that these are the user specified values, n
ot the internal clamped value. |
773 GLuint m_stencilFuncMask, m_stencilFuncMaskBack; | 774 GLuint m_stencilFuncMask, m_stencilFuncMaskBack; |
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1510 context, | 1511 context, |
1511 context->is3d(), | 1512 context->is3d(), |
1512 context.is3d()); | 1513 context.is3d()); |
1513 | 1514 |
1514 } // namespace blink | 1515 } // namespace blink |
1515 | 1516 |
1516 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1517 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( |
1517 blink::WebGLRenderingContextBase::TextureUnitState); | 1518 blink::WebGLRenderingContextBase::TextureUnitState); |
1518 | 1519 |
1519 #endif // WebGLRenderingContextBase_h | 1520 #endif // WebGLRenderingContextBase_h |
OLD | NEW |