aboutsummaryrefslogtreecommitdiffstats
path: root/README.txt
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2014-09-24 19:03:46 -0700
committerbohu <bohu@google.com>2014-11-25 12:30:46 -0800
commit7d18e39ea46b467cd916d79525d6d978be7e70df (patch)
treeb528ca0b711ce738b75e004bdf763830492a2e65 /README.txt
parenta3afda277fd2624c648739e0273f569fd093fd22 (diff)
downloadsdk-7d18e39ea46b467cd916d79525d6d978be7e70df.zip
sdk-7d18e39ea46b467cd916d79525d6d978be7e70df.tar.gz
sdk-7d18e39ea46b467cd916d79525d6d978be7e70df.tar.bz2
emulator/opengl/emugen: Ensure correct buffer alignment.
The decoders generated by emugen pass addresses that come directly from the stream to EGL/GL functions. Sometimes, these addresses are not properly padded with regards to the type of data being transfered and this can crash some implementations (e.g. OSMesa being compiled with -msse by default, and doesn't build without it). This patch introduces two helper classes in ProtocolUtils.h, named InputBuffer and OutputBuffer, which are used to auto-align buffer pointers, then make the generated decoder code use them. Change-Id: I345c7eecc230f62310ced5378b6344f419647e06
Diffstat (limited to 'README.txt')
0 files changed, 0 insertions, 0 deletions