Home | History | Annotate | Download | only in main

Lines Matching refs:samples

781       /* Error-check width, height, format, samples
784 /* save format, num samples */
807 fbo_incomplete("inconsistant number of samples", i);
1407 * samples will be NO_SAMPLES if called by _mesa_RenderbufferStorageEXT().
1411 GLsizei width, GLsizei height, GLsizei samples)
1413 const char *func = samples == NO_SAMPLES ?
1442 if (samples == NO_SAMPLES) {
1444 samples = 0;
1446 else if (samples > (GLsizei) ctx->Const.MaxSamples) {
1447 /* note: driver may choose to use more samples than what's requested */
1448 _mesa_error(ctx, GL_INVALID_VALUE, "%s(samples)", func);
1463 rb->NumSamples == samples) {
1470 rb->NumSamples = samples;
1558 * glRenderbufferStorageMultisample() with samples=0. We pass in
1566 _mesa_RenderbufferStorageMultisample(GLenum target, GLsizei samples,
1570 renderbuffer_storage(target, internalFormat, width, height, samples);
2876 * when the samples must be resolved to a single color.
3017 if (readFb->Visual.samples > 0 &&
3018 drawFb->Visual.samples > 0 &&
3019 readFb->Visual.samples != drawFb->Visual.samples) {
3021 "glBlitFramebufferEXT(mismatched samples)");
3026 if (readFb->Visual.samples > 0 || drawFb->Visual.samples > 0) {