/external/mesa3d/src/gallium/tests/graw/ |
H A D | clear.c | 42 struct pipe_resource templat; local 68 templat.target = PIPE_TEXTURE_2D; 69 templat.format = formats[i]; 70 templat.width0 = WIDTH; 71 templat.height0 = HEIGHT; 72 templat.depth0 = 1; 73 templat.array_size = 1; 74 templat.last_level = 0; 75 templat.nr_samples = 1; 76 templat [all...] |
H A D | quad-sample.c | 167 struct pipe_resource templat; local 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; 220 templat.bind = PIPE_BIND_SAMPLER_VIEW; 224 &templat); 299 struct pipe_resource templat; local [all...] |
H A D | shader-leak.c | 170 struct pipe_resource templat; local 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; 203 templat.bind = (PIPE_BIND_RENDER_TARGET | 206 tex = screen->resource_create(screen, &templat); [all...] |
H A D | tri-gs.c | 177 struct pipe_resource templat; local 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; 210 templat.nr_samples = 1; 211 templat [all...] |
H A D | tri-instanced.c | 228 struct pipe_resource templat; local 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; 261 templat.nr_samples = 1; 262 templat [all...] |
H A D | fs-test.c | 114 struct pipe_resource templat; local 117 templat.target = PIPE_BUFFER; 118 templat.format = PIPE_FORMAT_R8_UNORM; 119 templat.width0 = sizeof(constants1); 120 templat.height0 = 1; 121 templat.depth0 = 1; 122 templat.array_size = 1; 123 templat.last_level = 0; 124 templat.nr_samples = 1; 125 templat 293 struct pipe_resource templat; local 426 struct pipe_resource templat; local [all...] |
H A D | gs-test.c | 151 struct pipe_resource templat; local 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; 161 templat.nr_samples = 1; 162 templat 357 struct pipe_resource templat; local 490 struct pipe_resource templat; local [all...] |
H A D | vs-test.c | 82 struct pipe_resource templat; local 85 templat.target = PIPE_BUFFER; 86 templat.format = PIPE_FORMAT_R8_UNORM; 87 templat.width0 = sizeof(constants); 88 templat.height0 = 1; 89 templat.depth0 = 1; 90 templat.array_size = 1; 91 templat.last_level = 0; 92 templat.nr_samples = 1; 93 templat 244 struct pipe_resource templat; local 377 struct pipe_resource templat; local [all...] |
/external/mesa3d/src/gallium/targets/graw-xlib/ |
H A D | graw_xlib.c | 56 XVisualInfo templat, *visinfo = NULL; local 78 templat.screen = DefaultScreen(graw.display); 79 templat.depth = 32; 80 templat.class = TrueColor; 82 visinfo = XGetVisualInfo(graw.display, mask, &templat, &n);
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_winsys_xsp.c | 64 struct pipe_resource templat; local 81 memset(&templat, 0, sizeof(struct pipe_resource)); 82 templat.target = PIPE_TEXTURE_2D; 84 templat.format = PIPE_FORMAT_B8G8R8X8_UNORM; 85 templat.last_level = 0; 86 templat.width0 = width; 87 templat.height0 = height; 88 templat.depth0 = 1; 89 templat.usage = PIPE_USAGE_DEFAULT; 90 templat [all...] |
H A D | vl_video_buffer.c | 394 struct pipe_video_buffer templat, *result; local 411 templat = *tmpl; 412 templat.width = pot_buffers ? util_next_power_of_two(tmpl->width) 414 templat.height = pot_buffers ? util_next_power_of_two(tmpl->height) 418 templat.height /= 2; 422 pipe, &templat, resource_formats,
|
H A D | vl_mpeg12_decoder.c | 879 struct pipe_video_buffer templat; local 901 memset(&templat, 0, sizeof(templat)); 902 templat.width = dec->base.width / 4; 903 templat.height = dec->base.height; 904 templat.chroma_format = dec->base.chroma_format; 907 dec->base.context, &templat, 915 memset(&templat, 0, sizeof(templat)); 916 templat 963 struct pipe_video_buffer templat; local [all...] |
/external/mesa3d/src/gallium/drivers/trace/ |
H A D | tr_dump_state.c | 47 void trace_dump_resource_template(const struct pipe_resource *templat) argument 52 if(!templat) { 59 trace_dump_member(int, templat, target); 60 trace_dump_member(format, templat, format); 63 trace_dump_uint(templat->width0); 67 trace_dump_uint(templat->height0); 71 trace_dump_uint(templat->depth0); 75 trace_dump_uint(templat->array_size); 78 trace_dump_member(uint, templat, last_level); 79 trace_dump_member(uint, templat, usag [all...] |
H A D | tr_screen.c | 243 const struct pipe_resource *templat) 252 trace_dump_arg(resource_template, templat); 254 result = screen->resource_create(screen, templat); 242 trace_screen_resource_create(struct pipe_screen *_screen, const struct pipe_resource *templat) argument
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_dump_state.c | 257 util_dump_template(FILE *stream, const struct pipe_resource *templat) argument 259 if(!templat) { 266 util_dump_member(stream, int, templat, target); 267 util_dump_member(stream, format, templat, format); 270 util_dump_uint(stream, templat->width0); 274 util_dump_uint(stream, templat->height0); 278 util_dump_uint(stream, templat->depth0); 282 util_dump_uint(stream, templat->array_size); 285 util_dump_member(stream, uint, templat, last_level); 286 util_dump_member(stream, uint, templat, usag [all...] |
H A D | u_pstipple.c | 109 struct pipe_resource templat, *tex; local 111 memset(&templat, 0, sizeof(templat)); 112 templat.target = PIPE_TEXTURE_2D; 113 templat.format = PIPE_FORMAT_A8_UNORM; 114 templat.last_level = 0; 115 templat.width0 = 32; 116 templat.height0 = 32; 117 templat.depth0 = 1; 118 templat 137 struct pipe_sampler_view templat, *sv; local 152 struct pipe_sampler_state templat; local [all...] |
/external/mesa3d/src/gallium/drivers/galahad/ |
H A D | glhd_screen.c | 142 const struct pipe_resource *templat) 148 glhd_check("%u", templat->width0, >= 1); 149 glhd_check("%u", templat->height0, >= 1); 150 glhd_check("%u", templat->depth0, >= 1); 151 glhd_check("%u", templat->array_size, >= 1); 153 if (templat->target == PIPE_BUFFER) { 154 glhd_check("%u", templat->last_level, == 0); 155 glhd_check("%u", templat->height0, == 1); 156 glhd_check("%u", templat->depth0, == 1); 157 glhd_check("%u", templat 141 galahad_screen_resource_create(struct pipe_screen *_screen, const struct pipe_resource *templat) argument [all...] |
/external/mesa3d/src/gallium/drivers/identity/ |
H A D | id_screen.c | 134 const struct pipe_resource *templat) 141 templat); 133 identity_screen_resource_create(struct pipe_screen *_screen, const struct pipe_resource *templat) argument
|
/external/mesa3d/src/gallium/drivers/rbug/ |
H A D | rbug_screen.c | 137 const struct pipe_resource *templat) 144 templat); 136 rbug_screen_resource_create(struct pipe_screen *_screen, const struct pipe_resource *templat) argument
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_texture.c | 120 const struct pipe_resource *templat) 126 assert(templat->format != PIPE_FORMAT_NONE); 128 spr->base = *templat; 132 spr->pot = (util_is_power_of_two(templat->width0) && 133 util_is_power_of_two(templat->height0) && 134 util_is_power_of_two(templat->depth0)); 178 const struct pipe_resource *templat, 186 spr->base = *templat; 190 spr->pot = (util_is_power_of_two(templat->width0) && 191 util_is_power_of_two(templat 119 softpipe_resource_create(struct pipe_screen *screen, const struct pipe_resource *templat) argument 177 softpipe_resource_from_handle(struct pipe_screen *screen, const struct pipe_resource *templat, struct winsys_handle *whandle) argument [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
H A D | xorg_crtc.c | 219 struct pipe_resource templat; local 222 memset(&templat, 0, sizeof(templat)); 223 templat.bind |= PIPE_BIND_RENDER_TARGET; 224 templat.bind |= PIPE_BIND_SCANOUT; 225 templat.bind |= PIPE_BIND_CURSOR; 226 templat.target = PIPE_TEXTURE_2D; 227 templat.last_level = 0; 228 templat.depth0 = 1; 229 templat [all...] |
/external/opencv3/modules/videoio/src/ |
H A D | cap_intelperc.cpp | 117 PXCSession::ImplDesc templat; local 118 memset(&templat,0,sizeof(templat)); 119 templat.group = PXCSession::IMPL_GROUP_SENSOR; 120 templat.subgroup= PXCSession::IMPL_SUBGROUP_VIDEO_CAPTURE; 125 sts = session->QueryImpl(&templat, modidx, &desc);
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_video.c | 786 const struct pipe_video_buffer *templat) 796 if (templat->buffer_format != PIPE_FORMAT_NV12 || getenv("XVMC_VL") || 798 return vl_video_buffer_create(pipe, templat); 800 assert(templat->chroma_format == PIPE_VIDEO_CHROMA_FORMAT_420); 801 width = align(templat->width, 64); 802 height = align(templat->height, 64); 813 buffer->base.chroma_format = templat->chroma_format; 895 const struct pipe_video_buffer *templat) 898 return nouveau_video_buffer_create(pipe, screen, templat); 784 nouveau_video_buffer_create(struct pipe_context *pipe, struct nouveau_screen *screen, const struct pipe_video_buffer *templat) argument 894 nouveau_context_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *templat) argument
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_texture.c | 247 const struct pipe_resource *templat) 254 lpr->base = *templat; 277 const enum pipe_format format = templat->format; 278 const uint w = templat->width0 / util_format_get_blockheight(format); 280 const uint h = templat->height0 / util_format_get_blockwidth(format); 281 const uint d = templat->depth0; 246 llvmpipe_resource_create(struct pipe_screen *_screen, const struct pipe_resource *templat) argument
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
H A D | vdpau_private.h | 365 struct pipe_video_buffer templat, *video_buffer; member in struct:__anon13944
|