| 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> |
| (...skipping 1714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1725 } | 1725 } |
| 1726 | 1726 |
| 1727 DELEGATE_TO_GL_1R(isQueryEXT, IsQueryARB, WebGLId, WGC3Dboolean) | 1727 DELEGATE_TO_GL_1R(isQueryEXT, IsQueryARB, WebGLId, WGC3Dboolean) |
| 1728 DELEGATE_TO_GL_2(beginQueryEXT, BeginQueryARB, WGC3Denum, WebGLId) | 1728 DELEGATE_TO_GL_2(beginQueryEXT, BeginQueryARB, WGC3Denum, WebGLId) |
| 1729 DELEGATE_TO_GL_1(endQueryEXT, EndQueryARB, WGC3Denum) | 1729 DELEGATE_TO_GL_1(endQueryEXT, EndQueryARB, WGC3Denum) |
| 1730 DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivARB, WGC3Denum, WGC3Denum, WGC3Dint*) | 1730 DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivARB, WGC3Denum, WGC3Denum, WGC3Dint*) |
| 1731 DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB, | 1731 DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB, |
| 1732 WebGLId, WGC3Denum, WGC3Duint*) | 1732 WebGLId, WGC3Denum, WGC3Duint*) |
| 1733 | 1733 |
| 1734 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM( | 1734 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM( |
| 1735 WGC3Denum, WGC3Duint, WGC3Duint, WGC3Dint, WGC3Denum) { | 1735 WGC3Denum, WGC3Duint, WGC3Duint, WGC3Dint, WGC3Denum, WGC3Denum) { |
| 1736 NOTIMPLEMENTED(); | 1736 NOTIMPLEMENTED(); |
| 1737 } | 1737 } |
| 1738 | 1738 |
| 1739 void WebGraphicsContext3DInProcessImpl::bindTexImage2DCHROMIUM( | 1739 void WebGraphicsContext3DInProcessImpl::bindTexImage2DCHROMIUM( |
| 1740 WGC3Denum target, WGC3Dint imageId) { | 1740 WGC3Denum target, WGC3Dint imageId) { |
| 1741 NOTIMPLEMENTED(); | 1741 NOTIMPLEMENTED(); |
| 1742 } | 1742 } |
| 1743 | 1743 |
| 1744 void WebGraphicsContext3DInProcessImpl::releaseTexImage2DCHROMIUM( | 1744 void WebGraphicsContext3DInProcessImpl::releaseTexImage2DCHROMIUM( |
| 1745 WGC3Denum target, WGC3Dint imageId) { | 1745 WGC3Denum target, WGC3Dint imageId) { |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1849 if (length > 1) { | 1849 if (length > 1) { |
| 1850 entry->translated_source.reset(new char[length]); | 1850 entry->translated_source.reset(new char[length]); |
| 1851 ShGetObjectCode(compiler, entry->translated_source.get()); | 1851 ShGetObjectCode(compiler, entry->translated_source.get()); |
| 1852 } | 1852 } |
| 1853 entry->is_valid = true; | 1853 entry->is_valid = true; |
| 1854 return true; | 1854 return true; |
| 1855 } | 1855 } |
| 1856 | 1856 |
| 1857 } // namespace gpu | 1857 } // namespace gpu |
| 1858 } // namespace webkit | 1858 } // namespace webkit |
| OLD | NEW |