OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "webkit/gpu/webgraphicscontext3d_in_process_impl.h" | 5 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/string_split.h" | 16 #include "base/strings/string_split.h" |
17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
18 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 18 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
21 #include "ui/gl/gl_bindings.h" | 21 #include "ui/gl/gl_bindings.h" |
22 #include "ui/gl/gl_bindings_skia_in_process.h" | 22 #include "ui/gl/gl_bindings_skia_in_process.h" |
23 #include "ui/gl/gl_context.h" | 23 #include "ui/gl/gl_context.h" |
24 #include "ui/gl/gl_implementation.h" | 24 #include "ui/gl/gl_implementation.h" |
25 #include "ui/gl/gl_surface.h" | 25 #include "ui/gl/gl_surface.h" |
26 | 26 |
(...skipping 1792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1819 if (length > 1) { | 1819 if (length > 1) { |
1820 entry->translated_source.reset(new char[length]); | 1820 entry->translated_source.reset(new char[length]); |
1821 ShGetObjectCode(compiler, entry->translated_source.get()); | 1821 ShGetObjectCode(compiler, entry->translated_source.get()); |
1822 } | 1822 } |
1823 entry->is_valid = true; | 1823 entry->is_valid = true; |
1824 return true; | 1824 return true; |
1825 } | 1825 } |
1826 | 1826 |
1827 } // namespace gpu | 1827 } // namespace gpu |
1828 } // namespace webkit | 1828 } // namespace webkit |
OLD | NEW |