Searched refs:swbuf (Results 1 - 11 of 11) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| H A D | svga_resource_buffer.c | 248 if (!sbuf->swbuf && !svga_buffer_has_hw_storage(sbuf)) { 261 sbuf->swbuf = align_malloc(sbuf->b.width0, 16); 262 if (!sbuf->swbuf) { 269 if (sbuf->swbuf) { 271 map = sbuf->swbuf; 324 if (!(svga->swc->force_coherent || sbuf->key.coherent) || sbuf->swbuf) { 369 if (!(svga->swc->force_coherent || sbuf->key.coherent) || sbuf->swbuf) 373 if (sbuf->swbuf && 414 if (sbuf->swbuf && !sbuf->user) 415 align_free(sbuf->swbuf); [all...] |
| H A D | svga_resource_buffer.h | 86 void *swbuf; member in struct:svga_buffer 89 * Whether swbuf was created by the user or not. 94 * Whether swbuf is used for this buffer.
|
| H A D | svga_resource_texture.h | 133 void *swbuf; member in struct:svga_transfer
|
| H A D | svga_resource_texture.c | 115 if (!st->swbuf) { 151 sw = (uint8_t *) st->swbuf + offset; 314 st->swbuf = MALLOC(nblocksy * st->base.stride * d); 315 if (!st->swbuf) { 327 if (st->swbuf) { 328 return st->swbuf; 705 if (!st->swbuf) 727 FREE(st->swbuf);
|
| H A D | svga_resource_buffer_upload.c | 859 assert(sbuf->swbuf); 860 if (!sbuf->swbuf) 878 /* Copy data from malloc'd swbuf to the new hardware buffer */ 882 memcpy((uint8_t *) map + start, (uint8_t *) sbuf->swbuf + start, len); 896 align_free(sbuf->swbuf); 897 sbuf->swbuf = NULL; 959 memcpy(map, (const char *) sbuf->swbuf + offset, size); 1043 /* Migrate the data from swbuf -> hwbuf if necessary */
|
| H A D | svga_state_constants.c | 599 if ((sbuf && sbuf->swbuf) || extra_buffer) {
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| H A D | svga_resource_buffer.c | 247 if (!sbuf->swbuf && !svga_buffer_has_hw_storage(sbuf)) { 260 sbuf->swbuf = align_malloc(sbuf->b.b.width0, 16); 261 if (!sbuf->swbuf) { 268 if (sbuf->swbuf) { 270 map = sbuf->swbuf; 392 if (sbuf->swbuf && !sbuf->user) 393 align_free(sbuf->swbuf); 479 sbuf->swbuf = align_malloc(sbuf->b.b.width0, 64); 480 if (!sbuf->swbuf) 529 sbuf->swbuf [all...] |
| H A D | svga_resource_buffer.h | 89 void *swbuf; member in struct:svga_buffer 92 * Whether swbuf was created by the user or not.
|
| H A D | svga_resource_texture.h | 137 void *swbuf; member in struct:svga_transfer
|
| H A D | svga_resource_buffer_upload.c | 848 assert(sbuf->swbuf); 849 if (!sbuf->swbuf) 867 /* Copy data from malloc'd swbuf to the new hardware buffer */ 871 memcpy((uint8_t *) map + start, (uint8_t *) sbuf->swbuf + start, len); 882 align_free(sbuf->swbuf); 883 sbuf->swbuf = NULL; 946 memcpy(map, (const char *) sbuf->swbuf + offset, size); 1037 /* Migrate the data from swbuf -> hwbuf if necessary */
|
| H A D | svga_resource_texture.c | 121 if (!st->swbuf) { 157 sw = (uint8_t *) st->swbuf + offset; 361 st->swbuf = MALLOC(nblocksy * st->base.stride * d); 362 if (!st->swbuf) { 374 if (st->swbuf) { 375 return st->swbuf; 768 FREE(st->swbuf);
|
Completed in 12 milliseconds