Home
last modified time | relevance | path

Searched refs:res_create (Results 1 – 1 of 1) sorted by relevance

/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DHostConnection.cpp215 struct drm_virtgpu_resource_create res_create; in createColorBuffer() local
216 memset(&res_create, 0, sizeof(res_create)); in createColorBuffer()
217 res_create.target = kPipeTexture2D; in createColorBuffer()
218 res_create.format = virtgpu_format; in createColorBuffer()
219 res_create.bind = kBindRenderTarget; in createColorBuffer()
220 res_create.width = width; in createColorBuffer()
221 res_create.height = height; in createColorBuffer()
222 res_create.depth = 1; in createColorBuffer()
223 res_create.array_size = 1; in createColorBuffer()
224 res_create.last_level = 0; in createColorBuffer()
[all …]