commit | 833ce707183ecea46a2c0db2f1b8dc1a3bc4d1d4 | [log] [tgz] |
---|---|---|
author | Liran <liran@graphtech.co.il> | Thu Jul 28 11:13:12 2011 +0300 |
committer | David 'Digit' Turner <digit@android.com> | Tue Aug 09 17:29:17 2011 +0200 |
tree | 625ba25573f19bd88b109967fb7872e37f311247 | |
parent | ca5e9825a4a0a4680653793bd2f9ae75f1dc62ac [diff] |
opengles emulator: Call XInitThreads on Linux. All the X calls we do on linux are made from the FrameBuffer object which is locked however OpenGL implementations may call to Xlib during gl function calls. In order to be thread safe we initialize Xlib to support multi-threading. Change-Id: I3bc6a6378d7558fec44052bd67388beaf270c107