Searched defs:templat (Results 1 - 25 of 27) sorted by relevance

12

/external/mesa3d/src/gallium/tests/graw/
H A Dclear.c42 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 Dquad-sample.c167 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 Dshader-leak.c170 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 Dtri-gs.c177 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 Dtri-instanced.c228 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 Dfs-test.c114 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 Dgs-test.c151 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 Dvs-test.c82 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 Dgraw_xlib.c56 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 Dvl_winsys_xsp.c64 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 Dvl_video_buffer.c394 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 Dvl_mpeg12_decoder.c879 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 Dtr_dump_state.c47 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 Dtr_screen.c243 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 Du_dump_state.c257 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 Du_pstipple.c109 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 Dglhd_screen.c142 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 Did_screen.c134 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 Drbug_screen.c137 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 Dsp_texture.c120 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 Dxorg_crtc.c219 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 Dcap_intelperc.cpp117 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 Dnouveau_video.c786 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 Dlp_texture.c247 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 Dvdpau_private.h365 struct pipe_video_buffer templat, *video_buffer; member in struct:__anon13944

Completed in 399 milliseconds

12