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 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1669 DELEGATE_TO_GL_1(endQueryEXT, EndQueryARB, WGC3Denum) | 1669 DELEGATE_TO_GL_1(endQueryEXT, EndQueryARB, WGC3Denum) |
1670 DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivARB, WGC3Denum, WGC3Denum, WGC3Dint*) | 1670 DELEGATE_TO_GL_3(getQueryivEXT, GetQueryivARB, WGC3Denum, WGC3Denum, WGC3Dint*) |
1671 DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB, | 1671 DELEGATE_TO_GL_3(getQueryObjectuivEXT, GetQueryObjectuivARB, |
1672 WebGLId, WGC3Denum, WGC3Duint*) | 1672 WebGLId, WGC3Denum, WGC3Duint*) |
1673 | 1673 |
1674 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM( | 1674 void WebGraphicsContext3DInProcessImpl::copyTextureCHROMIUM( |
1675 WGC3Denum, WebGLId, WebGLId, WGC3Dint, WGC3Denum) | 1675 WGC3Denum, WebGLId, WebGLId, WGC3Dint, WGC3Denum) |
1676 { | 1676 { |
1677 } | 1677 } |
1678 | 1678 |
| 1679 void WebGraphicsContext3DInProcessImpl::texImagePixmap2DCHROMIUM( |
| 1680 WGC3Denum target, WGC3Duint pixmapId) { |
| 1681 } |
| 1682 |
1679 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { | 1683 GrGLInterface* WebGraphicsContext3DInProcessImpl::onCreateGrGLInterface() { |
1680 return gfx::CreateInProcessSkiaGLBinding(); | 1684 return gfx::CreateInProcessSkiaGLBinding(); |
1681 } | 1685 } |
1682 | 1686 |
1683 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { | 1687 bool WebGraphicsContext3DInProcessImpl::AngleCreateCompilers() { |
1684 if (!ShInitialize()) | 1688 if (!ShInitialize()) |
1685 return false; | 1689 return false; |
1686 | 1690 |
1687 ShBuiltInResources resources; | 1691 ShBuiltInResources resources; |
1688 ShInitBuiltInResources(&resources); | 1692 ShInitBuiltInResources(&resources); |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1753 if (length > 1) { | 1757 if (length > 1) { |
1754 entry->translated_source.reset(new char[length]); | 1758 entry->translated_source.reset(new char[length]); |
1755 ShGetObjectCode(compiler, entry->translated_source.get()); | 1759 ShGetObjectCode(compiler, entry->translated_source.get()); |
1756 } | 1760 } |
1757 entry->is_valid = true; | 1761 entry->is_valid = true; |
1758 return true; | 1762 return true; |
1759 } | 1763 } |
1760 | 1764 |
1761 } // namespace gpu | 1765 } // namespace gpu |
1762 } // namespace webkit | 1766 } // namespace webkit |
OLD | NEW |