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

Side by Side Diff: webkit/common/gpu/webgraphicscontext3d_impl.cc

Issue 299043003: Adding bindless variants mailbox produce/consume (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test fix for windows Created 6 years, 6 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/common/gpu/webgraphicscontext3d_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/common/gpu/webgraphicscontext3d_impl.h" 5 #include "webkit/common/gpu/webgraphicscontext3d_impl.h"
6 6
7 #include "base/atomicops.h" 7 #include "base/atomicops.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "gpu/GLES2/gl2extchromium.h" 10 #include "gpu/GLES2/gl2extchromium.h"
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 830
831 void WebGraphicsContext3DImpl::loseContextCHROMIUM( 831 void WebGraphicsContext3DImpl::loseContextCHROMIUM(
832 WGC3Denum current, WGC3Denum other) { 832 WGC3Denum current, WGC3Denum other) {
833 gl_->LoseContextCHROMIUM(current, other); 833 gl_->LoseContextCHROMIUM(current, other);
834 gl_->Flush(); 834 gl_->Flush();
835 } 835 }
836 836
837 DELEGATE_TO_GL_1(genMailboxCHROMIUM, GenMailboxCHROMIUM, WGC3Dbyte*) 837 DELEGATE_TO_GL_1(genMailboxCHROMIUM, GenMailboxCHROMIUM, WGC3Dbyte*)
838 DELEGATE_TO_GL_2(produceTextureCHROMIUM, ProduceTextureCHROMIUM, 838 DELEGATE_TO_GL_2(produceTextureCHROMIUM, ProduceTextureCHROMIUM,
839 WGC3Denum, const WGC3Dbyte*) 839 WGC3Denum, const WGC3Dbyte*)
840 DELEGATE_TO_GL_3(produceTextureDirectCHROMIUM, ProduceTextureDirectCHROMIUM,
841 WebGLId, WGC3Denum, const WGC3Dbyte*)
840 DELEGATE_TO_GL_2(consumeTextureCHROMIUM, ConsumeTextureCHROMIUM, 842 DELEGATE_TO_GL_2(consumeTextureCHROMIUM, ConsumeTextureCHROMIUM,
841 WGC3Denum, const WGC3Dbyte*) 843 WGC3Denum, const WGC3Dbyte*)
844 DELEGATE_TO_GL_2R(createAndConsumeTextureCHROMIUM,
845 CreateAndConsumeTextureCHROMIUM,
846 WGC3Denum, const WGC3Dbyte*, WebGLId)
842 847
843 void WebGraphicsContext3DImpl::insertEventMarkerEXT( 848 void WebGraphicsContext3DImpl::insertEventMarkerEXT(
844 const WGC3Dchar* marker) { 849 const WGC3Dchar* marker) {
845 gl_->InsertEventMarkerEXT(0, marker); 850 gl_->InsertEventMarkerEXT(0, marker);
846 } 851 }
847 852
848 void WebGraphicsContext3DImpl::pushGroupMarkerEXT( 853 void WebGraphicsContext3DImpl::pushGroupMarkerEXT(
849 const WGC3Dchar* marker) { 854 const WGC3Dchar* marker) {
850 gl_->PushGroupMarkerEXT(0, marker); 855 gl_->PushGroupMarkerEXT(0, marker);
851 } 856 }
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 void WebGraphicsContext3DImpl::copyTextureToParentTextureCHROMIUM( 975 void WebGraphicsContext3DImpl::copyTextureToParentTextureCHROMIUM(
971 WebGLId texture, WebGLId parentTexture) { 976 WebGLId texture, WebGLId parentTexture) {
972 NOTIMPLEMENTED(); 977 NOTIMPLEMENTED();
973 } 978 }
974 979
975 void WebGraphicsContext3DImpl::releaseShaderCompiler() { 980 void WebGraphicsContext3DImpl::releaseShaderCompiler() {
976 } 981 }
977 982
978 } // namespace gpu 983 } // namespace gpu
979 } // namespace webkit 984 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/common/gpu/webgraphicscontext3d_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698