From 2ec8458c5fd5b1bfad2d6e16b606f5acbcfa34cc Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 11 Aug 2009 22:34:02 -0700 Subject: second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." --- libs/surfaceflinger/LayerBuffer.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'libs/surfaceflinger/LayerBuffer.cpp') diff --git a/libs/surfaceflinger/LayerBuffer.cpp b/libs/surfaceflinger/LayerBuffer.cpp index e1f4bea228c5..bd6d472fd164 100644 --- a/libs/surfaceflinger/LayerBuffer.cpp +++ b/libs/surfaceflinger/LayerBuffer.cpp @@ -467,7 +467,6 @@ void LayerBuffer::BufferSource::onDraw(const Region& clip) const mTempBitmap.clear(); mTempBitmap = new android::Buffer( tmp_w, tmp_h, src.img.format, - BufferAllocator::USAGE_HW_TEXTURE | BufferAllocator::USAGE_HW_2D); err = mTempBitmap->initCheck(); } -- cgit v1.2.3-59-g8ed1b