commit | 840e958847f31f835dbf17ce539c9f8317251cc9 | [log] [tgz] |
---|---|---|
author | Jack Palevich <jackpal@google.com> | Mon Jan 18 15:13:12 2010 +0800 |
committer | Jack Palevich <jackpal@google.com> | Mon Jan 18 15:13:12 2010 +0800 |
tree | ece9118966b309d7c6fc9f3bc2a91f171791b731 | |
parent | 308596eda112d48bcea217e58223b4672d94d600 [diff] |
Decouple the EGL context lifetime from the EGL surface lifetime. The EGL context is now preserved when possible. Previously we would destroy it whenever the EGL surface was destroyed. Preserving the EGL context preserves loaded textures and VBO resources.