OSDN Git Service

Set the exact buffer size to Surf Tex
authorTeng-Hui Zhu <ztenghui@google.com>
Tue, 29 Nov 2011 22:43:29 +0000 (14:43 -0800)
committerTeng-Hui Zhu <ztenghui@google.com>
Tue, 29 Nov 2011 22:43:29 +0000 (14:43 -0800)
commit2d19ea7c0d192c0c1eda1caed7e25143bbe22c20
tree2c02bf1f8c13dcac45655436d8bad33bd312712f
parent647970367ac56d95e84fbfca92d8b7390d5d2fed
Set the exact buffer size to Surf Tex

Originally, the extra space is used to get the queue working when the size is
1, which is only for testing purpose.
Now we should claim this back to save some memory.

bug:5666757
Change-Id: I2079a562d8414f89274d7fff3342eafe32fe287f
Source/WebCore/platform/graphics/android/TransferQueue.cpp