OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 } | 665 } |
666 | 666 |
667 WebString WebGraphicsContext3DInProcessImpl:: | 667 WebString WebGraphicsContext3DInProcessImpl:: |
668 getRequestableExtensionsCHROMIUM() { | 668 getRequestableExtensionsCHROMIUM() { |
669 return WebString(); | 669 return WebString(); |
670 } | 670 } |
671 | 671 |
672 void WebGraphicsContext3DInProcessImpl::requestExtensionCHROMIUM(const char*) { | 672 void WebGraphicsContext3DInProcessImpl::requestExtensionCHROMIUM(const char*) { |
673 } | 673 } |
674 | 674 |
| 675 void WebGraphicsContext3DInProcessImpl::blitFramebufferCHROMIUM( |
| 676 int srcX0, int srcY0, int srcX1, int srcY1, |
| 677 int dstX0, int dstY0, int dstX1, int dstY1, |
| 678 unsigned mask, unsigned filter) { |
| 679 } |
| 680 |
| 681 void WebGraphicsContext3DInProcessImpl::renderbufferStorageMultisampleCHROMIUM( |
| 682 unsigned long target, int samples, unsigned internalformat, |
| 683 unsigned width, unsigned height) { |
| 684 } |
| 685 |
675 // Helper macros to reduce the amount of code. | 686 // Helper macros to reduce the amount of code. |
676 | 687 |
677 #define DELEGATE_TO_GL(name, glname) \ | 688 #define DELEGATE_TO_GL(name, glname) \ |
678 void WebGraphicsContext3DInProcessImpl::name() { \ | 689 void WebGraphicsContext3DInProcessImpl::name() { \ |
679 makeContextCurrent(); \ | 690 makeContextCurrent(); \ |
680 gl##glname(); \ | 691 gl##glname(); \ |
681 } | 692 } |
682 | 693 |
683 #define DELEGATE_TO_GL_1(name, glname, t1) \ | 694 #define DELEGATE_TO_GL_1(name, glname, t1) \ |
684 void WebGraphicsContext3DInProcessImpl::name(t1 a1) { \ | 695 void WebGraphicsContext3DInProcessImpl::name(t1 a1) { \ |
(...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1649 else | 1660 else |
1650 ShGetObjectCode(compiler, entry->translated_source.get()); | 1661 ShGetObjectCode(compiler, entry->translated_source.get()); |
1651 } | 1662 } |
1652 entry->is_valid = true; | 1663 entry->is_valid = true; |
1653 return true; | 1664 return true; |
1654 } | 1665 } |
1655 | 1666 |
1656 } // namespace gpu | 1667 } // namespace gpu |
1657 } // namespace webkit | 1668 } // namespace webkit |
1658 | 1669 |
OLD | NEW |