| 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 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 return 0; | 722 return 0; |
| 723 } | 723 } |
| 724 | 724 |
| 725 void WebGraphicsContext3DInProcessImpl::unmapTexSubImage2DCHROMIUM( | 725 void WebGraphicsContext3DInProcessImpl::unmapTexSubImage2DCHROMIUM( |
| 726 const void* mem) { | 726 const void* mem) { |
| 727 } | 727 } |
| 728 | 728 |
| 729 void WebGraphicsContext3DInProcessImpl::setVisibilityCHROMIUM(bool visible) { | 729 void WebGraphicsContext3DInProcessImpl::setVisibilityCHROMIUM(bool visible) { |
| 730 } | 730 } |
| 731 | 731 |
| 732 void WebGraphicsContext3DInProcessImpl:: |
| 733 setMemoryAllocationChangedCallbackCHROMIUM( |
| 734 WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback) { |
| 735 } |
| 736 |
| 737 void WebGraphicsContext3DInProcessImpl::discardFramebufferEXT( |
| 738 WGC3Denum target, WGC3Dsizei numAttachments, const WGC3Denum* attachments) { |
| 739 } |
| 740 |
| 741 void WebGraphicsContext3DInProcessImpl::ensureFramebufferCHROMIUM() { |
| 742 } |
| 743 |
| 732 void WebGraphicsContext3DInProcessImpl::copyTextureToParentTextureCHROMIUM( | 744 void WebGraphicsContext3DInProcessImpl::copyTextureToParentTextureCHROMIUM( |
| 733 WebGLId id, WebGLId id2) { | 745 WebGLId id, WebGLId id2) { |
| 734 NOTIMPLEMENTED(); | 746 NOTIMPLEMENTED(); |
| 735 } | 747 } |
| 736 | 748 |
| 737 WebString WebGraphicsContext3DInProcessImpl:: | 749 WebString WebGraphicsContext3DInProcessImpl:: |
| 738 getRequestableExtensionsCHROMIUM() { | 750 getRequestableExtensionsCHROMIUM() { |
| 739 return WebString(); | 751 return WebString(); |
| 740 } | 752 } |
| 741 | 753 |
| (...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1735 if (length > 1) { | 1747 if (length > 1) { |
| 1736 entry->translated_source.reset(new char[length]); | 1748 entry->translated_source.reset(new char[length]); |
| 1737 ShGetObjectCode(compiler, entry->translated_source.get()); | 1749 ShGetObjectCode(compiler, entry->translated_source.get()); |
| 1738 } | 1750 } |
| 1739 entry->is_valid = true; | 1751 entry->is_valid = true; |
| 1740 return true; | 1752 return true; |
| 1741 } | 1753 } |
| 1742 | 1754 |
| 1743 } // namespace gpu | 1755 } // namespace gpu |
| 1744 } // namespace webkit | 1756 } // namespace webkit |
| OLD | NEW |