• Home
  • Raw
  • Download

Lines Matching refs:actx

1543 check_vbo(AEcontext *actx, struct gl_buffer_object *vbo)  in check_vbo()  argument
1548 for (i = 0; i < actx->nr_vbos; i++) in check_vbo()
1549 if (actx->vbo[i] == vbo) in check_vbo()
1551 assert(actx->nr_vbos < VERT_ATTRIB_MAX); in check_vbo()
1552 actx->vbo[actx->nr_vbos++] = vbo; in check_vbo()
1566 AEcontext *actx = AE_CONTEXT(ctx); in _ae_update_state() local
1567 AEarray *aa = actx->arrays; /* non-indexed arrays (ex: glNormal) */ in _ae_update_state()
1568 AEattrib *at = actx->attribs; /* indexed arrays (ex: glMultiTexCoord) */ in _ae_update_state()
1572 actx->nr_vbos = 0; in _ae_update_state()
1579 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state()
1587 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state()
1595 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state()
1603 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state()
1611 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state()
1619 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state()
1637 check_vbo(actx, at->binding->BufferObj); in _ae_update_state()
1669 check_vbo(actx, at->binding->BufferObj); in _ae_update_state()
1683 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state()
1690 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state()
1694 check_vbo(actx, vao->IndexBufferObj); in _ae_update_state()
1696 assert(at - actx->attribs <= VERT_ATTRIB_MAX); in _ae_update_state()
1697 assert(aa - actx->arrays < 32); in _ae_update_state()
1701 actx->dirty_state = false; in _ae_update_state()
1712 AEcontext *actx = AE_CONTEXT(ctx); in _ae_map_vbos() local
1715 if (actx->mapped_vbos) in _ae_map_vbos()
1718 if (actx->dirty_state) in _ae_map_vbos()
1721 for (i = 0; i < actx->nr_vbos; i++) in _ae_map_vbos()
1723 actx->vbo[i]->Size, in _ae_map_vbos()
1725 actx->vbo[i], in _ae_map_vbos()
1728 if (actx->nr_vbos) in _ae_map_vbos()
1729 actx->mapped_vbos = GL_TRUE; in _ae_map_vbos()
1739 AEcontext *actx = AE_CONTEXT(ctx); in _ae_unmap_vbos() local
1742 if (!actx->mapped_vbos) in _ae_unmap_vbos()
1745 assert (!actx->dirty_state); in _ae_unmap_vbos()
1747 for (i = 0; i < actx->nr_vbos; i++) in _ae_unmap_vbos()
1748 ctx->Driver.UnmapBuffer(ctx, actx->vbo[i], MAP_INTERNAL); in _ae_unmap_vbos()
1750 actx->mapped_vbos = GL_FALSE; in _ae_unmap_vbos()
1764 const AEcontext *actx = AE_CONTEXT(ctx); in _ae_ArrayElement() local
1778 if (actx->dirty_state) { in _ae_ArrayElement()
1779 assert(!actx->mapped_vbos); in _ae_ArrayElement()
1784 do_map = actx->nr_vbos && !actx->mapped_vbos; in _ae_ArrayElement()
1790 for (at = actx->attribs; at->func; at++) { in _ae_ArrayElement()
1799 for (aa = actx->arrays; aa->offset != -1 ; aa++) { in _ae_ArrayElement()
1815 AEcontext *actx = AE_CONTEXT(ctx); in _ae_invalidate_state() local
1828 assert(!actx->mapped_vbos); in _ae_invalidate_state()
1829 actx->dirty_state = true; in _ae_invalidate_state()