Lines Matching refs:intelBuffer
1143 struct intel_buffer *intelBuffer;
1149 intelBuffer = CALLOC(sizeof *intelBuffer);
1150 if (intelBuffer == NULL)
1154 intelBuffer->region = intel_region_alloc(intelScreen,
1161 if (intelBuffer->region == NULL) {
1162 FREE(intelBuffer);
1166 intel_region_flink(intelBuffer->region, &intelBuffer->base.name);
1168 intelBuffer->base.attachment = attachment;
1169 intelBuffer->base.cpp = intelBuffer->region->cpp;
1170 intelBuffer->base.pitch =
1171 intelBuffer->region->pitch * intelBuffer->region->cpp;
1173 return &intelBuffer->base;
1179 struct intel_buffer *intelBuffer = (struct intel_buffer *) buffer;
1181 intel_region_release(&intelBuffer->region);
1182 free(intelBuffer);