gbm: Validate usage flags in gbm_bo_create_from_egl_image()
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 18 Jan 2012 20:32:35 +0000 (15:32 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 18 Jan 2012 20:32:51 +0000 (15:32 -0500)
commit221c678329fd1c073d5f8dcf387129cd426ecf07
tree2979d985c90dedac3f5ae427acbe4b761b1b4fd3
parent2f868f1ddd636bc8d4cbcd5beeef1246cec80c65
gbm: Validate usage flags in gbm_bo_create_from_egl_image()

The entry point is supposed to validate that the EGLImage is suitable for
the passed in usage flags, but that was never implemented.
include/GL/internal/dri_interface.h
src/gallium/state_trackers/dri/drm/dri2.c
src/gbm/backends/dri/gbm_dri.c
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/radeon/radeon_screen.c