Searched refs:res_create (Results 1 – 1 of 1) sorted by relevance
209 struct drm_virtgpu_resource_create res_create; in createColorBuffer() local210 memset(&res_create, 0, sizeof(res_create)); in createColorBuffer()211 res_create.target = kPipeTexture2D; in createColorBuffer()212 res_create.format = virtgpu_format; in createColorBuffer()213 res_create.bind = kBindRenderTarget; in createColorBuffer()214 res_create.width = width; in createColorBuffer()215 res_create.height = height; in createColorBuffer()216 res_create.depth = 1; in createColorBuffer()217 res_create.array_size = 1; in createColorBuffer()218 res_create.last_level = 0; in createColorBuffer()[all …]