Merge change 9392

* changes:
  don't send the GPU master fd across to client processes
This commit is contained in:
Android (Google) Code Review 2009-07-31 15:13:25 -07:00
commit 813af83025

View File

@ -122,9 +122,9 @@ static void set_image(struct mdp_img *img, const struct copybit_image_t *rhs)
img->height = rhs->h;
img->format = get_format(rhs->format);
img->offset = hnd->offset;
img->memory_id = hnd->fd;
img->memory_id = (hnd->flags & private_handle_t::PRIV_FLAGS_USES_GPU)
? hnd->gpu_fd : hnd->fd;
}
/** setup rectangles */
static void set_rects(struct copybit_context_t *dev,
struct mdp_blit_req *e,