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