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

Unified 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: Feedback Addressed, added more tests 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 side-by-side diff with in-line comments
Download patch
Index: webkit/common/gpu/webgraphicscontext3d_impl.cc
diff --git a/webkit/common/gpu/webgraphicscontext3d_impl.cc b/webkit/common/gpu/webgraphicscontext3d_impl.cc
index e93bcebbb813cc5091538368148b93e22a2d5885..28d454242140e4603ffc8e8d0e6f0d7a9670747c 100644
--- a/webkit/common/gpu/webgraphicscontext3d_impl.cc
+++ b/webkit/common/gpu/webgraphicscontext3d_impl.cc
@@ -846,8 +846,13 @@ void WebGraphicsContext3DImpl::loseContextCHROMIUM(
DELEGATE_TO_GL_1(genMailboxCHROMIUM, GenMailboxCHROMIUM, WGC3Dbyte*)
DELEGATE_TO_GL_2(produceTextureCHROMIUM, ProduceTextureCHROMIUM,
WGC3Denum, const WGC3Dbyte*)
+DELEGATE_TO_GL_3(produceTextureDirectCHROMIUM, ProduceTextureDirectCHROMIUM,
+ WebGLId, WGC3Denum, const WGC3Dbyte*)
DELEGATE_TO_GL_2(consumeTextureCHROMIUM, ConsumeTextureCHROMIUM,
WGC3Denum, const WGC3Dbyte*)
+DELEGATE_TO_GL_2R(createAndConsumeTextureCHROMIUM,
+ CreateAndConsumeTextureCHROMIUM,
+ WGC3Denum, const WGC3Dbyte*, WebGLId)
void WebGraphicsContext3DImpl::insertEventMarkerEXT(
const WGC3Dchar* marker) {

Powered by Google App Engine
This is Rietveld 408576698