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

123

/external/chromium_org/third_party/mesa/src/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...]
/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...]
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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,
/external/chromium_org/third_party/mesa/src/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/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,
/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...]
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/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...]

Completed in 358 milliseconds

123