aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formatquery.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: provide default implementation of QuerySamplesForFormatChris Forbes2013-03-291-0/+4
| | | | | | | | | | | | | | Previously at least i915 failed to provide an implementation, but exposed ARB_internalformat_query anyway, leading to crashes when QueryInternalformativ was called. Default implementation just returns 1 for everything, so is suitable for any driver which does not support multisampling. V2: - Move from intel to core mesa. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: Add skeleton implementation of glGetInternalformativIan Romanick2013-01-151-0/+35
This is for the GL_ARB_internalformat_query extension and GLES 3.0. v2: Generate GL_INVALID_OPERATION if the extension is not supported. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Jordan Justen <[email protected]>