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

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

Issue 9699125: Chromium implementation of discardBackbuffer WebGraphicsContext3D extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New naming: discardFramebufferEXT and ensureFramebufferCHROMIUM Created 8 years, 9 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
OLDNEW
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
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::discardFramebufferEXT() {
733 }
734
735 void WebGraphicsContext3DInProcessImpl::ensureFramebufferCHROMIUM() {
736 }
737
732 void WebGraphicsContext3DInProcessImpl::copyTextureToParentTextureCHROMIUM( 738 void WebGraphicsContext3DInProcessImpl::copyTextureToParentTextureCHROMIUM(
733 WebGLId id, WebGLId id2) { 739 WebGLId id, WebGLId id2) {
734 NOTIMPLEMENTED(); 740 NOTIMPLEMENTED();
735 } 741 }
736 742
737 WebString WebGraphicsContext3DInProcessImpl:: 743 WebString WebGraphicsContext3DInProcessImpl::
738 getRequestableExtensionsCHROMIUM() { 744 getRequestableExtensionsCHROMIUM() {
739 return WebString(); 745 return WebString();
740 } 746 }
741 747
(...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
1735 if (length > 1) { 1741 if (length > 1) {
1736 entry->translated_source.reset(new char[length]); 1742 entry->translated_source.reset(new char[length]);
1737 ShGetObjectCode(compiler, entry->translated_source.get()); 1743 ShGetObjectCode(compiler, entry->translated_source.get());
1738 } 1744 }
1739 entry->is_valid = true; 1745 entry->is_valid = true;
1740 return true; 1746 return true;
1741 } 1747 }
1742 1748
1743 } // namespace gpu 1749 } // namespace gpu
1744 } // namespace webkit 1750 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698