Chromium Code Reviews| 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) { | |
|
piman
2012/10/12 22:05:11
NOTIMPLEMENTED(); here and below
reveman
2012/10/13 05:25:53
Done.
| |
| 1703 } | |
| 1704 | |
| 1705 void WebGraphicsContext3DInProcessImpl::releaseTexImage2DCHROMIUM( | |
| 1706 WGC3Denum target, WGC3Dint imageId) { | |
| 1707 } | |
| 1708 | |
| 1701 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { | 1709 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { |
| 1702 return gfx::CreateInProcessSkiaGLBinding(); | 1710 return gfx::CreateInProcessSkiaGLBinding(); |
| 1703 } | 1711 } |
| 1704 | 1712 |
| 1705 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { | 1713 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { |
| 1706 if (!ShInitialize()) | 1714 if (!ShInitialize()) |
| 1707 return false; | 1715 return false; |
| 1708 | 1716 |
| 1709 ShBuiltInResources resources; | 1717 ShBuiltInResources resources; |
| 1710 ShInitBuiltInResources(&resources); | 1718 ShInitBuiltInResources(&resources); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1775 if (length > 1) { | 1783 if (length > 1) { |
| 1776 entry->translated_source.reset(new char[length]); | 1784 entry->translated_source.reset(new char[length]); |
| 1777 ShGetObjectCode(compiler, entry->translated_source.get()); | 1785 ShGetObjectCode(compiler, entry->translated_source.get()); |
| 1778 } | 1786 } |
| 1779 entry->is_valid = true; | 1787 entry->is_valid = true; |
| 1780 return true; | 1788 return true; |
| 1781 } | 1789 } |
| 1782 | 1790 |
| 1783 } // namespace gpu | 1791 } // namespace gpu |
| 1784 } // namespace webkit | 1792 } // namespace webkit |
| OLD | NEW |