Lines Matching defs:templ
302 struct pipe_resource templ;
356 memset(&templ, 0, sizeof(templ));
357 templ.bind = bind;
358 templ.format = pf;
359 templ.target = PIPE_TEXTURE_2D;
360 templ.last_level = 0;
361 templ.width0 = width;
362 templ.height0 = height;
363 templ.depth0 = 1;
364 templ.array_size = 1;
367 screen->base.screen->resource_create(screen->base.screen, &templ);
443 struct pipe_resource templ;
520 memset(&templ, 0, sizeof(templ));
521 templ.target = screen->target;
522 templ.last_level = 0;
523 templ.depth0 = 1;
524 templ.array_size = 1;
570 templ.width0 = dri_drawable->w;
571 templ.height0 = dri_drawable->h;
604 templ.width0 = dri_drawable->w;
605 templ.height0 = dri_drawable->h;
606 templ.format = format;
607 templ.bind = bind;
619 &templ, &whandle,
634 templ.format = drawable->textures[statt]->format;
635 templ.bind = drawable->textures[statt]->bind &
637 templ.nr_samples = drawable->stvis.samples;
638 templ.nr_storage_samples = drawable->stvis.samples;
644 drawable->msaa_textures[statt]->width0 != templ.width0 ||
645 drawable->msaa_textures[statt]->height0 != templ.height0) {
651 &templ);
685 templ.format = format;
686 templ.bind = bind & ~PIPE_BIND_SHARED;
689 templ.nr_samples = drawable->stvis.samples;
690 templ.nr_storage_samples = drawable->stvis.samples;
694 templ.nr_samples = 0;
695 templ.nr_storage_samples = 0;
703 (*zsbuf)->width0 != templ.width0 ||
704 (*zsbuf)->height0 != templ.height0) {
708 &templ);
853 struct pipe_resource templ;
910 memset(&templ, 0, sizeof(templ));
911 templ.bind = tex_usage | bind;
912 templ.target = screen->target;
913 templ.last_level = 0;
914 templ.depth0 = 1;
915 templ.array_size = 1;
916 templ.width0 = width;
917 templ.height0 = height;
922 templ.next = img->texture;
924 tex = pscreen->resource_from_handle(pscreen, &templ, &whandle[i],
938 templ.next = img->texture;
939 templ.width0 = width >> map->planes[i].width_shift;
940 templ.height0 = height >> map->planes[i].height_shift;
942 templ.format = dri2_get_pipe_format_for_dri_format(map->planes[i].dri_format);
944 templ.format = map->pipe_format;
945 assert(templ.format != PIPE_FORMAT_NONE);
948 &templ, &whandle[use_lowered ? map->planes[i].buffer_index : i],
1118 struct pipe_resource templ;
1154 memset(&templ, 0, sizeof(templ));
1155 templ.bind = tex_usage;
1156 templ.format = map->pipe_format;
1157 templ.target = PIPE_TEXTURE_2D;
1158 templ.last_level = 0;
1159 templ.width0 = width;
1160 templ.height0 = height;
1161 templ.depth0 = 1;
1162 templ.array_size = 1;
1168 &templ,
1173 screen->base.screen->resource_create(screen->base.screen, &templ);