Lines Matching refs:depthCopy
1007 GLfloat *depthCopy = malloc(n * sizeof(GLfloat));
1008 if (!depthCopy) {
1014 memcpy(depthCopy, depthSpan, n * sizeof(GLfloat));
1015 _mesa_scale_and_bias_depth(ctx, n, depthCopy);
1016 depthSpan = depthCopy;
1130 free(depthCopy);
1145 GLfloat *depthCopy = malloc(n * sizeof(GLfloat));
1149 if (!depthCopy || !stencilCopy) {
1151 free(depthCopy);
1157 memcpy(depthCopy, depthVals, n * sizeof(GLfloat));
1158 _mesa_scale_and_bias_depth(ctx, n, depthCopy);
1159 depthVals = depthCopy;
1189 free(depthCopy);