OSDN Git Service

Turn on the new Gpu Upload code path
authorTeng-Hui Zhu <ztenghui@google.com>
Fri, 30 Sep 2011 21:47:05 +0000 (14:47 -0700)
committerTeng-Hui Zhu <ztenghui@google.com>
Fri, 30 Sep 2011 21:47:05 +0000 (14:47 -0700)
bug:5395019
Change-Id: Ifc16eb59fec62e5f4b95ad4e35f140969226506d

Source/WebCore/platform/graphics/android/TransferQueue.cpp

index 47a85e6..08097f0 100644 (file)
@@ -54,7 +54,7 @@
 
 // Set this to 1 if we would like to take the new GpuUpload approach which
 // relied on the glCopyTexSubImage2D instead of a glDraw call
-#define GPU_UPLOAD_WITHOUT_DRAW 0
+#define GPU_UPLOAD_WITHOUT_DRAW 1
 
 namespace WebCore {