OSDN Git Service

Correctly set the surface type upon creation.
authorPascal Muetschard <pmuetschard@google.com>
Mon, 17 Aug 2015 21:07:22 +0000 (14:07 -0700)
committerbohu <bohu@google.com>
Tue, 20 Oct 2015 17:53:07 +0000 (10:53 -0700)
commitcb85d48cf3fddaca5335284a2c7e0fbd362646b1
treed56962c5224d9179552404c111c15f64bcf3ff01
parentbd4f75b947f390e4972befef1341dabec92b8389
Correctly set the surface type upon creation.

Fix the window and pbuffer surface creation to set the correct type
based on which function was called. Currently the type was
incorrectly set to the bitmask of all surface types supported by the
chosen config.

Bug: 23036813

(cherry picked from commit 21eaf2b62ac4daa5ba1a3b7c6fefe006b6631e41)

Change-Id: I7beaaa8cd55f44f5dc5f6e5d110132d810c06dc9
system/egl/egl.cpp