| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_formatquery.c | 32 GLenum internalFormat, int samples[16]) 44 samples[0] = 16; 45 samples[1] = 8; 46 samples[2] = 4; 47 samples[3] = 2; 51 samples[0] = 8; 52 samples[1] = 4; 53 samples[2] = 2; 58 /* For GLES, we are allowed to return a smaller number of samples for 68 samples[ 31 brw_query_samples_for_format(struct gl_context * ctx,GLenum target,GLenum internalFormat,int samples[16]) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_formatquery.c | 32 GLenum internalFormat, int samples[16]) 44 samples[0] = 16; 45 samples[1] = 8; 46 samples[2] = 4; 47 samples[3] = 2; 51 samples[0] = 8; 52 samples[1] = 4; 53 samples[2] = 2; 58 /* For GLES, we are allowed to return a smaller number of samples for 68 samples[ 31 brw_query_samples_for_format(struct gl_context * ctx,GLenum target,GLenum internalFormat,int samples[16]) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_atom_msaa.c | 54 unsigned samples = st->state.fb_num_samples; local in function:update_sample_locations 61 st->pipe->screen, samples, &grid_width, &grid_height); 62 size = grid_width * grid_height * samples; 73 for (sample_index = 0; sample_index < samples; sample_index++) { 78 table_index = pixel * samples + sample_index; 88 locations[pixel * samples + sample_index] = loc; 93 st->pipe->screen, st->state.fb_height, samples, locations); 96 st->state.sample_locations_samples != samples || 100 st->state.sample_locations_samples = samples;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| H A D | st_atom_msaa.c | 54 unsigned samples = st->state.fb_num_samples; local in function:update_sample_locations 60 st->screen->get_sample_pixel_grid(st->screen, samples, 62 size = grid_width * grid_height * samples; 73 for (sample_index = 0; sample_index < samples; sample_index++) { 78 table_index = pixel * samples + sample_index; 88 locations[pixel * samples + sample_index] = loc; 93 st->screen, st->state.fb_height, samples, locations); 96 st->state.sample_locations_samples != samples || 100 st->state.sample_locations_samples = samples;
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/isl/ |
| H A D | isl_gen6.c | 34 assert(info->samples >= 1); 36 if (info->samples == 1) { 133 if (info->samples > 1) {
|
| H A D | isl_gen7.c | 58 assert(info->samples >= 1); 60 if (info->samples == 1) { 106 if (info->samples > 1 && gen7_format_needs_valign2(dev, info->format)) 137 if (info->samples == 8 && info->width > 8192) 148 if ((info->samples == 8 && info->height > 4194304u) || 149 (info->samples == 4 && info->height > 8388608u)) 256 if (info->samples > 1) { 278 info->samples == 1) { 314 if (info->width > 16382 && info->samples == 1 && 401 if (info->samples > [all...] |
| H A D | isl_gen4.c | 34 assert(info->samples >= 1); 85 assert(info->samples == 1); 106 assert(info->samples == 1);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_query_acc.h | 51 unsigned samples; /* number of samples stored in resource */ member in struct:etna_acc_query 73 aq->samples++; 82 aq->samples++;
|
| H A D | etnaviv_query_acc_occlusion.c | 76 if (aq->samples > 63) { 77 aq->samples = 63; 78 BUG("samples overflow"); 81 r.offset = aq->samples * 8; /* 64bit value */ 102 for (unsigned i = 0; i < aq->samples; i++)
|
| H A D | etnaviv_query_acc_perfmon.c | 67 if (aq->samples > 127) { 68 aq->samples = 127; 69 BUG("samples overflow perfmon"); 73 offset = 1 + aq->samples; 150 assert(aq->samples % 2 == 0); 153 for (unsigned i = 0; i < aq->samples; i += 2)
|
| /xsrc/external/mit/MesaLib/dist/src/intel/isl/ |
| H A D | isl_gfx6.c | 34 assert(info->samples >= 1); 36 if (info->samples == 1) { 133 if (info->samples > 1) {
|
| H A D | isl_gfx7.c | 58 assert(info->samples >= 1); 60 if (info->samples == 1) { 106 if (info->samples > 1 && gfx7_format_needs_valign2(dev, info->format)) 137 if (info->samples == 8 && info->width > 8192) 148 if ((info->samples == 8 && info->height > 4194304u) || 149 (info->samples == 4 && info->height > 8388608u)) 266 if (info->samples > 1) { 288 info->samples == 1) { 324 if (info->width > 16382 && info->samples == 1 && 411 if (info->samples > [all...] |
| H A D | isl_gfx4.c | 34 assert(info->samples >= 1); 70 assert(info->samples == 1); 91 assert(info->samples == 1);
|
| H A D | isl_gfx8.c | 36 assert(info->samples >= 1); 38 if (info->samples == 1) { 177 fmtl->bpb == 32 && info->samples == 1) {
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/solaris/ |
| H A D | sun_bell.c | 48 static short samples[BELL_SAMPLES]; local in function:xf86OSRingBell 93 samples[i] = (short) (ampl * sin(2.0 * M_PI * phase)); 136 iov[iovcnt].iov_base = (char *) samples; 137 iov[iovcnt++].iov_len = sizeof(samples); 142 if ((written < ((int)(sizeof(samples) * iovcnt)))) { 157 i = ((sizeof(samples) * iovcnt) - written) 158 / sizeof(samples); 166 i = ((sizeof(samples) * iovcnt) - written) % sizeof(samples); 169 iov[iovcnt].iov_base = ((char *) samples) [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/solaris/ |
| H A D | sun_bell.c | 48 static short samples[BELL_SAMPLES]; local in function:xf86OSRingBell 93 samples[i] = (short) (ampl * sin(2.0 * M_PI * phase)); 137 iov[iovcnt].iov_base = (char *) samples; 138 iov[iovcnt++].iov_len = sizeof(samples); 143 if ((written < ((int) (sizeof(samples) * iovcnt)))) { 159 i = ((sizeof(samples) * iovcnt) - written) 160 / sizeof(samples); 168 i = ((sizeof(samples) * iovcnt) - written) % sizeof(samples); 171 iov[iovcnt].iov_base = ((char *) samples) [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/ |
| H A D | Makefile.am | 39 samples \
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/ |
| H A D | zink_render_pass.h | 36 VkSampleCountFlagBits samples; member in struct:zink_rt_attrib 52 uint8_t samples:1; //for fs samplemask member in struct:zink_render_pass_state 64 VkSampleCountFlagBits samples; member in struct:zink_pipeline_rt 71 bool samples:1; //for fs samplemask member in struct:zink_render_pass_pipeline_state
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| H A D | u_resource.c | 45 unsigned samples = MAX2(1, res->nr_samples); local in function:util_resource_size 58 util_format_get_stride(res->format, width) * slices * samples);
|
| H A D | u_framebuffer.h | 69 unsigned samples, uint8_t *locations);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| H A D | u_resource.c | 45 unsigned samples = MAX2(1, res->nr_samples); local in function:util_resource_size 58 util_format_get_stride(res->format, width) * slices * samples);
|
| H A D | u_framebuffer.h | 69 unsigned samples, uint8_t *locations);
|
| H A D | u_framebuffer.c | 58 if (dst->samples != src->samples || 93 dst->samples = src->samples; 110 dst->samples = 0; 134 fb->samples = fb->layers = 0; 211 * Return the number of MSAA samples. 220 * we obtain the number of samples directly from 223 * NOTE: fb->samples may wind up as zero due to memset()'s on internal 225 * MAX here to ensure we have a valid number of samples 255 util_sample_locations_flip_y(struct pipe_screen * screen,unsigned fb_height,unsigned samples,uint8_t * locations) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | multisample.c | 90 if (index >= ctx->DrawBuffer->Visual.samples) { 212 GLenum internalFormat, GLsizei samples, 218 * "If internalformat is a signed or unsigned integer format and samples 225 && samples > 0) { 239 if (samples > ctx->Const.MaxColorFramebufferSamples) 255 * greater than <samples>." 257 if (storageSamples > samples) 269 * <samples>." 271 if (storageSamples != samples) 278 assert(samples 211 _mesa_check_sample_count(struct gl_context * ctx,GLenum target,GLenum internalFormat,GLsizei samples,GLsizei storageSamples) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | multisample.c | 92 if (index >= ctx->DrawBuffer->Visual.samples) { 215 GLenum internalFormat, GLsizei samples, 221 * "If internalformat is a signed or unsigned integer format and samples 228 && samples > 0) { 242 if (samples > ctx->Const.MaxColorFramebufferSamples) 258 * greater than <samples>." 260 if (storageSamples > samples) 272 * <samples>." 274 if (storageSamples != samples) 281 assert(samples 214 _mesa_check_sample_count(struct gl_context * ctx,GLenum target,GLenum internalFormat,GLsizei samples,GLsizei storageSamples) argument [all...] |