| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 11 |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/string_split.h" | 13 #include "base/string_split.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
| 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 18 #include "ui/gfx/gl/gl_bindings.h" | 18 #include "ui/gfx/gl/gl_bindings.h" |
| 19 #include "ui/gfx/gl/gl_bindings_skia_in_process.h" | 19 #include "ui/gfx/gl/gl_bindings_skia_in_process.h" |
| 20 #include "ui/gfx/gl/gl_context.h" | 20 #include "ui/gfx/gl/gl_context.h" |
| 21 #include "ui/gfx/gl/gl_implementation.h" | 21 #include "ui/gfx/gl/gl_implementation.h" |
| 22 #include "ui/gfx/gl/gl_surface.h" | 22 #include "ui/gfx/gl/gl_surface.h" |
| 23 | 23 |
| 24 namespace webkit { | 24 namespace webkit { |
| 25 namespace gpu { | 25 namespace gpu { |
| 26 | 26 |
| (...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1698 if (length > 1) { | 1698 if (length > 1) { |
| 1699 entry->translated_source.reset(new char[length]); | 1699 entry->translated_source.reset(new char[length]); |
| 1700 ShGetObjectCode(compiler, entry->translated_source.get()); | 1700 ShGetObjectCode(compiler, entry->translated_source.get()); |
| 1701 } | 1701 } |
| 1702 entry->is_valid = true; | 1702 entry->is_valid = true; |
| 1703 return true; | 1703 return true; |
| 1704 } | 1704 } |
| 1705 | 1705 |
| 1706 } // namespace gpu | 1706 } // namespace gpu |
| 1707 } // namespace webkit | 1707 } // namespace webkit |
| OLD | NEW |