/external/chromium_org/third_party/mesa/src/src/gallium/drivers/galahad/ |
D | glhd_screen.c | 142 const struct pipe_resource *templat) in galahad_screen_resource_create() argument 148 glhd_check("%u", templat->width0, >= 1); in galahad_screen_resource_create() 149 glhd_check("%u", templat->height0, >= 1); in galahad_screen_resource_create() 150 glhd_check("%u", templat->depth0, >= 1); in galahad_screen_resource_create() 151 glhd_check("%u", templat->array_size, >= 1); in galahad_screen_resource_create() 153 if (templat->target == PIPE_BUFFER) { in galahad_screen_resource_create() 154 glhd_check("%u", templat->last_level, == 0); in galahad_screen_resource_create() 155 glhd_check("%u", templat->height0, == 1); in galahad_screen_resource_create() 156 glhd_check("%u", templat->depth0, == 1); in galahad_screen_resource_create() 157 glhd_check("%u", templat->array_size, == 1); in galahad_screen_resource_create() [all …]
|
/external/mesa3d/src/gallium/drivers/galahad/ |
D | glhd_screen.c | 142 const struct pipe_resource *templat) in galahad_screen_resource_create() argument 148 glhd_check("%u", templat->width0, >= 1); in galahad_screen_resource_create() 149 glhd_check("%u", templat->height0, >= 1); in galahad_screen_resource_create() 150 glhd_check("%u", templat->depth0, >= 1); in galahad_screen_resource_create() 151 glhd_check("%u", templat->array_size, >= 1); in galahad_screen_resource_create() 153 if (templat->target == PIPE_BUFFER) { in galahad_screen_resource_create() 154 glhd_check("%u", templat->last_level, == 0); in galahad_screen_resource_create() 155 glhd_check("%u", templat->height0, == 1); in galahad_screen_resource_create() 156 glhd_check("%u", templat->depth0, == 1); in galahad_screen_resource_create() 157 glhd_check("%u", templat->array_size, == 1); in galahad_screen_resource_create() [all …]
|
/external/mesa3d/src/gallium/tests/graw/ |
D | fs-test.c | 114 struct pipe_resource templat; in init_fs_constbuf() local 117 templat.target = PIPE_BUFFER; in init_fs_constbuf() 118 templat.format = PIPE_FORMAT_R8_UNORM; in init_fs_constbuf() 119 templat.width0 = sizeof(constants1); in init_fs_constbuf() 120 templat.height0 = 1; in init_fs_constbuf() 121 templat.depth0 = 1; in init_fs_constbuf() 122 templat.array_size = 1; in init_fs_constbuf() 123 templat.last_level = 0; in init_fs_constbuf() 124 templat.nr_samples = 1; in init_fs_constbuf() 125 templat.bind = PIPE_BIND_CONSTANT_BUFFER; in init_fs_constbuf() [all …]
|
D | vs-test.c | 82 struct pipe_resource templat; in init_fs_constbuf() local 85 templat.target = PIPE_BUFFER; in init_fs_constbuf() 86 templat.format = PIPE_FORMAT_R8_UNORM; in init_fs_constbuf() 87 templat.width0 = sizeof(constants); in init_fs_constbuf() 88 templat.height0 = 1; in init_fs_constbuf() 89 templat.depth0 = 1; in init_fs_constbuf() 90 templat.array_size = 1; in init_fs_constbuf() 91 templat.last_level = 0; in init_fs_constbuf() 92 templat.nr_samples = 1; in init_fs_constbuf() 93 templat.bind = PIPE_BIND_CONSTANT_BUFFER; in init_fs_constbuf() [all …]
|
D | gs-test.c | 151 struct pipe_resource templat; in init_fs_constbuf() local 154 templat.target = PIPE_BUFFER; in init_fs_constbuf() 155 templat.format = PIPE_FORMAT_R8_UNORM; in init_fs_constbuf() 156 templat.width0 = sizeof(constants1); in init_fs_constbuf() 157 templat.height0 = 1; in init_fs_constbuf() 158 templat.depth0 = 1; in init_fs_constbuf() 159 templat.array_size = 1; in init_fs_constbuf() 160 templat.last_level = 0; in init_fs_constbuf() 161 templat.nr_samples = 1; in init_fs_constbuf() 162 templat.bind = PIPE_BIND_CONSTANT_BUFFER; in init_fs_constbuf() [all …]
|
D | clear.c | 42 struct pipe_resource templat; in init() local 68 templat.target = PIPE_TEXTURE_2D; in init() 69 templat.format = formats[i]; in init() 70 templat.width0 = WIDTH; in init() 71 templat.height0 = HEIGHT; in init() 72 templat.depth0 = 1; in init() 73 templat.array_size = 1; in init() 74 templat.last_level = 0; in init() 75 templat.nr_samples = 1; in init() 76 templat.bind = (PIPE_BIND_RENDER_TARGET | in init() [all …]
|
D | quad-sample.c | 167 struct pipe_resource templat; in init_tex() local 213 templat.target = PIPE_TEXTURE_2D; in init_tex() 214 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; in init_tex() 215 templat.width0 = SIZE; in init_tex() 216 templat.height0 = SIZE; in init_tex() 217 templat.depth0 = 1; in init_tex() 218 templat.last_level = 0; in init_tex() 219 templat.nr_samples = 1; in init_tex() 220 templat.bind = PIPE_BIND_SAMPLER_VIEW; in init_tex() 224 &templat); in init_tex() [all …]
|
D | tri-gs.c | 177 struct pipe_resource templat; in init() local 203 templat.target = PIPE_TEXTURE_2D; in init() 204 templat.format = formats[i]; in init() 205 templat.width0 = WIDTH; in init() 206 templat.height0 = HEIGHT; in init() 207 templat.depth0 = 1; in init() 208 templat.array_size = 1; in init() 209 templat.last_level = 0; in init() 210 templat.nr_samples = 1; in init() 211 templat.bind = (PIPE_BIND_RENDER_TARGET | in init() [all …]
|
D | shader-leak.c | 170 struct pipe_resource templat; in init() local 196 templat.target = PIPE_TEXTURE_2D; in init() 197 templat.format = formats[i]; in init() 198 templat.width0 = WIDTH; in init() 199 templat.height0 = HEIGHT; in init() 200 templat.depth0 = 1; in init() 201 templat.last_level = 0; in init() 202 templat.nr_samples = 1; in init() 203 templat.bind = (PIPE_BIND_RENDER_TARGET | in init() 206 tex = screen->resource_create(screen, &templat); in init() [all …]
|
D | tri-instanced.c | 228 struct pipe_resource templat; in init() local 254 templat.target = PIPE_TEXTURE_2D; in init() 255 templat.format = formats[i]; in init() 256 templat.width0 = WIDTH; in init() 257 templat.height0 = HEIGHT; in init() 258 templat.depth0 = 1; in init() 259 templat.array_size = 1; in init() 260 templat.last_level = 0; in init() 261 templat.nr_samples = 1; in init() 262 templat.bind = (PIPE_BIND_RENDER_TARGET | in init() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
D | fs-test.c | 114 struct pipe_resource templat; in init_fs_constbuf() local 117 templat.target = PIPE_BUFFER; in init_fs_constbuf() 118 templat.format = PIPE_FORMAT_R8_UNORM; in init_fs_constbuf() 119 templat.width0 = sizeof(constants1); in init_fs_constbuf() 120 templat.height0 = 1; in init_fs_constbuf() 121 templat.depth0 = 1; in init_fs_constbuf() 122 templat.array_size = 1; in init_fs_constbuf() 123 templat.last_level = 0; in init_fs_constbuf() 124 templat.nr_samples = 1; in init_fs_constbuf() 125 templat.bind = PIPE_BIND_CONSTANT_BUFFER; in init_fs_constbuf() [all …]
|
D | vs-test.c | 82 struct pipe_resource templat; in init_fs_constbuf() local 85 templat.target = PIPE_BUFFER; in init_fs_constbuf() 86 templat.format = PIPE_FORMAT_R8_UNORM; in init_fs_constbuf() 87 templat.width0 = sizeof(constants); in init_fs_constbuf() 88 templat.height0 = 1; in init_fs_constbuf() 89 templat.depth0 = 1; in init_fs_constbuf() 90 templat.array_size = 1; in init_fs_constbuf() 91 templat.last_level = 0; in init_fs_constbuf() 92 templat.nr_samples = 1; in init_fs_constbuf() 93 templat.bind = PIPE_BIND_CONSTANT_BUFFER; in init_fs_constbuf() [all …]
|
D | gs-test.c | 151 struct pipe_resource templat; in init_fs_constbuf() local 154 templat.target = PIPE_BUFFER; in init_fs_constbuf() 155 templat.format = PIPE_FORMAT_R8_UNORM; in init_fs_constbuf() 156 templat.width0 = sizeof(constants1); in init_fs_constbuf() 157 templat.height0 = 1; in init_fs_constbuf() 158 templat.depth0 = 1; in init_fs_constbuf() 159 templat.array_size = 1; in init_fs_constbuf() 160 templat.last_level = 0; in init_fs_constbuf() 161 templat.nr_samples = 1; in init_fs_constbuf() 162 templat.bind = PIPE_BIND_CONSTANT_BUFFER; in init_fs_constbuf() [all …]
|
D | clear.c | 42 struct pipe_resource templat; in init() local 68 templat.target = PIPE_TEXTURE_2D; in init() 69 templat.format = formats[i]; in init() 70 templat.width0 = WIDTH; in init() 71 templat.height0 = HEIGHT; in init() 72 templat.depth0 = 1; in init() 73 templat.array_size = 1; in init() 74 templat.last_level = 0; in init() 75 templat.nr_samples = 1; in init() 76 templat.bind = (PIPE_BIND_RENDER_TARGET | in init() [all …]
|
D | quad-sample.c | 167 struct pipe_resource templat; in init_tex() local 213 templat.target = PIPE_TEXTURE_2D; in init_tex() 214 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; in init_tex() 215 templat.width0 = SIZE; in init_tex() 216 templat.height0 = SIZE; in init_tex() 217 templat.depth0 = 1; in init_tex() 218 templat.last_level = 0; in init_tex() 219 templat.nr_samples = 1; in init_tex() 220 templat.bind = PIPE_BIND_SAMPLER_VIEW; in init_tex() 224 &templat); in init_tex() [all …]
|
D | tri-gs.c | 177 struct pipe_resource templat; in init() local 203 templat.target = PIPE_TEXTURE_2D; in init() 204 templat.format = formats[i]; in init() 205 templat.width0 = WIDTH; in init() 206 templat.height0 = HEIGHT; in init() 207 templat.depth0 = 1; in init() 208 templat.array_size = 1; in init() 209 templat.last_level = 0; in init() 210 templat.nr_samples = 1; in init() 211 templat.bind = (PIPE_BIND_RENDER_TARGET | in init() [all …]
|
D | shader-leak.c | 170 struct pipe_resource templat; in init() local 196 templat.target = PIPE_TEXTURE_2D; in init() 197 templat.format = formats[i]; in init() 198 templat.width0 = WIDTH; in init() 199 templat.height0 = HEIGHT; in init() 200 templat.depth0 = 1; in init() 201 templat.last_level = 0; in init() 202 templat.nr_samples = 1; in init() 203 templat.bind = (PIPE_BIND_RENDER_TARGET | in init() 206 tex = screen->resource_create(screen, &templat); in init() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_pstipple.c | 109 struct pipe_resource templat, *tex; in util_pstipple_create_stipple_texture() local 111 memset(&templat, 0, sizeof(templat)); in util_pstipple_create_stipple_texture() 112 templat.target = PIPE_TEXTURE_2D; in util_pstipple_create_stipple_texture() 113 templat.format = PIPE_FORMAT_A8_UNORM; in util_pstipple_create_stipple_texture() 114 templat.last_level = 0; in util_pstipple_create_stipple_texture() 115 templat.width0 = 32; in util_pstipple_create_stipple_texture() 116 templat.height0 = 32; in util_pstipple_create_stipple_texture() 117 templat.depth0 = 1; in util_pstipple_create_stipple_texture() 118 templat.array_size = 1; in util_pstipple_create_stipple_texture() 119 templat.bind = PIPE_BIND_SAMPLER_VIEW; in util_pstipple_create_stipple_texture() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_pstipple.c | 109 struct pipe_resource templat, *tex; in util_pstipple_create_stipple_texture() local 111 memset(&templat, 0, sizeof(templat)); in util_pstipple_create_stipple_texture() 112 templat.target = PIPE_TEXTURE_2D; in util_pstipple_create_stipple_texture() 113 templat.format = PIPE_FORMAT_A8_UNORM; in util_pstipple_create_stipple_texture() 114 templat.last_level = 0; in util_pstipple_create_stipple_texture() 115 templat.width0 = 32; in util_pstipple_create_stipple_texture() 116 templat.height0 = 32; in util_pstipple_create_stipple_texture() 117 templat.depth0 = 1; in util_pstipple_create_stipple_texture() 118 templat.array_size = 1; in util_pstipple_create_stipple_texture() 119 templat.bind = PIPE_BIND_SAMPLER_VIEW; in util_pstipple_create_stipple_texture() [all …]
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_winsys_xsp.c | 64 struct pipe_resource templat; in vl_screen_texture_from_drawable() local 81 memset(&templat, 0, sizeof(struct pipe_resource)); in vl_screen_texture_from_drawable() 82 templat.target = PIPE_TEXTURE_2D; in vl_screen_texture_from_drawable() 84 templat.format = PIPE_FORMAT_B8G8R8X8_UNORM; in vl_screen_texture_from_drawable() 85 templat.last_level = 0; in vl_screen_texture_from_drawable() 86 templat.width0 = width; in vl_screen_texture_from_drawable() 87 templat.height0 = height; in vl_screen_texture_from_drawable() 88 templat.depth0 = 1; in vl_screen_texture_from_drawable() 89 templat.usage = PIPE_USAGE_DEFAULT; in vl_screen_texture_from_drawable() 90 templat.bind = PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET; in vl_screen_texture_from_drawable() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
D | vl_winsys_xsp.c | 64 struct pipe_resource templat; in vl_screen_texture_from_drawable() local 81 memset(&templat, 0, sizeof(struct pipe_resource)); in vl_screen_texture_from_drawable() 82 templat.target = PIPE_TEXTURE_2D; in vl_screen_texture_from_drawable() 84 templat.format = PIPE_FORMAT_B8G8R8X8_UNORM; in vl_screen_texture_from_drawable() 85 templat.last_level = 0; in vl_screen_texture_from_drawable() 86 templat.width0 = width; in vl_screen_texture_from_drawable() 87 templat.height0 = height; in vl_screen_texture_from_drawable() 88 templat.depth0 = 1; in vl_screen_texture_from_drawable() 89 templat.usage = PIPE_USAGE_DEFAULT; in vl_screen_texture_from_drawable() 90 templat.bind = PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET; in vl_screen_texture_from_drawable() [all …]
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | surface.c | 78 memset(&p_surf->templat, 0, sizeof(p_surf->templat)); in vlVdpVideoSurfaceCreate() 79 p_surf->templat.buffer_format = pipe->screen->get_video_param in vlVdpVideoSurfaceCreate() 85 p_surf->templat.chroma_format = ChromaToPipe(chroma_type); in vlVdpVideoSurfaceCreate() 86 p_surf->templat.width = width; in vlVdpVideoSurfaceCreate() 87 p_surf->templat.height = height; in vlVdpVideoSurfaceCreate() 88 p_surf->templat.interlaced = pipe->screen->get_video_param in vlVdpVideoSurfaceCreate() 94 p_surf->video_buffer = pipe->create_video_buffer(pipe, &p_surf->templat); in vlVdpVideoSurfaceCreate() 159 *width = p_surf->templat.width; in vlVdpVideoSurfaceGetParameters() 160 *height = p_surf->templat.height; in vlVdpVideoSurfaceGetParameters() 161 *chroma_type = PipeToChroma(p_surf->templat.chroma_format); in vlVdpVideoSurfaceGetParameters() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
D | surface.c | 78 memset(&p_surf->templat, 0, sizeof(p_surf->templat)); in vlVdpVideoSurfaceCreate() 79 p_surf->templat.buffer_format = pipe->screen->get_video_param in vlVdpVideoSurfaceCreate() 85 p_surf->templat.chroma_format = ChromaToPipe(chroma_type); in vlVdpVideoSurfaceCreate() 86 p_surf->templat.width = width; in vlVdpVideoSurfaceCreate() 87 p_surf->templat.height = height; in vlVdpVideoSurfaceCreate() 88 p_surf->templat.interlaced = pipe->screen->get_video_param in vlVdpVideoSurfaceCreate() 94 p_surf->video_buffer = pipe->create_video_buffer(pipe, &p_surf->templat); in vlVdpVideoSurfaceCreate() 159 *width = p_surf->templat.width; in vlVdpVideoSurfaceGetParameters() 160 *height = p_surf->templat.height; in vlVdpVideoSurfaceGetParameters() 161 *chroma_type = PipeToChroma(p_surf->templat.chroma_format); in vlVdpVideoSurfaceGetParameters() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_screen.h | 795 struct pipe_resource templat; in create_resource() local 796 memset(&templat, 0, sizeof(templat)); in create_resource() 797 templat.target = target; in create_resource() 798 templat.width0 = width; in create_resource() 799 templat.height0 = height; in create_resource() 800 templat.depth0 = depth; in create_resource() 801 templat.array_size = array_size; in create_resource() 803 templat.last_level = mip_levels - 1; in create_resource() 805 …templat.last_level = MAX2(MAX2(util_logbase2(templat.width0), util_logbase2(templat.height0)), uti… in create_resource() 806 templat.format = dxgi_to_pipe_format[format]; in create_resource() [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_screen.h | 795 struct pipe_resource templat; in create_resource() local 796 memset(&templat, 0, sizeof(templat)); in create_resource() 797 templat.target = target; in create_resource() 798 templat.width0 = width; in create_resource() 799 templat.height0 = height; in create_resource() 800 templat.depth0 = depth; in create_resource() 801 templat.array_size = array_size; in create_resource() 803 templat.last_level = mip_levels - 1; in create_resource() 805 …templat.last_level = MAX2(MAX2(util_logbase2(templat.width0), util_logbase2(templat.height0)), uti… in create_resource() 806 templat.format = dxgi_to_pipe_format[format]; in create_resource() [all …]
|