summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/SharedTexture.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-03-23 12:43:46 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-03-23 12:43:46 -0700
commit16c80237214715ba15e45748164ecd02a558a138 (patch)
tree4667dd2b39c9f9ce8e9bda96420707802bb05157 /WebCore/platform/graphics/android/SharedTexture.h
parentf58a40bf15e13380b82713b5b229a9bf57fe4b0e (diff)
parentf32b2ce68c45663b1193cfe45a10d2889fd61c81 (diff)
downloadexternal_webkit-16c80237214715ba15e45748164ecd02a558a138.zip
external_webkit-16c80237214715ba15e45748164ecd02a558a138.tar.gz
external_webkit-16c80237214715ba15e45748164ecd02a558a138.tar.bz2
am f32b2ce6: Fix GPU leak where plugin textures in the WebKit thread were not being deleted.
* commit 'f32b2ce68c45663b1193cfe45a10d2889fd61c81': 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; }