| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 #include <wtf/TemporaryChange.h> | 63 #include <wtf/TemporaryChange.h> |
| 64 | 64 |
| 65 #if !LOG_DISABLED | 65 #if !LOG_DISABLED |
| 66 #include <wtf/CurrentTime.h> | 66 #include <wtf/CurrentTime.h> |
| 67 #endif | 67 #endif |
| 68 | 68 |
| 69 #ifndef NDEBUG | 69 #ifndef NDEBUG |
| 70 #include "RenderTreeAsText.h" | 70 #include "RenderTreeAsText.h" |
| 71 #endif | 71 #endif |
| 72 | 72 |
| 73 #if ENABLE(3D_RENDERING) | |
| 74 // This symbol is used to determine from a script whether 3D rendering is enable
d (via 'nm'). | |
| 75 bool WebCoreHas3DRendering = true; | |
| 76 #endif | |
| 77 | |
| 78 #define WTF_USE_COMPOSITING_FOR_SMALL_CANVASES 1 | 73 #define WTF_USE_COMPOSITING_FOR_SMALL_CANVASES 1 |
| 79 | 74 |
| 80 static const int canvasAreaThresholdRequiringCompositing = 50 * 100; | 75 static const int canvasAreaThresholdRequiringCompositing = 50 * 100; |
| 81 | 76 |
| 82 namespace WebCore { | 77 namespace WebCore { |
| 83 | 78 |
| 84 using namespace HTMLNames; | 79 using namespace HTMLNames; |
| 85 | 80 |
| 86 class RenderLayerCompositor::OverlapMap { | 81 class RenderLayerCompositor::OverlapMap { |
| 87 WTF_MAKE_NONCOPYABLE(OverlapMap); | 82 WTF_MAKE_NONCOPYABLE(OverlapMap); |
| (...skipping 2695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2783 info.addMember(m_layerForOverhangAreas, "layerForOverhangAreas"); | 2778 info.addMember(m_layerForOverhangAreas, "layerForOverhangAreas"); |
| 2784 info.addMember(m_contentShadowLayer, "contentShadowLayer"); | 2779 info.addMember(m_contentShadowLayer, "contentShadowLayer"); |
| 2785 info.addMember(m_layerForTopOverhangArea, "layerForTopOverhangArea"); | 2780 info.addMember(m_layerForTopOverhangArea, "layerForTopOverhangArea"); |
| 2786 info.addMember(m_layerForBottomOverhangArea, "layerForBottomOverhangArea"); | 2781 info.addMember(m_layerForBottomOverhangArea, "layerForBottomOverhangArea"); |
| 2787 info.addMember(m_layerForHeader, "layerForHeader"); | 2782 info.addMember(m_layerForHeader, "layerForHeader"); |
| 2788 info.addMember(m_layerForFooter, "layerForFooter"); | 2783 info.addMember(m_layerForFooter, "layerForFooter"); |
| 2789 #endif | 2784 #endif |
| 2790 } | 2785 } |
| 2791 | 2786 |
| 2792 } // namespace WebCore | 2787 } // namespace WebCore |
| OLD | NEW |