Lines Matching refs:samples
273 // If the framebuffer is not complete, attachment samples may be mismatched, and it
275 // have a color attachment, and all its attachments must have the same number of samples,
276 // so the number of samples for the colorbuffer will indicate whether the framebuffer is
292 int samples = -1;
337 samples = colorbuffer->getSamples();
376 if (samples == -1)
378 samples = depthbuffer->getSamples();
380 else if (samples != depthbuffer->getSamples())
415 if (samples == -1)
417 samples = stencilbuffer->getSamples();
419 else if (samples != stencilbuffer->getSamples())