OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "CCResourceProvider.h" | 7 #include "cc/resource_provider.h" |
8 #ifdef LOG | 8 #ifdef LOG |
9 #undef LOG | 9 #undef LOG |
10 #endif | 10 #endif |
11 | 11 |
12 #include <limits.h> | 12 #include <limits.h> |
13 | 13 |
14 #include "base/debug/alias.h" | 14 #include "base/debug/alias.h" |
15 #include "base/hash_tables.h" | 15 #include "base/hash_tables.h" |
16 #include "base/stl_util.h" | 16 #include "base/stl_util.h" |
17 #include "base/string_split.h" | 17 #include "base/string_split.h" |
18 #include "base/string_util.h" | 18 #include "base/string_util.h" |
19 #include "CCProxy.h" | 19 #include "cc/proxy.h" |
20 #include "CCRendererGL.h" // For the GLC() macro. | 20 #include "cc/gl_renderer.h" // For the GLC() macro. |
21 #include "Extensions3DChromium.h" | 21 #include "Extensions3DChromium.h" |
22 #include "IntRect.h" | 22 #include "IntRect.h" |
23 #include "LayerTextureSubImage.h" | 23 #include "LayerTextureSubImage.h" |
24 #include "ThrottledTextureUploader.h" | 24 #include "ThrottledTextureUploader.h" |
25 #include "UnthrottledTextureUploader.h" | 25 #include "UnthrottledTextureUploader.h" |
26 #include <public/WebGraphicsContext3D.h> | 26 #include <public/WebGraphicsContext3D.h> |
27 | 27 |
28 using WebKit::WebGraphicsContext3D; | 28 using WebKit::WebGraphicsContext3D; |
29 | 29 |
30 namespace cc { | 30 namespace cc { |
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 if (ContainsKey(childPoolSet, it->second.pool)) | 726 if (ContainsKey(childPoolSet, it->second.pool)) |
727 #endif | 727 #endif |
728 ++maxMailboxCount; | 728 ++maxMailboxCount; |
729 } | 729 } |
730 } | 730 } |
731 while (m_mailboxes.size() > maxMailboxCount) | 731 while (m_mailboxes.size() > maxMailboxCount) |
732 m_mailboxes.removeFirst(); | 732 m_mailboxes.removeFirst(); |
733 } | 733 } |
734 | 734 |
735 } | 735 } |
OLD | NEW |