From 7f9d4f2f7039239283f41a94408a01dcf2f79818 Mon Sep 17 00:00:00 2001 From: "jamesr@chromium.org" Date: Wed, 11 Dec 2013 11:18:47 +0000 Subject: Convert cc resource system over to GLES2Interface BUG=181120 Review URL: https://codereview.chromium.org/105103004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240074 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/resources/texture_mailbox_deleter.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cc/resources/texture_mailbox_deleter.cc') diff --git a/cc/resources/texture_mailbox_deleter.cc b/cc/resources/texture_mailbox_deleter.cc index ae6df17..cf7b3b61 100644 --- a/cc/resources/texture_mailbox_deleter.cc +++ b/cc/resources/texture_mailbox_deleter.cc @@ -10,7 +10,7 @@ #include "base/message_loop/message_loop_proxy.h" #include "cc/output/context_provider.h" #include "cc/resources/single_release_callback.h" -#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" +#include "gpu/command_buffer/client/gles2_interface.h" namespace cc { @@ -20,8 +20,8 @@ static void DeleteTextureOnImplThread( unsigned sync_point, bool is_lost) { if (sync_point) - context_provider->Context3d()->waitSyncPoint(sync_point); - context_provider->Context3d()->deleteTexture(texture_id); + context_provider->ContextGL()->WaitSyncPointCHROMIUM(sync_point); + context_provider->ContextGL()->DeleteTextures(1, &texture_id); } static void PostTaskFromMainToImplThread( -- cgit v1.1