Searched refs:intelBuffer (Results 1 – 2 of 2) sorted by relevance
1227 struct intel_buffer *intelBuffer; in intelAllocateBuffer() local1233 intelBuffer = calloc(1, sizeof *intelBuffer); in intelAllocateBuffer()1234 if (intelBuffer == NULL) in intelAllocateBuffer()1238 intelBuffer->region = intel_region_alloc(intelScreen, in intelAllocateBuffer()1245 if (intelBuffer->region == NULL) { in intelAllocateBuffer()1246 free(intelBuffer); in intelAllocateBuffer()1250 intel_region_flink(intelBuffer->region, &intelBuffer->base.name); in intelAllocateBuffer()1252 intelBuffer->base.attachment = attachment; in intelAllocateBuffer()1253 intelBuffer->base.cpp = intelBuffer->region->cpp; in intelAllocateBuffer()1254 intelBuffer->base.pitch = intelBuffer->region->pitch; in intelAllocateBuffer()[all …]
2714 struct intel_buffer *intelBuffer; in intelAllocateBuffer() local2720 intelBuffer = calloc(1, sizeof *intelBuffer); in intelAllocateBuffer()2721 if (intelBuffer == NULL) in intelAllocateBuffer()2729 intelBuffer->bo = brw_bo_alloc_tiled_2d(screen->bufmgr, in intelAllocateBuffer()2737 if (intelBuffer->bo == NULL) { in intelAllocateBuffer()2738 free(intelBuffer); in intelAllocateBuffer()2742 brw_bo_flink(intelBuffer->bo, &intelBuffer->base.name); in intelAllocateBuffer()2744 intelBuffer->base.attachment = attachment; in intelAllocateBuffer()2745 intelBuffer->base.cpp = cpp; in intelAllocateBuffer()2746 intelBuffer->base.pitch = pitch; in intelAllocateBuffer()[all …]