Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Side by Side Diff: webkit/gpu/webgraphicscontext3d_in_process_impl.cc

Issue 6369016: Add GL_CHROMIUM_framebuffer_multisample support to Chromium's... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698