Home
last modified time | relevance | path

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

/device/generic/opengl-transport/host/libs/virglrenderer/
DResource.h55 for (i = 0, linearSize = 0U; i < num_iovs; i++) in reallocLinear()
56 linearSize += iov[i].iov_len; in reallocLinear()
57 linear = realloc(linear, linearSize); in reallocLinear()
59 linearSize = iov[0].iov_len; in reallocLinear()
62 linearSize = 0U; in reallocLinear()
70 size_t linearSize = 0U; member
DAVDVirglRenderer.cpp203 if (offset + length > res->linearSize) in sync_linear_to_iovec()
247 if (offset + length > res->linearSize) in sync_iovec_to_linear()
483 void* pixels = malloc(res->linearSize); in virgl_renderer_get_cursor_data()
484 memcpy(pixels, res->linear, res->linearSize); in virgl_renderer_get_cursor_data()