OSDN Git Service

for [1965730], give a better name to gralloc buffers
authorMathias Agopian <mathias@google.com>
Tue, 7 Jul 2009 23:36:31 +0000 (16:36 -0700)
committerMathias Agopian <mathias@google.com>
Tue, 7 Jul 2009 23:36:31 +0000 (16:36 -0700)
modules/gralloc/gralloc.cpp

index 40d14dc..a01a95c 100644 (file)
@@ -242,7 +242,7 @@ static int gralloc_alloc_buffer(alloc_device_t* dev,
 
     if ((flags & private_handle_t::PRIV_FLAGS_USES_PMEM) == 0) {
 try_ashmem:
-        fd = ashmem_create_region("Buffer", size);
+        fd = ashmem_create_region("gralloc-buffer", size);
         if (fd < 0) {
             LOGE("couldn't create ashmem (%s)", strerror(-errno));
             err = -errno;