From b56dc927f1a8797b1b7fe356ae89ce18d42731dd Mon Sep 17 00:00:00 2001 From: Charles Johnson Date: Tue, 10 Jul 2012 17:51:32 -0700 Subject: Change all occurances of LOGE to ALOGE, LOGW to ALOGW and LOGI to ALOGI due to change in Jelly Bean. Signed-off-by: Charles Johnson modified: gralloc.c modified: gralloc_drm.c modified: gralloc_drm_intel.c modified: gralloc_drm_kms.c modified: gralloc_drm_nouveau.c modified: gralloc_drm_pipe.c modified: gralloc_drm_radeon.c Change-Id: Idd9e533eab366d9f9dc199d961891255a66384a2 --- gralloc_drm_pipe.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'gralloc_drm_pipe.c') diff --git a/gralloc_drm_pipe.c b/gralloc_drm_pipe.c index a66ce1a..83d02d1 100644 --- a/gralloc_drm_pipe.c +++ b/gralloc_drm_pipe.c @@ -122,13 +122,13 @@ static struct pipe_buffer *get_pipe_buffer_locked(struct pipe_manager *pm, if (templ.format == PIPE_FORMAT_NONE || !pm->screen->is_format_supported(pm->screen, templ.format, templ.target, 0, templ.bind)) { - LOGE("unsupported format 0x%x", handle->format); + ALOGE("unsupported format 0x%x", handle->format); return NULL; } buf = CALLOC(1, sizeof(*buf)); if (!buf) { - LOGE("failed to allocate pipe buffer"); + ALOGE("failed to allocate pipe buffer"); return NULL; } @@ -175,7 +175,7 @@ static struct pipe_buffer *get_pipe_buffer_locked(struct pipe_manager *pm, return buf; fail: - LOGE("failed to allocate pipe buffer"); + ALOGE("failed to allocate pipe buffer"); if (buf->resource) pipe_resource_reference(&buf->resource, NULL); FREE(buf); @@ -233,7 +233,7 @@ static int pipe_map(struct gralloc_drm_drv_t *drv, if (!pm->context) { pm->context = pm->screen->context_create(pm->screen, NULL); if (!pm->context) { - LOGE("failed to create pipe context"); + ALOGE("failed to create pipe context"); err = -ENOMEM; } } @@ -298,7 +298,7 @@ static void pipe_copy(struct gralloc_drm_drv_t *drv, dst_bo->handle->height != src_bo->handle->height || dst_bo->handle->stride != src_bo->handle->stride || dst_bo->handle->format != src_bo->handle->format) { - LOGE("copy between incompatible buffers"); + ALOGE("copy between incompatible buffers"); return; } @@ -322,7 +322,7 @@ static void pipe_copy(struct gralloc_drm_drv_t *drv, if (!pm->context) { pm->context = pm->screen->context_create(pm->screen, NULL); if (!pm->context) { - LOGE("failed to create pipe context"); + ALOGE("failed to create pipe context"); pthread_mutex_unlock(&pm->mutex); return; } @@ -431,7 +431,7 @@ static int pipe_init_screen(struct pipe_manager *pm) #endif if (!screen) { - LOGW("failed to create screen for %s", pm->driver); + ALOGW("failed to create screen for %s", pm->driver); return -EINVAL; } @@ -538,7 +538,7 @@ struct gralloc_drm_drv_t *gralloc_drm_drv_create_for_pipe(int fd, const char *na pm = CALLOC(1, sizeof(*pm)); if (!pm) { - LOGE("failed to allocate pipe manager for %s", name); + ALOGE("failed to allocate pipe manager for %s", name); return NULL; } -- cgit v1.1