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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 | 738 |
739 void WebGraphicsContext3DInProcessImpl:: | 739 void WebGraphicsContext3DInProcessImpl:: |
740 setMemoryAllocationChangedCallbackCHROMIUM( | 740 setMemoryAllocationChangedCallbackCHROMIUM( |
741 WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback) { | 741 WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback) { |
742 } | 742 } |
743 | 743 |
744 void WebGraphicsContext3DInProcessImpl::discardFramebufferEXT( | 744 void WebGraphicsContext3DInProcessImpl::discardFramebufferEXT( |
745 WGC3Denum target, WGC3Dsizei numAttachments, const WGC3Denum* attachments) { | 745 WGC3Denum target, WGC3Dsizei numAttachments, const WGC3Denum* attachments) { |
746 } | 746 } |
747 | 747 |
748 void WebGraphicsContext3DInProcessImpl::ensureFramebufferCHROMIUM() { | 748 void WebGraphicsContext3DInProcessImpl::discardBackbufferCHROMIUM() { |
| 749 } |
| 750 |
| 751 void WebGraphicsContext3DInProcessImpl::ensureBackbufferCHROMIUM() { |
749 } | 752 } |
750 | 753 |
751 void WebGraphicsContext3DInProcessImpl::copyTextureToParentTextureCHROMIUM( | 754 void WebGraphicsContext3DInProcessImpl::copyTextureToParentTextureCHROMIUM( |
752 WebGLId id, WebGLId id2) { | 755 WebGLId id, WebGLId id2) { |
753 NOTIMPLEMENTED(); | 756 NOTIMPLEMENTED(); |
754 } | 757 } |
755 | 758 |
756 void WebGraphicsContext3DInProcessImpl::bindUniformLocationCHROMIUM( | 759 void WebGraphicsContext3DInProcessImpl::bindUniformLocationCHROMIUM( |
757 WebGLId program, WGC3Dint location, const WGC3Dchar* uniform) { | 760 WebGLId program, WGC3Dint location, const WGC3Dchar* uniform) { |
758 NOTIMPLEMENTED(); | 761 NOTIMPLEMENTED(); |
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1804 if (length > 1) { | 1807 if (length > 1) { |
1805 entry->translated_source.reset(new char[length]); | 1808 entry->translated_source.reset(new char[length]); |
1806 ShGetObjectCode(compiler, entry->translated_source.get()); | 1809 ShGetObjectCode(compiler, entry->translated_source.get()); |
1807 } | 1810 } |
1808 entry->is_valid = true; | 1811 entry->is_valid = true; |
1809 return true; | 1812 return true; |
1810 } | 1813 } |
1811 | 1814 |
1812 } // namespace gpu | 1815 } // namespace gpu |
1813 } // namespace webkit | 1816 } // namespace webkit |
OLD | NEW |