| OLD | NEW |
| 1 // Copyright (c) 2010 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 "app/gfx/gl/gl_bindings.h" | |
| 13 #include "app/gfx/gl/gl_context.h" | |
| 14 #include "app/gfx/gl/gl_implementation.h" | |
| 15 #include "base/logging.h" | 12 #include "base/logging.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" |
| 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 16 #include "ui/gfx/gl/gl_bindings.h" |
| 17 #include "ui/gfx/gl/gl_context.h" |
| 18 #include "ui/gfx/gl/gl_implementation.h" |
| 19 | 19 |
| 20 namespace webkit { | 20 namespace webkit { |
| 21 namespace gpu { | 21 namespace gpu { |
| 22 | 22 |
| 23 enum { | 23 enum { |
| 24 MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB, | 24 MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB, |
| 25 MAX_VARYING_VECTORS = 0x8DFC, | 25 MAX_VARYING_VECTORS = 0x8DFC, |
| 26 MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD | 26 MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD |
| 27 }; | 27 }; |
| 28 | 28 |
| (...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1600 else | 1600 else |
| 1601 ShGetObjectCode(compiler, entry->translated_source.get()); | 1601 ShGetObjectCode(compiler, entry->translated_source.get()); |
| 1602 } | 1602 } |
| 1603 entry->is_valid = true; | 1603 entry->is_valid = true; |
| 1604 return true; | 1604 return true; |
| 1605 } | 1605 } |
| 1606 | 1606 |
| 1607 } // namespace gpu | 1607 } // namespace gpu |
| 1608 } // namespace webkit | 1608 } // namespace webkit |
| 1609 | 1609 |
| OLD | NEW |