Lines Matching refs:copybit

399     copybit_device_t *copybit = mEngine;  in clear()  local
400 ret = copybit->clear(copybit, &buf, &clear_rect); in clear()
455 copybit_device_t *copybit = getCopyBitDevice(); in drawUsingAppBufferComposition() local
457 copybit->set_sync(copybit, in drawUsingAppBufferComposition()
468 copybit->flush_get_fence(copybit, copybitFd); in drawUsingAppBufferComposition()
515 copybit_device_t *copybit = getCopyBitDevice(); in draw() local
516 copybit->set_sync(copybit, list->hwLayers[last].acquireFenceFd); in draw()
564 copybit_device_t *copybit = getCopyBitDevice(); in draw() local
566 copybit->flush_get_fence(copybit, fd); in draw()
625 copybit_device_t *copybit = getCopyBitDevice(); in drawOverlap() local
626 copybit->flush_get_fence(copybit, &fd); in drawOverlap()
689 copybit_device_t *copybit = mEngine; in drawRectUsingCopybit() local
699 copybit->set_parameter(copybit, COPYBIT_FRAMEBUFFER_WIDTH, in drawRectUsingCopybit()
701 copybit->set_parameter(copybit, COPYBIT_FRAMEBUFFER_HEIGHT, in drawRectUsingCopybit()
703 copybit->set_parameter(copybit, COPYBIT_TRANSFORM, layer->transform); in drawRectUsingCopybit()
704 copybit->set_parameter(copybit, COPYBIT_PLANE_ALPHA, layer->planeAlpha); in drawRectUsingCopybit()
705 copybit->set_parameter(copybit, COPYBIT_BLEND_MODE, layer->blending); in drawRectUsingCopybit()
706 copybit->set_parameter(copybit, COPYBIT_DITHER, in drawRectUsingCopybit()
709 copybit->set_sync(copybit, acquireFd); in drawRectUsingCopybit()
710 int err = copybit->stretch(copybit, &dst, &src, &dstRect, &srcRect, in drawRectUsingCopybit()
817 copybit_device_t *copybit = mEngine; in drawLayerUsingCopybit() local
826 (float)copybit->get(copybit,COPYBIT_MAGNIFICATION_LIMIT); in drawLayerUsingCopybit()
828 (float)copybit->get(copybit,COPYBIT_MINIFICATION_LIMIT); in drawLayerUsingCopybit()
913 copybit->set_parameter(copybit,COPYBIT_TRANSFORM,0); in drawLayerUsingCopybit()
915 copybit->set_parameter(copybit, COPYBIT_PLANE_ALPHA, 255); in drawLayerUsingCopybit()
916 copybit->set_sync(copybit, acquireFd); in drawLayerUsingCopybit()
917 err = copybit->stretch(copybit,&tmp_dst, &src, &tmp_rect, in drawLayerUsingCopybit()
928 copybit->flush_get_fence(copybit, &acquireFd); in drawLayerUsingCopybit()
941 copybit->set_parameter(copybit, COPYBIT_FRAMEBUFFER_WIDTH, in drawLayerUsingCopybit()
943 copybit->set_parameter(copybit, COPYBIT_FRAMEBUFFER_HEIGHT, in drawLayerUsingCopybit()
945 copybit->set_parameter(copybit, COPYBIT_TRANSFORM, in drawLayerUsingCopybit()
948 copybit->set_parameter(copybit, COPYBIT_PLANE_ALPHA, 255); in drawLayerUsingCopybit()
949 copybit->set_parameter(copybit, COPYBIT_BLEND_MODE, in drawLayerUsingCopybit()
951 copybit->set_parameter(copybit, COPYBIT_DITHER, in drawLayerUsingCopybit()
954 copybit->set_parameter(copybit, COPYBIT_FG_LAYER, isFG ? in drawLayerUsingCopybit()
957 copybit->set_parameter(copybit, COPYBIT_BLIT_TO_FRAMEBUFFER, in drawLayerUsingCopybit()
959 copybit->set_sync(copybit, acquireFd); in drawLayerUsingCopybit()
960 err = copybit->stretch(copybit, &dst, &src, &dstRect, &srcRect, in drawLayerUsingCopybit()
962 copybit->set_parameter(copybit, COPYBIT_BLIT_TO_FRAMEBUFFER, in drawLayerUsingCopybit()
969 copybit->flush_get_fence(copybit, &releaseFd); in drawLayerUsingCopybit()
1007 copybit_device_t *copybit = mEngine; in fillColorUsingCopybit() local
1008 copybit->set_parameter(copybit, COPYBIT_FRAMEBUFFER_WIDTH, in fillColorUsingCopybit()
1010 copybit->set_parameter(copybit, COPYBIT_FRAMEBUFFER_HEIGHT, in fillColorUsingCopybit()
1012 copybit->set_parameter(copybit, COPYBIT_DITHER, in fillColorUsingCopybit()
1015 copybit->set_parameter(copybit, COPYBIT_TRANSFORM, 0); in fillColorUsingCopybit()
1016 copybit->set_parameter(copybit, COPYBIT_BLEND_MODE, layer->blending); in fillColorUsingCopybit()
1017 copybit->set_parameter(copybit, COPYBIT_PLANE_ALPHA, layer->planeAlpha); in fillColorUsingCopybit()
1018 copybit->set_parameter(copybit, COPYBIT_BLIT_TO_FRAMEBUFFER,COPYBIT_ENABLE); in fillColorUsingCopybit()
1019 int res = copybit->fill_color(copybit, &dst, &dstRect, color); in fillColorUsingCopybit()
1020 copybit->set_parameter(copybit,COPYBIT_BLIT_TO_FRAMEBUFFER,COPYBIT_DISABLE); in fillColorUsingCopybit()