summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formatquery.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa/main: Added empty skeleton of glGetInternalformati64vAntia Puentes2016-03-031-0/+4
| | | | Reviewed-by: Dave Airlie <airlied@redhat.com>
* mesa: Add a default QueryInternalFormat() function for driversEduardo Lima Mitev2016-03-031-0/+5
| | | | | | | This is a fallback function for drivers not implementing ARB_internalformat_query2. Reviewed-by: Dave Airlie <airlied@redhat.com>
* 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 <chrisf@ijw.co.nz> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
* 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 <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>