OSDN Git Service

HACK: i915: enable image external sampling
authorMauro Rossi <issor.oruam@gmail.com>
Tue, 1 Nov 2016 13:22:54 +0000 (14:22 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 23 Mar 2017 18:40:43 +0000 (02:40 +0800)
commita8540d3fe4791f820a9dc0bf8206e577253f6774
tree0081486eb9c3347afced73961d371b3b372d6acb
parentb165118ac7aa61adb2580a2cd95e8ae0672f1af7
HACK: i915: enable image external sampling

This hack is the alternative way of enabling GL_OES_EGL_image_external
as opposed to defining mesa environment variable in init.rc

As a reference this hack works on i915 also because of commit
"android: a workaround for GL_INVALID_OPERATION (0x502) error"
which allows for external image being mapped despited not being dma-buf
src/mesa/drivers/dri/i915/intel_extensions.c