Lines Matching refs:copybit
261 copybit_device_t *copybit = mEngine; in clear() local
262 ret = copybit->clear(copybit, &buf, &clear_rect); in clear()
299 copybit_device_t *copybit = getCopyBitDevice(); in draw() local
300 copybit->set_sync(copybit, list->hwLayers[last].acquireFenceFd); in draw()
340 copybit_device_t *copybit = getCopyBitDevice(); in draw() local
342 copybit->flush_get_fence(copybit, fd); in draw()
441 copybit_device_t *copybit = mEngine; in drawLayerUsingCopybit() local
450 (float)copybit->get(copybit,COPYBIT_MAGNIFICATION_LIMIT); in drawLayerUsingCopybit()
452 (float)copybit->get(copybit,COPYBIT_MINIFICATION_LIMIT); in drawLayerUsingCopybit()
537 copybit->set_parameter(copybit,COPYBIT_TRANSFORM,0); in drawLayerUsingCopybit()
539 copybit->set_parameter(copybit, COPYBIT_PLANE_ALPHA, 255); in drawLayerUsingCopybit()
540 copybit->set_sync(copybit, acquireFd); in drawLayerUsingCopybit()
541 err = copybit->stretch(copybit,&tmp_dst, &src, &tmp_rect, in drawLayerUsingCopybit()
552 copybit->flush_get_fence(copybit, &acquireFd); in drawLayerUsingCopybit()
565 copybit->set_parameter(copybit, COPYBIT_FRAMEBUFFER_WIDTH, in drawLayerUsingCopybit()
567 copybit->set_parameter(copybit, COPYBIT_FRAMEBUFFER_HEIGHT, in drawLayerUsingCopybit()
569 copybit->set_parameter(copybit, COPYBIT_TRANSFORM, in drawLayerUsingCopybit()
572 copybit->set_parameter(copybit, COPYBIT_PLANE_ALPHA, 255); in drawLayerUsingCopybit()
573 copybit->set_parameter(copybit, COPYBIT_BLEND_MODE, in drawLayerUsingCopybit()
575 copybit->set_parameter(copybit, COPYBIT_DITHER, in drawLayerUsingCopybit()
578 copybit->set_parameter(copybit, COPYBIT_FG_LAYER, isFG ? in drawLayerUsingCopybit()
581 copybit->set_parameter(copybit, COPYBIT_BLIT_TO_FRAMEBUFFER, in drawLayerUsingCopybit()
583 copybit->set_sync(copybit, acquireFd); in drawLayerUsingCopybit()
584 err = copybit->stretch(copybit, &dst, &src, &dstRect, &srcRect, in drawLayerUsingCopybit()
586 copybit->set_parameter(copybit, COPYBIT_BLIT_TO_FRAMEBUFFER, in drawLayerUsingCopybit()
593 copybit->flush_get_fence(copybit, &releaseFd); in drawLayerUsingCopybit()
631 copybit_device_t *copybit = mEngine; in fillColorUsingCopybit() local
632 copybit->set_parameter(copybit, COPYBIT_FRAMEBUFFER_WIDTH, in fillColorUsingCopybit()
634 copybit->set_parameter(copybit, COPYBIT_FRAMEBUFFER_HEIGHT, in fillColorUsingCopybit()
636 copybit->set_parameter(copybit, COPYBIT_DITHER, in fillColorUsingCopybit()
639 copybit->set_parameter(copybit, COPYBIT_TRANSFORM, 0); in fillColorUsingCopybit()
640 copybit->set_parameter(copybit, COPYBIT_BLEND_MODE, layer->blending); in fillColorUsingCopybit()
641 copybit->set_parameter(copybit, COPYBIT_PLANE_ALPHA, layer->planeAlpha); in fillColorUsingCopybit()
642 copybit->set_parameter(copybit, COPYBIT_BLIT_TO_FRAMEBUFFER,COPYBIT_ENABLE); in fillColorUsingCopybit()
643 int res = copybit->fill_color(copybit, &dst, &dstRect, color); in fillColorUsingCopybit()
644 copybit->set_parameter(copybit,COPYBIT_BLIT_TO_FRAMEBUFFER,COPYBIT_DISABLE); in fillColorUsingCopybit()