Searched refs:pformat (Results 1 - 25 of 46) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_formats.c39 enum pipe_format pformat,
42 enum isl_format format = isl_format_for_pipe_format(pformat);
50 if (!util_format_is_srgb(pformat)) {
51 if (util_format_is_intensity(pformat)) {
53 } else if (util_format_is_luminance(pformat)) {
55 } else if (util_format_is_luminance_alpha(pformat)) {
57 } else if (util_format_is_alpha(pformat)) {
63 if (!util_format_has_alpha(pformat) && fmtl->channels.a.type != ISL_VOID) {
68 pformat == PIPE_FORMAT_A8_UNORM) {
107 enum pipe_format pformat,
38 iris_format_for_usage(const struct intel_device_info * devinfo,enum pipe_format pformat,isl_surf_usage_flags_t usage) argument
106 iris_is_format_supported(struct pipe_screen * pscreen,enum pipe_format pformat,enum pipe_texture_target target,unsigned sample_count,unsigned storage_sample_count,unsigned usage) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/lavapipe/
H A Dlvp_formats.c65 enum pipe_format pformat = lvp_vk_format_to_pipe_format(format); local in function:lvp_physical_device_get_format_properties
67 if (pformat == PIPE_FORMAT_NONE) {
74 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat,
87 if (util_format_is_compressed(pformat)) {
88 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat,
101 if (!util_format_is_srgb(pformat) &&
102 physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat,
107 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat,
112 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat,
117 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat,
183 enum pipe_format pformat = lvp_vk_format_to_pipe_format(info->format); local in function:lvp_get_image_format_properties
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_formats.c304 get_render_format(enum pipe_format pformat, enum isl_format def_format) argument
306 switch (pformat) {
335 enum pipe_format pformat,
338 struct crocus_format_info info = { crocus_isl_format_for_pipe_format(pformat),
344 if (pformat == PIPE_FORMAT_A8_UNORM) {
349 info.fmt = get_render_format(pformat, info.fmt);
351 if (pformat == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT)
353 if (pformat == PIPE_FORMAT_X32_S8X24_UINT)
355 if (pformat == PIPE_FORMAT_X24S8_UINT)
361 if (util_format_is_snorm(pformat)) {
334 crocus_format_for_usage(const struct intel_device_info * devinfo,enum pipe_format pformat,isl_surf_usage_flags_t usage) argument
424 crocus_is_format_supported(struct pipe_screen * pscreen,enum pipe_format pformat,enum pipe_texture_target target,unsigned sample_count,unsigned storage_sample_count,unsigned usage) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_format.c195 d3d12_get_format_info(enum pipe_format pformat, enum pipe_texture_target target) argument
210 if (pformat == PIPE_FORMAT_DXT1_RGB ||
211 pformat == PIPE_FORMAT_DXT1_SRGB)
215 *format_desc = util_format_description(pformat);
216 if (!util_format_is_srgb(pformat)) {
217 if (target == PIPE_BUFFER && util_format_is_alpha(pformat)) {
219 } else if (pformat == PIPE_FORMAT_A8_UNORM) {
221 } else if (util_format_is_intensity(pformat)) {
223 } else if (util_format_is_luminance(pformat)) {
225 } else if (util_format_is_luminance_alpha(pformat)) {
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_formats.c325 enum pipe_format pformat,
328 enum isl_format format = iris_isl_format_for_pipe_format(pformat);
331 if (!util_format_is_srgb(pformat)) {
332 if (util_format_is_intensity(pformat)) {
334 } else if (util_format_is_luminance(pformat)) {
336 } else if (util_format_is_luminance_alpha(pformat)) {
338 } else if (util_format_is_alpha(pformat)) {
343 if (pformat == PIPE_FORMAT_DXT1_RGB ||
344 pformat == PIPE_FORMAT_DXT1_SRGB) {
349 pformat
324 iris_format_for_usage(const struct gen_device_info * devinfo,enum pipe_format pformat,isl_surf_usage_flags_t usage) argument
387 iris_is_format_supported(struct pipe_screen * pscreen,enum pipe_format pformat,enum pipe_texture_target target,unsigned sample_count,unsigned storage_sample_count,unsigned usage) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_format.h125 enum pipe_format pformat,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_format.h125 enum pipe_format pformat,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_image.c150 enum pipe_format pformat,
156 *width = iview->u.buf.size / util_format_get_blocksize(pformat);
163 if (util_format_get_stride(pformat, *width) >
179 if (util_format_get_blocksize(pformat) >
321 unsigned pformat = params->format; local in function:sp_tgsi_store
333 pformat = spr->base.format;
336 pformat, &width, &height, &depth))
339 stride = util_format_get_stride(pformat, width);
352 offset = get_image_offset(spr, iview, pformat, r_coord);
355 if (util_format_is_pure_sint(pformat)) {
147 get_dimensions(const struct pipe_image_view * iview,const struct softpipe_resource * spr,unsigned tgsi_tex_instr,enum pipe_format pformat,unsigned * width,unsigned * height,unsigned * depth) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/d3d12/wgl/
H A Dd3d12_wgl_framebuffer.cpp51 enum pipe_format pformat; member in struct:d3d12_wgl_framebuffer
107 framebuffer->pformat = templ->format;
198 templ.format = framebuffer->pformat;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_gmem.c71 enum pipe_format pformat = psurf->format; local in function:emit_mrt
80 pformat = rsc->base.format;
86 format = fd4_pipe2color(pformat);
87 swap = fd4_pipe2swap(pformat);
90 srgb = util_format_is_srgb(pformat);
92 pformat = util_format_linear(pformat);
154 enum pipe_format pformat = psurf->format; local in function:emit_gmem2mem_surf
164 pformat = rsc->base.format;
180 A4XX_RB_COPY_DEST_INFO_FORMAT(fd4_pipe2color(pformat)) |
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_gmem.c84 enum pipe_format pformat = psurf->format; local in function:emit_mrt
93 pformat = rsc->b.b.format;
98 format = fd4_pipe2color(pformat);
99 swap = fd4_pipe2swap(pformat);
102 srgb = util_format_is_srgb(pformat);
104 pformat = util_format_linear(pformat);
166 enum pipe_format pformat = psurf->format; local in function:emit_gmem2mem_surf
175 pformat = rsc->b.b.format;
191 A4XX_RB_COPY_DEST_INFO_FORMAT(fd4_pipe2color(pformat)) |
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_image.c150 enum pipe_format pformat,
156 *width = iview->u.buf.size / util_format_get_blocksize(pformat);
163 if (util_format_get_stride(pformat, *width) >
179 if (util_format_get_blocksize(pformat) >
302 unsigned pformat = params->format; local in function:sp_tgsi_store
314 pformat = spr->base.format;
317 pformat, &width, &height, &depth))
320 stride = util_format_get_stride(pformat, width);
333 offset = get_image_offset(spr, iview, pformat, r_coord);
339 util_format_write_4(pformat, sdat
147 get_dimensions(const struct pipe_image_view * iview,const struct softpipe_resource * spr,unsigned tgsi_tex_instr,enum pipe_format pformat,unsigned * width,unsigned * height,unsigned * depth) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_format.c1254 enum pipe_format pformat = st_choose_matching_format_noverify(st, format, type, swapBytes); local in function:st_choose_matching_format
1255 if (pformat != PIPE_FORMAT_NONE &&
1256 (!bind || screen->is_format_supported(screen, pformat, PIPE_TEXTURE_2D, 0, 0, bind)))
1257 return pformat;
1482 enum pipe_format pformat = st_choose_format(st, local in function:st_QueryInternalFormat
1489 if (pformat)
1495 enum pipe_format pformat = st_mesa_format_to_pipe_format(st, format); local in function:st_QueryInternalFormat
1497 params[0] = pformat != PIPE_FORMAT_NONE &&
1498 screen->is_format_supported(screen, pformat, PIPE_TEXTURE_2D,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/
H A Dlima_texture.c51 static uint32_t pipe_format_to_lima(enum pipe_format pformat) argument
55 switch (pformat) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3d_blit.c237 enum pipe_format pformat; local in function:v3d_tfu
257 pformat = pdst->format;
260 case 16: pformat = PIPE_FORMAT_R32G32B32A32_FLOAT; break;
261 case 8: pformat = PIPE_FORMAT_R16G16B16A16_FLOAT; break;
262 case 4: pformat = PIPE_FORMAT_R32_FLOAT; break;
263 case 2: pformat = PIPE_FORMAT_R16_FLOAT; break;
264 case 1: pformat = PIPE_FORMAT_R8_UNORM; break;
269 uint32_t tex_format = v3d_get_tex_format(&screen->devinfo, pformat);
/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dqxl_surface_ums.c434 pixman_format_code_t pformat; local in function:surface_send_create
443 qxl_get_formats (bpp, &format, &pformat);
448 stride = width * PIXMAN_FORMAT_BPP (pformat) / 8;
515 pformat, width, height, dev_addr, - stride);
518 pformat, width, height, NULL, -1);
H A Dqxl_surface.c818 qxl_get_formats (int bpp, SpiceSurfaceFmt *format, pixman_format_code_t *pformat) argument
824 *pformat = PIXMAN_a8;
829 *pformat = PIXMAN_r5g6b5;
834 *pformat = PIXMAN_a8r8g8b8;
839 *pformat = PIXMAN_a8r8g8b8;
844 *pformat = -1;
H A Dqxl_kms.c643 pixman_format_code_t pformat; local in function:qxl_kms_surface_create
670 qxl_get_formats (bpp, &format, &pformat);
671 stride = width * PIXMAN_FORMAT_BPP (pformat) / 8;
705 pformat, width, height, dev_addr, - stride);
708 pformat, width, height, NULL, -1);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/vdpau/
H A Dsurface.c306 enum pipe_format pformat = FormatYCBCRToPipe(source_ycbcr_format); local in function:vlVdpVideoSurfacePutBitsYCbCr
327 ((pformat != p_surf->video_buffer->buffer_format))) {
328 enum pipe_format nformat = pformat;
368 if (pformat != p_surf->video_buffer->buffer_format) {
369 if (pformat == PIPE_FORMAT_YV12 &&
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/vdpau/
H A Dsurface.c306 enum pipe_format pformat = FormatYCBCRToPipe(source_ycbcr_format); local in function:vlVdpVideoSurfacePutBitsYCbCr
327 ((pformat != p_surf->video_buffer->buffer_format))) {
328 enum pipe_format nformat = pformat;
368 if (pformat != p_surf->video_buffer->buffer_format) {
369 if (pformat == PIPE_FORMAT_YV12 &&
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_gmem.c59 enum pipe_format pformat = 0; local in function:emit_mrt
73 pformat = psurf->format;
79 pformat = rsc->base.format;
84 format = fd3_pipe2color(pformat);
85 swap = fd3_pipe2swap(pformat);
87 srgb = util_format_is_srgb(pformat);
89 pformat = util_format_linear(pformat);
124 fd3_fs_output_format(pformat))));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_gmem.c67 enum pipe_format pformat = 0; local in function:emit_mrt
86 pformat = psurf->format;
92 pformat = rsc->b.b.format;
96 format = fd3_pipe2color(pformat);
98 srgb = util_format_is_srgb(pformat);
100 pformat = util_format_linear(pformat);
106 swap = rsc->layout.tile_mode ? WZYX : fd3_pipe2swap(pformat);
137 fd3_fs_output_format(pformat))));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_gmem.c71 enum pipe_format pformat = psurf->format; local in function:emit_mrt
76 format = fd5_pipe2color(pformat);
77 swap = fd5_pipe2swap(pformat);
78 srgb = util_format_is_srgb(pformat);
79 sint = util_format_is_pure_sint(pformat);
80 uint = util_format_is_pure_uint(pformat);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_gmem.c71 enum pipe_format pformat = psurf->format; local in function:emit_mrt
76 format = fd5_pipe2color(pformat);
77 swap = fd5_pipe2swap(pformat);
78 srgb = util_format_is_srgb(pformat);
79 sint = util_format_is_pure_sint(pformat);
80 uint = util_format_is_pure_uint(pformat);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_gmem.c76 enum pipe_format pformat = psurf->format; local in function:emit_mrt
83 format = fd6_pipe2color(pformat);
84 sint = util_format_is_pure_sint(pformat);
85 uint = util_format_is_pure_uint(pformat);
87 if (util_format_is_srgb(pformat))
97 swap = rsc->tile_mode ? WZYX : fd6_pipe2swap(pformat);

Completed in 23 milliseconds

12