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 1713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1724 void* WebGraphicsContext3DInProcessImpl::mapBufferCHROMIUM( | 1724 void* WebGraphicsContext3DInProcessImpl::mapBufferCHROMIUM( |
1725 WGC3Denum target, WGC3Denum access) { | 1725 WGC3Denum target, WGC3Denum access) { |
1726 return 0; | 1726 return 0; |
1727 } | 1727 } |
1728 | 1728 |
1729 WGC3Dboolean WebGraphicsContext3DInProcessImpl::unmapBufferCHROMIUM( | 1729 WGC3Dboolean WebGraphicsContext3DInProcessImpl::unmapBufferCHROMIUM( |
1730 WGC3Denum target) { | 1730 WGC3Denum target) { |
1731 return false; | 1731 return false; |
1732 } | 1732 } |
1733 | 1733 |
| 1734 void WebGraphicsContext3DInProcessImpl::drawBuffersEXT( |
| 1735 WGC3Dsizei n, const WGC3Denum* bufs) { |
| 1736 NOTIMPLEMENTED(); |
| 1737 } |
| 1738 |
1734 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { | 1739 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { |
1735 return gfx::CreateInProcessSkiaGLBinding(); | 1740 return gfx::CreateInProcessSkiaGLBinding(); |
1736 } | 1741 } |
1737 | 1742 |
1738 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { | 1743 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { |
1739 if (!ShInitialize()) | 1744 if (!ShInitialize()) |
1740 return false; | 1745 return false; |
1741 | 1746 |
1742 ShBuiltInResources resources; | 1747 ShBuiltInResources resources; |
1743 ShInitBuiltInResources(&resources); | 1748 ShInitBuiltInResources(&resources); |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1819 if (length > 1) { | 1824 if (length > 1) { |
1820 entry->translated_source.reset(new char[length]); | 1825 entry->translated_source.reset(new char[length]); |
1821 ShGetObjectCode(compiler, entry->translated_source.get()); | 1826 ShGetObjectCode(compiler, entry->translated_source.get()); |
1822 } | 1827 } |
1823 entry->is_valid = true; | 1828 entry->is_valid = true; |
1824 return true; | 1829 return true; |
1825 } | 1830 } |
1826 | 1831 |
1827 } // namespace gpu | 1832 } // namespace gpu |
1828 } // namespace webkit | 1833 } // namespace webkit |
OLD | NEW |