Skip to content
Commit d538d30e authored by xiaozhengdong's avatar xiaozhengdong
Browse files

hwui: add extension to support unpack operations in OpenGL ES 2.0



OpenGL ES 3.0+ lets us specify the row length for unpack operations
such as glTexSubImage2D(). This allows us to upload a sub-rectangle
of a texture. Also, the GL_EXT_unpack_subimage extension can also
support this feature in OpenGL ES 2.0

Change-Id: Id43c2c55c5eaefbace67087c955f0b4324fb2c35
Signed-off-by: default avatarxiaozhengdong <xiaozhengdong@xiaomi.com>
parent 40f0efe0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment