YaGL: add prefered CGL pixel format attributes
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Mon, 22 Jun 2015 06:45:32 +0000 (09:45 +0300)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 23 Jun 2015 14:38:44 +0000 (23:38 +0900)
commitd4e51d96856d2e719d3ebcd68cdf7bfd21b064bb
tree2ab2c7a1abc88de090a0a6bf674dbd125a3ecc98
parent57c7db70c767669beb5ed98ef6264285dac41f9b
YaGL: add prefered CGL pixel format attributes

Some apps may require a more strict EGL configuration (e.g. for
msaa). Hence we need to specify the corresponding attributes in
CGLChoosePixelFormat. The old attributes are now used as a
fallback in case no suitable prefered format is found.

Change-Id: Id8369978b88e0c35b218d1f73f5d3c8ad0741858
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
hw/yagl/yagl_drivers/egl_cgl/yagl_egl_cgl.c