From f32b2ce68c45663b1193cfe45a10d2889fd61c81 Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Wed, 23 Mar 2011 11:19:05 -0400 Subject: Fix GPU leak where plugin textures in the WebKit thread were not being deleted. bug: 4165067 Change-Id: I2f50f600133300cec712b0177ead1a7afbbee2c3 --- WebCore/platform/graphics/android/SharedTexture.h | 1 + 1 file changed, 1 insertion(+) (limited to 'WebCore/platform/graphics/android/SharedTexture.h') diff --git a/WebCore/platform/graphics/android/SharedTexture.h b/WebCore/platform/graphics/android/SharedTexture.h index e654c5c..731aa5c 100644 --- a/WebCore/platform/graphics/android/SharedTexture.h +++ b/WebCore/platform/graphics/android/SharedTexture.h @@ -80,6 +80,7 @@ public: void unlock() { m_lock.unlock(); } void initSourceTexture(); // producer thread only + void deleteSourceTexture(); // producer thread only GLuint getSourceTextureId() { return m_sourceTexture.m_textureId; } GLuint getTargetTextureId() { return m_targetTexture.m_textureId; } EGLImageKHR getEGLImage() { return m_eglImage; } -- cgit v1.1