/external/mesa3d/src/gallium/tests/graw/ |
clear.c | 42 struct pipe_resource templat; local 68 memset(&templat, 0, sizeof(templat)); 69 templat.target = PIPE_TEXTURE_2D; 70 templat.format = formats[i]; 71 templat.width0 = WIDTH; 72 templat.height0 = HEIGHT; 73 templat.depth0 = 1; 74 templat.array_size = 1; 75 templat.last_level = 0 [all...] |
gs-test.c | 151 struct pipe_resource templat; local 153 memset(&templat, 0, sizeof(templat)); 154 templat.target = PIPE_BUFFER; 155 templat.format = PIPE_FORMAT_R8_UNORM; 156 templat.width0 = sizeof(constants1); 157 templat.height0 = 1; 158 templat.depth0 = 1; 159 templat.array_size = 1; 160 templat.last_level = 0 341 struct pipe_resource templat; local 471 struct pipe_resource templat; local [all...] |
vs-test.c | 82 struct pipe_resource templat; local 85 memset(&templat, 0, sizeof(templat)); 86 templat.target = PIPE_BUFFER; 87 templat.format = PIPE_FORMAT_R8_UNORM; 88 templat.width0 = sizeof(constants); 89 templat.height0 = 1; 90 templat.depth0 = 1; 91 templat.array_size = 1; 92 templat.last_level = 0 239 struct pipe_resource templat; local 369 struct pipe_resource templat; local [all...] |
quad-sample.c | 166 struct pipe_resource templat; local 212 memset(&templat, 0, sizeof(templat)); 213 templat.target = PIPE_TEXTURE_2D; 214 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; 215 templat.width0 = SIZE; 216 templat.height0 = SIZE; 217 templat.depth0 = 1; 218 templat.last_level = 0; 219 templat.nr_samples = 1 295 struct pipe_resource templat; local [all...] |
fs-test.c | 250 struct pipe_resource templat; local 296 memset(&templat, 0, sizeof(templat)); 297 templat.target = PIPE_TEXTURE_2D; 298 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; 299 templat.width0 = SIZE; 300 templat.height0 = SIZE; 301 templat.depth0 = 1; 302 templat.array_size = 1; 303 templat.last_level = 0 380 struct pipe_resource templat; local [all...] |
tri-gs.c | 176 struct pipe_resource templat; local 202 memset(&templat, 0, sizeof(templat)); 203 templat.target = PIPE_TEXTURE_2D; 204 templat.format = formats[i]; 205 templat.width0 = WIDTH; 206 templat.height0 = HEIGHT; 207 templat.depth0 = 1; 208 templat.array_size = 1; 209 templat.last_level = 0 [all...] |
tri-instanced.c | 227 struct pipe_resource templat; local 253 memset(&templat, 0, sizeof(templat)); 254 templat.target = PIPE_TEXTURE_2D; 255 templat.format = formats[i]; 256 templat.width0 = WIDTH; 257 templat.height0 = HEIGHT; 258 templat.depth0 = 1; 259 templat.array_size = 1; 260 templat.last_level = 0 [all...] |
shader-leak.c | 169 struct pipe_resource templat; local 195 memset(&templat, 0, sizeof(templat)); 196 templat.target = PIPE_TEXTURE_2D; 197 templat.format = formats[i]; 198 templat.width0 = WIDTH; 199 templat.height0 = HEIGHT; 200 templat.depth0 = 1; 201 templat.last_level = 0; 202 templat.nr_samples = 1 [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_pstipple.c | 107 struct pipe_resource templat, *tex; local 109 memset(&templat, 0, sizeof(templat)); 110 templat.target = PIPE_TEXTURE_2D; 111 templat.format = PIPE_FORMAT_A8_UNORM; 112 templat.last_level = 0; 113 templat.width0 = 32; 114 templat.height0 = 32; 115 templat.depth0 = 1; 116 templat.array_size = 1 135 struct pipe_sampler_view templat, *sv; local 150 struct pipe_sampler_state templat; local [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_decoder.h | 52 const struct pipe_video_codec *templat);
|
vl_decoder.c | 65 const struct pipe_video_codec *templat) 67 unsigned width = templat->width, height = templat->height; 77 templat->profile, 78 templat->entrypoint, 82 temp = *templat;
|
vl_video_buffer.h | 118 const struct pipe_video_buffer *templat, 128 const struct pipe_video_buffer *templat); 135 const struct pipe_video_buffer *templat, 144 const struct pipe_video_buffer *templat,
|
vl_stubs.c | 32 const struct pipe_video_codec *templat) 137 const struct pipe_video_codec *templat)
|
vl_mpeg12_decoder.h | 112 const struct pipe_video_codec *templat);
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_resource.c | 130 const struct pipe_resource *templat) 133 if (!translate_samples_to_xyscale(templat->nr_samples, NULL, NULL, NULL)) 136 /* templat->bind is not set here, so we must use the minimum sizes */ 140 if (templat->width0 > max_size || templat->height0 > max_size) 182 uint64_t modifier, const struct pipe_resource *templat) 191 templat->target, util_format_name(templat->format), templat->width0, 192 templat->height0, templat->depth0, templat->array_size [all...] |
etnaviv_surface.c | 42 const struct pipe_surface *templat) 51 assert(templat->u.tex.first_layer == templat->u.tex.last_layer); 52 unsigned layer = templat->u.tex.first_layer; 53 unsigned level = templat->u.tex.level; 79 surf->base.writable = templat->writable; /* what is this for anyway */ 80 surf->base.u = templat->u;
|
/external/mesa3d/src/gallium/state_trackers/hgl/ |
hgl.c | 86 struct pipe_resource templat; local 97 memset(&templat, 0, sizeof(templat)); 98 templat.target = buffer->target; 99 templat.width0 = width; 100 templat.height0 = height; 101 templat.depth0 = 1; 102 templat.array_size = 1; 103 templat.last_level = 0; 128 templat.format = format [all...] |
/external/virglrenderer/src/gallium/include/pipe/ |
p_screen.h | 149 const struct pipe_resource *templat); 155 const struct pipe_resource *templat); 163 const struct pipe_resource *templat,
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
surface.c | 84 memset(&p_surf->templat, 0, sizeof(p_surf->templat)); 85 p_surf->templat.buffer_format = pipe->screen->get_video_param 92 p_surf->templat.chroma_format = ChromaToPipe(chroma_type); 93 p_surf->templat.width = width; 94 p_surf->templat.height = height; 95 p_surf->templat.interlaced = pipe->screen->get_video_param 102 if (p_surf->templat.buffer_format != PIPE_FORMAT_NONE) 103 p_surf->video_buffer = pipe->create_video_buffer(pipe, &p_surf->templat); 173 *width = p_surf->templat.width [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_texture.c | 156 const struct pipe_resource *templat, 163 assert(templat->format != PIPE_FORMAT_NONE); 165 spr->base = *templat; 169 spr->pot = (util_is_power_of_two(templat->width0) && 170 util_is_power_of_two(templat->height0) && 171 util_is_power_of_two(templat->depth0)); 193 const struct pipe_resource *templat) 195 return softpipe_resource_create_front(screen, templat, NULL); 221 const struct pipe_resource *templat, 230 spr->base = *templat; [all...] |
/external/mesa3d/src/gallium/include/pipe/ |
p_screen.h | 177 const struct pipe_resource *templat); 183 const struct pipe_resource *templat); 186 const struct pipe_resource *templat, 201 const struct pipe_resource *templat, 368 const struct pipe_resource *templat,
|
/external/mesa3d/src/gallium/targets/graw-xlib/ |
graw_xlib.c | 57 XVisualInfo templat, *visinfo = NULL; local 79 templat.screen = DefaultScreen(graw.display); 80 templat.depth = 32; 81 templat.class = TrueColor; 83 visinfo = XGetVisualInfo(graw.display, mask, &templat, &n);
|
/external/mesa3d/src/gallium/state_trackers/va/ |
context.c | 239 context->templat.profile = config->profile; 240 context->templat.entrypoint = config->entrypoint; 241 context->templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420; 242 context->templat.width = picture_width; 243 context->templat.height = picture_height; 244 context->templat.expect_chunked_decode = true; 246 switch (u_reduce_video_profile(context->templat.profile)) { 250 context->templat.max_references = 2; 254 context->templat.max_references = 0; 271 context->templat.max_references = num_render_targets [all...] |
/external/mesa3d/src/gallium/state_trackers/omx_bellagio/ |
vid_dec_mpeg12.c | 68 struct pipe_video_codec templat = {}; local 72 templat.profile = priv->profile; 73 templat.entrypoint = PIPE_VIDEO_ENTRYPOINT_BITSTREAM; 74 templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420; 75 templat.max_references = 2; 76 templat.expect_chunked_decode = true; 77 templat.width = port->sPortParam.format.video.nFrameWidth; 78 templat.height = port->sPortParam.format.video.nFrameHeight; 80 priv->codec = priv->pipe->create_video_codec(priv->pipe, &templat);
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
context.c | 194 struct pipe_video_codec templat = {0}; local 250 templat.profile = ProfileToPipe(mc_type); 251 templat.entrypoint = (mc_type & XVMC_IDCT) ? PIPE_VIDEO_ENTRYPOINT_IDCT : PIPE_VIDEO_ENTRYPOINT_MC; 252 templat.chroma_format = FormatToPipe(chroma_format); 253 templat.width = width; 254 templat.height = height; 255 templat.max_references = 2; 256 templat.expect_chunked_decode = true; 258 context_priv->decoder = pipe->create_video_codec(pipe, &templat);
|