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

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

Issue 11474014: Rename discardFramebufferEXT to discardBackbufferCHROMIUM to avoid collision with real discardFrame… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: back out accidental change to compositor_impl_android.cc Created 8 years 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) 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
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
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
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