Lines Matching refs:samples
288 bool ValidateRenderbufferStorageParameters(gl::Context *context, GLenum target, GLsizei samples,
301 if (width < 0 || height < 0 || samples < 0)
317 // internal format must be sized and not an integer format if samples is greater than zero.
324 if ((formatInfo.componentType == GL_UNSIGNED_INT || formatInfo.componentType == GL_INT) && samples > 0)
343 // ANGLE_framebuffer_multisample states that the value of samples must be less than or equal
345 // states that samples must be less than or equal to the maximum samples for the specified
350 if (static_cast<GLuint>(samples) > context->getExtensions().maxSamples)
356 // Check if this specific format supports enough samples
357 if (static_cast<GLuint>(samples) > formatCaps.getMaxSamples())
365 if (static_cast<GLuint>(samples) > formatCaps.getMaxSamples())