summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/TransferQueue.h
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2012-05-23 13:17:14 -0700
committerTeng-Hui Zhu <ztenghui@google.com>2012-05-23 14:17:37 -0700
commit64a27211ba5f48667a3e66b27374945f1831aaf3 (patch)
tree2b42c324ce240c51376f53fddbe4e68c82790bdf /Source/WebCore/platform/graphics/android/rendering/TransferQueue.h
parent6c4c0302dd154e5090966c57bb4b6b216644fb01 (diff)
downloadexternal_webkit-64a27211ba5f48667a3e66b27374945f1831aaf3.zip
external_webkit-64a27211ba5f48667a3e66b27374945f1831aaf3.tar.gz
external_webkit-64a27211ba5f48667a3e66b27374945f1831aaf3.tar.bz2
Clean up the transferQueue code and add more detailed GL log
Remove one unnecessary parameter in blitTileFromQueue. Remove syncKHR related code in TransferQueue since that is supported by SurfaceTexture. bug:6516534 Change-Id: Iaf1f46a0f459ad8973c7465a9b8550f760115384
Diffstat (limited to 'Source/WebCore/platform/graphics/android/rendering/TransferQueue.h')
-rw-r--r--Source/WebCore/platform/graphics/android/rendering/TransferQueue.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/TransferQueue.h b/Source/WebCore/platform/graphics/android/rendering/TransferQueue.h
index 9d33ff5..c0835d7 100644
--- a/Source/WebCore/platform/graphics/android/rendering/TransferQueue.h
+++ b/Source/WebCore/platform/graphics/android/rendering/TransferQueue.h
@@ -80,7 +80,6 @@ public:
, savedTileTexturePtr(0)
, uploadType(DEFAULT_UPLOAD_TYPE)
, bitmap(0)
- , m_syncKHR(EGL_NO_SYNC_KHR)
{
}
@@ -101,15 +100,6 @@ public:
// Specific data to the pure color tiles' queue.
Color pureColor;
-
- // Sync object for GPU fence, this is the only the info passed from UI
- // thread to Tex Gen thread. The reason of having this is due to the
- // missing sync mechanism on Surface Texture on some vendor. b/5122031.
- // Bascially the idea is that when UI thread utilize one buffer from
- // the surface texture, we'll need to kick off the GPU commands, and only
- // when those particular commands finish, we could write into this buffer
- // again in Tex Gen thread.
- EGLSyncKHR m_syncKHR;
};
class TransferQueue {
@@ -177,7 +167,6 @@ private:
void cleanupGLResources();
void blitTileFromQueue(GLuint fboID, TileTexture* destTex,
- TileTexture* frontTex,
GLuint srcTexId, GLenum srcTexTarget,
int index);