Home | History | Annotate | Download | only in main

Lines Matching refs:actx

1446 static void check_vbo( AEcontext *actx,
1451 for (i = 0; i < actx->nr_vbos; i++)
1452 if (actx->vbo[i] == vbo)
1454 assert(actx->nr_vbos < VERT_ATTRIB_MAX);
1455 actx->vbo[actx->nr_vbos++] = vbo;
1468 AEcontext *actx = AE_CONTEXT(ctx);
1469 AEarray *aa = actx->arrays;
1470 AEattrib *at = actx->attribs;
1474 actx->nr_vbos = 0;
1480 check_vbo(actx, aa->array->BufferObj);
1486 check_vbo(actx, aa->array->BufferObj);
1492 check_vbo(actx, aa->array->BufferObj);
1498 check_vbo(actx, aa->array->BufferObj);
1504 check_vbo(actx, aa->array->BufferObj);
1510 check_vbo(actx, aa->array->BufferObj);
1525 check_vbo(actx, at->array->BufferObj);
1560 check_vbo(actx, at->array->BufferObj);
1573 check_vbo(actx, aa->array->BufferObj);
1579 check_vbo(actx, aa->array->BufferObj);
1583 check_vbo(actx, arrayObj->ElementArrayBufferObj);
1585 ASSERT(at - actx->attribs <= VERT_ATTRIB_MAX);
1586 ASSERT(aa - actx->arrays < 32);
1590 actx->NewState = 0;
1595 AEcontext *actx = AE_CONTEXT(ctx);
1598 if (actx->mapped_vbos)
1601 if (actx->NewState)
1604 for (i = 0; i < actx->nr_vbos; i++)
1606 actx->vbo[i]->Size,
1608 actx->vbo[i]);
1610 if (actx->nr_vbos)
1611 actx->mapped_vbos = GL_TRUE;
1616 AEcontext *actx = AE_CONTEXT(ctx);
1619 if (!actx->mapped_vbos)
1622 assert (!actx->NewState);
1624 for (i = 0; i < actx->nr_vbos; i++)
1625 ctx->Driver.UnmapBuffer(ctx, actx->vbo[i]);
1627 actx->mapped_vbos = GL_FALSE;
1640 const AEcontext *actx = AE_CONTEXT(ctx);
1654 if (actx->NewState) {
1655 assert(!actx->mapped_vbos);
1660 do_map = actx->nr_vbos && !actx->mapped_vbos;
1666 for (at = actx->attribs; at->func; at++) {
1674 for (aa = actx->arrays; aa->offset != -1 ; aa++) {
1689 AEcontext *actx = AE_CONTEXT(ctx);
1703 assert(!actx->mapped_vbos);
1704 actx->NewState |= new_state;