Lines Matching refs:vstore

189 		if (current_context->rtargets[i].color->vstore == st)  in arcan_vint_findrt_vstore()
193 st == current_context->stdoutp.color->vstore) in arcan_vint_findrt_vstore()
302 current->vstore != safe_store) in deallocate_gl_context()
303 agp_null_vstore(current->vstore); in deallocate_gl_context()
366 char* fname = strdup( current->vstore->vinf.text.source ); in reallocate_gl_context()
367 arcan_mem_free(current->vstore->vinf.text.source); in reallocate_gl_context()
373 if (current->vstore->txmapped != TXSTATE_OFF) in reallocate_gl_context()
374 agp_update_vstore(current->vstore, true); in reallocate_gl_context()
531 ssize_t diffw = *outw - src->vstore->w; in arcan_vint_applyhint()
532 ssize_t diffh = *outh - src->vstore->h; in arcan_vint_applyhint()
537 *outw = src->vstore->w; in arcan_vint_applyhint()
545 *outh = src->vstore->h; in arcan_vint_applyhint()
558 if (!arcan_video_display.cursor.vstore) in arcan_vint_drawcursor()
596 agp_activate_vstore(current_context->world.vstore); in arcan_vint_drawcursor()
600 agp_activate_vstore(arcan_video_display.cursor.vstore); in arcan_vint_drawcursor()
622 .vstore = current_context->world.vstore in arcan_video_pushcontext()
633 deallocate_gl_context(current_context, false, empty_vobj.vstore); in arcan_video_pushcontext()
634 if (current_context->world.vstore){ in arcan_video_pushcontext()
635 empty_vobj.origw = empty_vobj.vstore->w; in arcan_video_pushcontext()
636 empty_vobj.origh = empty_vobj.vstore->h; in arcan_video_pushcontext()
742 alim[s_ofs].gl_store = cobj->vstore; in arcan_video_recoverexternal()
752 cobj->vstore->refcount++; in arcan_video_recoverexternal()
785 vobj->vstore = alim[i].gl_store; in arcan_video_recoverexternal()
905 deallocate_gl_context(current_context, true, current_context->world.vstore); in arcan_video_popcontext()
964 if (vobj->vstore->txmapped != TXSTATE_TEX2D) in arcan_video_resampleobject()
991 if (vobj->vstore->txmapped != TXSTATE_TEX2D){ in arcan_video_resampleobject()
1005 if (dvobj->vstore->w != neww || dvobj->vstore->h != newh){ in arcan_video_resampleobject()
1006 agp_resize_vstore(dvobj->vstore, neww, newh); in arcan_video_resampleobject()
1061 struct agp_vstore* dstore = vobj->vstore; in arcan_video_resampleobject()
1074 if (vobj->vstore->txmapped != TXSTATE_TEX2D || in arcan_video_mipmapset()
1075 !vobj->vstore->vinf.text.raw) in arcan_video_mipmapset()
1082 void* newbuf = arcan_alloc_fillmem(vobj->vstore->vinf.text.raw, in arcan_video_mipmapset()
1083 vobj->vstore->vinf.text.s_raw, in arcan_video_mipmapset()
1091 arcan_vint_drop_vstore(vobj->vstore); in arcan_video_mipmapset()
1093 vobj->vstore->filtermode |= ARCAN_VFILTER_MIPMAP; in arcan_video_mipmapset()
1095 vobj->vstore->filtermode &= ~ARCAN_VFILTER_MIPMAP; in arcan_video_mipmapset()
1097 vobj->vstore->vinf.text.raw = newbuf; in arcan_video_mipmapset()
1098 agp_update_vstore(vobj->vstore, true); in arcan_video_mipmapset()
1176 populate_vstore(&rv->vstore); in new_vobject()
1322 struct agp_vstore* vs = src->vstore; in arcan_vint_reraster()
1418 struct agp_vstore* vs = src->vstore; in attach_object()
1692 if (!current_context->world.vstore || !current_context->stdoutp.art){ in arcan_video_resize_canvas()
1693 populate_vstore(&current_context->world.vstore); in arcan_video_resize_canvas()
1694 current_context->world.vstore->filtermode &= ~ARCAN_VFILTER_MIPMAP; in arcan_video_resize_canvas()
1695 agp_empty_vstore(current_context->world.vstore, neww, newh); in arcan_video_resize_canvas()
1699 current_context->world.vstore, in arcan_video_resize_canvas()
1764 &ch_imgbuf, &inw, &inh, &meta, dst->vstore->imageproc == IMAGEPROC_FLIPH); in arcan_vint_getimage()
1795 struct agp_vstore* dstframe = dst->vstore; in arcan_vint_getimage()
1798 enum arcan_vimage_mode desm = dst->vstore->scale; in arcan_vint_getimage()
1822 neww, newh, dst->vstore->imageproc == IMAGEPROC_FLIPH); in arcan_vint_getimage()
1832 dst->vstore->w = neww; in arcan_vint_getimage()
1833 dst->vstore->h = newh; in arcan_vint_getimage()
1840 if (!asynchsrc && dst->vstore->txmapped != TXSTATE_OFF) in arcan_vint_getimage()
1841 agp_update_vstore(dst->vstore, true); in arcan_vint_getimage()
1912 if (arcan_video_display.cursor.vstore){ in arcan_video_cursorstore()
1913 arcan_vint_drop_vstore(arcan_video_display.cursor.vstore); in arcan_video_cursorstore()
1914 arcan_video_display.cursor.vstore = NULL; in arcan_video_cursorstore()
1919 vobj->vstore->txmapped != TXSTATE_TEX2D) in arcan_video_cursorstore()
1923 arcan_video_display.cursor.vstore = vobj->vstore; in arcan_video_cursorstore()
1924 vobj->vstore->refcount++; in arcan_video_cursorstore()
1936 arcan_vint_drop_vstore(dst->vstore); in arcan_video_shareglstore()
1941 if (src->vstore->txmapped == TXSTATE_OFF || in arcan_video_shareglstore()
1942 src->vstore->vinf.text.glid == 0 || in arcan_video_shareglstore()
1952 populate_vstore(&src->vstore); in arcan_video_shareglstore()
1953 struct agp_vstore* store = src->vstore; in arcan_video_shareglstore()
1961 dst->vstore = src->vstore; in arcan_video_shareglstore()
1962 dst->vstore->refcount++; in arcan_video_shareglstore()
1981 agp_setup_rendertarget(rtgt->color->vstore, rtgt->mode); in arcan_video_shareglstore()
1997 newvobj->vstore->txmapped = TXSTATE_OFF; in arcan_video_solidcolor()
1998 newvobj->vstore->vinf.col.r = (float)r / 255.0f; in arcan_video_solidcolor()
1999 newvobj->vstore->vinf.col.g = (float)g / 255.0f; in arcan_video_solidcolor()
2000 newvobj->vstore->vinf.col.b = (float)b / 255.0f; in arcan_video_solidcolor()
2040 struct agp_vstore* ds = newvobj->vstore; in arcan_video_rawobject()
2053 agp_update_vstore(newvobj->vstore, true); in arcan_video_rawobject()
2342 dst->art = agp_setup_rendertarget(vobj->vstore, format); in arcan_video_setuprendertarget()
2367 float xs = (float)vobj->vstore->w / (float)mode.width; in arcan_video_setuprendertarget()
2368 float ys = (float)vobj->vstore->h / (float)mode.height; in arcan_video_setuprendertarget()
2402 if (dstvobj->frameset == NULL || srcvobj->vstore->txmapped != TXSTATE_TEX2D) in arcan_video_setasframe()
2409 if (store->frame != srcvobj->vstore){ in arcan_video_setasframe()
2411 store->frame = srcvobj->vstore; in arcan_video_setasframe()
2471 img->vstore->vinf.text.s_raw = 32 * 32 * sizeof(av_pixel); in arcan_vint_joinasynch()
2472 img->vstore->vinf.text.raw = arcan_alloc_mem(img->vstore->vinf.text.s_raw, in arcan_vint_joinasynch()
2475 img->vstore->w = 32; in arcan_vint_joinasynch()
2476 img->vstore->h = 32; in arcan_vint_joinasynch()
2477 img->vstore->vinf.text.source = strdup(args->fname); in arcan_vint_joinasynch()
2478 img->vstore->filtermode = ARCAN_VFILTER_NONE; in arcan_vint_joinasynch()
2485 agp_update_vstore(img->vstore, true); in arcan_vint_joinasynch()
2598 struct agp_vstore* vstor = newvobj->vstore; in arcan_video_setupfeed()
2602 newvobj->vstore->bpp = ncpt == 0 ? sizeof(av_pixel) : ncpt; in arcan_video_setupfeed()
2603 newvobj->vstore->filtermode &= ~ARCAN_VFILTER_MIPMAP; in arcan_video_setupfeed()
2605 if (newvobj->vstore->scale == ARCAN_VIMAGE_NOPOW2){ in arcan_video_setupfeed()
2606 newvobj->vstore->w = cons.w; in arcan_video_setupfeed()
2607 newvobj->vstore->h = cons.h; in arcan_video_setupfeed()
2613 newvobj->vstore->w = nexthigher(cons.w); in arcan_video_setupfeed()
2614 newvobj->vstore->h = nexthigher(cons.h); in arcan_video_setupfeed()
2615 float hx = (float)cons.w / (float)newvobj->vstore->w; in arcan_video_setupfeed()
2616 float hy = (float)cons.h / (float)newvobj->vstore->h; in arcan_video_setupfeed()
2622 vstor->vinf.text.s_raw = newvobj->vstore->w * in arcan_video_setupfeed()
2623 newvobj->vstore->h * newvobj->vstore->bpp; in arcan_video_setupfeed()
2628 agp_update_vstore(newvobj->vstore, true); in arcan_video_setupfeed()
2663 agp_resize_vstore(vobj->vstore, w, h); in arcan_video_resizefeed()
3109 src->vstore->txu = modes; in arcan_video_objecttexmode()
3110 src->vstore->txv = modet; in arcan_video_objecttexmode()
3111 agp_update_vstore(src->vstore, false); in arcan_video_objecttexmode()
3126 src->vstore->filtermode = mode; in arcan_video_objectfilter()
3127 agp_update_vstore(src->vstore, false); in arcan_video_objectfilter()
3481 arcan_vint_drop_vstore(vobj->vstore); in arcan_video_deleteobject()
3482 vobj->vstore = NULL; in arcan_video_deleteobject()
3699 if (target->vstore->txmapped != TXSTATE_TEX2D) in arcan_video_allocframes()
3727 target->frameset->frames[i].frame = target->vstore; in arcan_video_allocframes()
3730 target->vstore->refcount++; in arcan_video_allocframes()
4387 agp_request_readback(tgt->color->vstore); in process_readback()
4515 vobj->vstore->refcount == 1 && in arcan_video_persistobject()
4790 float sz_s[2] = {src->vstore->w, src->vstore->h}; in update_shenv()
4956 dst->vstore->vinf.text.raw, dst->vstore->vinf.text.s_raw, in ffunc_process()
4957 dst->vstore->w, dst->vstore->h, in ffunc_process()
4958 dst->vstore->vinf.text.glid, in ffunc_process()
5116 struct agp_vstore* vstore = vobj->vstore; in draw_vobj() local
5117 if (vstore->txmapped == TXSTATE_OFF && vobj->program != 0){ in draw_vobj()
5118 draw_colorsurf(tgt, *dprops, vobj, vstore->vinf.col.r, in draw_vobj()
5119 vstore->vinf.col.g, vstore->vinf.col.b, txcos); in draw_vobj()
5123 if (vstore->txmapped == TXSTATE_TEX2D){ in draw_vobj()
5254 agp_rendertarget_swapstore(tgt->art, tgt->color->vstore); in process_rendertarget()
5346 agp_activate_vstore(elem->vstore); in process_rendertarget()
5403 struct agp_vstore* dstore = vobj->vstore; in arcan_video_forceread()
5444 return current_context->stdoutp.color->vstore; in arcan_vint_world()
5527 struct asynch_readback_meta rbb = agp_poll_readback(vobj->vstore); in arcan_vint_pollreadback()
5555 if (dst && dst->current.opa < EPSILON && dst->vstore->refcount == 1 && in steptgt()
5762 return (agp_slice_vstore(src->vstore, n_slices, base, in arcan_video_sliceobject()
5781 vstores[i] = slot->vstore; in arcan_video_updateslices()
5784 return (agp_slice_synch(src->vstore, n_slices, vstores)) ? in arcan_video_updateslices()
5858 if (vobj && vobj->vstore){ in arcan_video_storage_properties()
5859 res.w = vobj->vstore->w; in arcan_video_storage_properties()
5860 res.h = vobj->vstore->h; in arcan_video_storage_properties()
5861 res.bpp = vobj->vstore->bpp; in arcan_video_storage_properties()
6049 tgt->art = agp_setup_rendertarget(tgt->color->vstore, tgt->mode); in invalidate_rendertargets()
6259 ds = vobj->vstore; in arcan_video_renderstring()
6293 ds = vobj->vstore; in arcan_video_renderstring()