restructured ES1Renderer so on resize it can destroy and recreate the buffers.
this enables the renderer to resize on external display.
this is also following the apple GLES programming guidelines.
Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers."

This reverts commit 4f93fb9cd9798897476d72c4849e9843e2b6cc55.
Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers.""

This reverts commit 6d7cb2847e5985a96288bf6e4baeba569e7eaa4b.
Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers."

This reverts commit 4f93fb9cd9798897476d72c4849e9843e2b6cc55.
Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers.""

This reverts commit af4018885d111c5dc30ebdd062c5f60df16ba7fa.
Revert "Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers."""

This reverts commit 128822688d90c7714ecc05c709dc95bff35b5126.
Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers.""

This reverts commit 6d7cb2847e5985a96288bf6e4baeba569e7eaa4b.
Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers."

This reverts commit 4f93fb9cd9798897476d72c4849e9843e2b6cc55.
Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers.""

This reverts commit a8c2f16a37aee1b4aac0cbebdc46b1f19edafc03.
Revert "Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers."""

This reverts commit 2e1269afb5b882e28060800a1ed76712acd65894.
Revert "Revert "Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers.""""

This reverts commit 35bfe3ba93061f4390047affd32bab704f1875b1.
Revert "Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers."""

This reverts commit 973ed7aca9ce28cb85bcabee696992a3cc602b20.
Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers.""

This reverts commit af4018885d111c5dc30ebdd062c5f60df16ba7fa.
Revert "Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers."""

This reverts commit 128822688d90c7714ecc05c709dc95bff35b5126.
Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers.""

This reverts commit 6d7cb2847e5985a96288bf6e4baeba569e7eaa4b.
Revert "Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers."""

This reverts commit e9b056eb796ef65a0e17ce911d6fd9fb24ffb6fd.
Revert "Revert "Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers.""""

This reverts commit 360a8b5a3ec37c6a01ee29e420da7fbcfa61eb9c.
Revert "Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers."""

This reverts commit 3d9c9c25b4550fe3cb9dd5e83f0e637e7441ea8d.
Revert "Revert "Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers.""""

This reverts commit 8137d4de22d280ec26deda9110d797e2c2ff388c.
Revert "Revert "Revert "Revert "Revert "restructured ES1Renderer so on resize it can destroy and recreate the buffers."""""

This reverts commit de4b7b8ba77b37aa48c28bdd73d9785ca75fdf72.