| 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 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1691 DELEGATE_TO_GL_1(endQueryEXT, EndQueryARB, WGC3Denum) | 1691 DELEGATE_TO_GL_1(endQueryEXT, EndQueryARB, WGC3Denum) |
| 1692 DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivARB, WGC3Denum, WGC3Denum, WGC3Dint*) | 1692 DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivARB, WGC3Denum, WGC3Denum, WGC3Dint*) |
| 1693 DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB, | 1693 DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB, |
| 1694 WebGLId, WGC3Denum, WGC3Duint*) | 1694 WebGLId, WGC3Denum, WGC3Duint*) |
| 1695 | 1695 |
| 1696 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM( | 1696 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM( |
| 1697 WGC3Denum, WGC3Duint, WGC3Duint, WGC3Dint, WGC3Denum) { | 1697 WGC3Denum, WGC3Duint, WGC3Duint, WGC3Dint, WGC3Denum) { |
| 1698 NOTIMPLEMENTED(); | 1698 NOTIMPLEMENTED(); |
| 1699 } | 1699 } |
| 1700 | 1700 |
| 1701 void WebGraphicsContext3DInProcessImpl::bindTexImage2DCHROMIUM( |
| 1702 WGC3Denum target, WGC3Dint imageId) { |
| 1703 NOTIMPLEMENTED(); |
| 1704 } |
| 1705 |
| 1706 void WebGraphicsContext3DInProcessImpl::releaseTexImage2DCHROMIUM( |
| 1707 WGC3Denum target, WGC3Dint imageId) { |
| 1708 NOTIMPLEMENTED(); |
| 1709 } |
| 1710 |
| 1701 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { | 1711 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { |
| 1702 return gfx::CreateInProcessSkiaGLBinding(); | 1712 return gfx::CreateInProcessSkiaGLBinding(); |
| 1703 } | 1713 } |
| 1704 | 1714 |
| 1705 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { | 1715 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { |
| 1706 if (!ShInitialize()) | 1716 if (!ShInitialize()) |
| 1707 return false; | 1717 return false; |
| 1708 | 1718 |
| 1709 ShBuiltInResources resources; | 1719 ShBuiltInResources resources; |
| 1710 ShInitBuiltInResources(&resources); | 1720 ShInitBuiltInResources(&resources); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1775 if (length > 1) { | 1785 if (length > 1) { |
| 1776 entry->translated_source.reset(new char[length]); | 1786 entry->translated_source.reset(new char[length]); |
| 1777 ShGetObjectCode(compiler, entry->translated_source.get()); | 1787 ShGetObjectCode(compiler, entry->translated_source.get()); |
| 1778 } | 1788 } |
| 1779 entry->is_valid = true; | 1789 entry->is_valid = true; |
| 1780 return true; | 1790 return true; |
| 1781 } | 1791 } |
| 1782 | 1792 |
| 1783 } // namespace gpu | 1793 } // namespace gpu |
| 1784 } // namespace webkit | 1794 } // namespace webkit |
| OLD | NEW |