diff options
author | Anuj Phogat <anuj.phogat@gmail.com> | 2015-12-18 15:33:35 -0800 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-03-29 11:13:36 +0100 |
commit | 017f64745138efd5ec5525a8a80d76dc1610ac14 (patch) | |
tree | e9241f5c63474f8f9ca29da64e02b921302802a5 /Android.mk | |
parent | adec0763a9c88a8dc080b9b718edc2536eed3f16 (diff) |
meta: Fix the pbo usage in meta for GLES{1,2} contexts
OpenGL ES 1.0 doesn't support using GL_STREAM_DRAW and both
ES 1.0 and 2.0 don't support GL_STREAM_READ in glBufferData().
So, handle it correctly by calling the _mesa_meta_begin()
before create_texture_for_pbo().
V2: Remove the changes related to allocate_storage. (Ian)
Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 6d4ebbe9e5798edee199671c0a98cbf2c5b042e2)
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions