summaryrefslogtreecommitdiffstats
path: root/docs/envvars.html
diff options
context:
space:
mode:
authorDaniel Czarnowski <daniel.czarnowski@intel.com>2016-02-22 08:00:14 +0200
committerTapani Pälli <tapani.palli@intel.com>2016-03-18 07:35:32 +0200
commitd4714512e4077b8079efe526d7823e19fdb9be37 (patch)
tree816741779dfd54fbc33ed3b751cf1cc6eed8e513 /docs/envvars.html
parentdd63fa28f14f8ddeeeca1847eb7d38f4e2bc2234 (diff)
downloadexternal_mesa3d-d4714512e4077b8079efe526d7823e19fdb9be37.zip
external_mesa3d-d4714512e4077b8079efe526d7823e19fdb9be37.tar.gz
external_mesa3d-d4714512e4077b8079efe526d7823e19fdb9be37.tar.bz2
egl: support EGL_LARGEST_PBUFFER in eglCreatePbufferSurface(...)
Patch provides a default for a set pbuffer surface size when EGL_LARGEST_PBUFFER is used by the client. MIN2 macro is moved to egldefines so that it can be shared. Fixes following Piglit test: egl-create-largest-pbuffer-surface From EGL 1.5 spec: "Use EGL_LARGEST_PBUFFER to get the largest available pbuffer when the allocation of the pbuffer would otherwise fail." Currently there exists no API to query largest available pixmap size using xlib or xcb so right now this seems most straightforward way to ensure that we fulfill above API and also we don't attempt to allocate 'too big' pixmap which might succeed on server side but not work in practice when driver starts to use it as a texture. v2: add more explanation about the change (Emil) Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'docs/envvars.html')
0 files changed, 0 insertions, 0 deletions