| 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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 GLint m_packAlignment; | 551 GLint m_packAlignment; |
| 552 GLint m_unpackAlignment; | 552 GLint m_unpackAlignment; |
| 553 bool m_unpackFlipY; | 553 bool m_unpackFlipY; |
| 554 bool m_unpackPremultiplyAlpha; | 554 bool m_unpackPremultiplyAlpha; |
| 555 GLenum m_unpackColorspaceConversion; | 555 GLenum m_unpackColorspaceConversion; |
| 556 RefPtrWillBeMember<WebGLContextAttributes> m_requestedAttributes; | 556 RefPtrWillBeMember<WebGLContextAttributes> m_requestedAttributes; |
| 557 | 557 |
| 558 bool m_layerCleared; | 558 bool m_layerCleared; |
| 559 GLfloat m_clearColor[4]; | 559 GLfloat m_clearColor[4]; |
| 560 bool m_scissorEnabled; | 560 bool m_scissorEnabled; |
| 561 IntRect m_flippedScissorBox; |
| 561 GLfloat m_clearDepth; | 562 GLfloat m_clearDepth; |
| 562 GLint m_clearStencil; | 563 GLint m_clearStencil; |
| 563 GLboolean m_colorMask[4]; | 564 GLboolean m_colorMask[4]; |
| 564 GLboolean m_depthMask; | 565 GLboolean m_depthMask; |
| 565 | 566 |
| 566 bool m_stencilEnabled; | 567 bool m_stencilEnabled; |
| 567 GLuint m_stencilMask, m_stencilMaskBack; | 568 GLuint m_stencilMask, m_stencilMaskBack; |
| 568 GLint m_stencilFuncRef, m_stencilFuncRefBack; // Note that these are the use
r specified values, not the internal clamped value. | 569 GLint m_stencilFuncRef, m_stencilFuncRefBack; // Note that these are the use
r specified values, not the internal clamped value. |
| 569 GLuint m_stencilFuncMask, m_stencilFuncMaskBack; | 570 GLuint m_stencilFuncMask, m_stencilFuncMaskBack; |
| 570 | 571 |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 964 static IntSize oldestContextSize(); | 965 static IntSize oldestContextSize(); |
| 965 }; | 966 }; |
| 966 | 967 |
| 967 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); | 968 DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, co
ntext->is3d(), context.is3d()); |
| 968 | 969 |
| 969 } // namespace blink | 970 } // namespace blink |
| 970 | 971 |
| 971 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); | 972 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::WebGLRenderingContextB
ase::TextureUnitState); |
| 972 | 973 |
| 973 #endif // WebGLRenderingContextBase_h | 974 #endif // WebGLRenderingContextBase_h |
| OLD | NEW |