Lines Matching refs:stack
118 if (arrays->stack) {
119 free(arrays->stack);
120 arrays->stack = NULL;
293 arrays->stack = malloc(sizeof(struct array_stack_state)
1910 struct array_stack_state *stack =
1911 &arrays->stack[(arrays->stack_index * arrays->num_arrays)];
1916 stack[i].data = arrays->arrays[i].data;
1917 stack[i].data_type = arrays->arrays[i].data_type;
1918 stack[i].user_stride = arrays->arrays[i].user_stride;
1919 stack[i].count = arrays->arrays[i].count;
1920 stack[i].key = arrays->arrays[i].key;
1921 stack[i].index = arrays->arrays[i].index;
1922 stack[i].enabled = arrays->arrays[i].enabled;
1936 struct array_stack_state *stack;
1941 stack = &arrays->stack[(arrays->stack_index * arrays->num_arrays)];
1944 switch (stack[i].key) {
1946 __indirect_glNormalPointer(stack[i].data_type,
1947 stack[i].user_stride, stack[i].data);
1950 __indirect_glColorPointer(stack[i].count,
1951 stack[i].data_type,
1952 stack[i].user_stride, stack[i].data);
1955 __indirect_glIndexPointer(stack[i].data_type,
1956 stack[i].user_stride, stack[i].data);
1959 __indirect_glEdgeFlagPointer(stack[i].user_stride, stack[i].data);
1962 arrays->active_texture_unit = stack[i].index;
1963 __indirect_glTexCoordPointer(stack[i].count,
1964 stack[i].data_type,
1965 stack[i].user_stride, stack[i].data);
1968 __indirect_glSecondaryColorPointerEXT(stack[i].count,
1969 stack[i].data_type,
1970 stack[i].user_stride,
1971 stack[i].data);
1974 __indirect_glFogCoordPointerEXT(stack[i].data_type,
1975 stack[i].user_stride, stack[i].data);
1980 __glXSetArrayEnable(state, stack[i].key, stack[i].index,
1981 stack[i].enabled);