summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/SharedTexture.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-03-23 12:49:26 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-03-23 12:49:26 -0700
commitda3ca4afd043c6e0211b86c08c8fbf525622dd5b (patch)
treea78340a3b1bcfb0c3a4322b7dc8705eb5c8b0e00 /WebCore/platform/graphics/android/SharedTexture.h
parent1e47f60c2155bbbf3a85b530963d3033f79ddacb (diff)
parent16c80237214715ba15e45748164ecd02a558a138 (diff)
downloadexternal_webkit-da3ca4afd043c6e0211b86c08c8fbf525622dd5b.zip
external_webkit-da3ca4afd043c6e0211b86c08c8fbf525622dd5b.tar.gz
external_webkit-da3ca4afd043c6e0211b86c08c8fbf525622dd5b.tar.bz2
am 16c80237: am f32b2ce6: Fix GPU leak where plugin textures in the WebKit thread were not being deleted.
* commit '16c80237214715ba15e45748164ecd02a558a138': Fix GPU leak where plugin textures in the WebKit thread were not being deleted.
Diffstat (limited to 'WebCore/platform/graphics/android/SharedTexture.h')
-rw-r--r--WebCore/platform/graphics/android/SharedTexture.h1
1 files changed, 1 insertions, 0 deletions
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; }