Revert "frameworks/native: Fix build in ISO C++11 mode"

This reverts commit 767cb49aeb9c99a2c682a6ef47d3665a45ffdb49.
Revert "frameworks/native: Fix build in ISO C++ 11 mode"

This reverts commit b23cd429839b0230650b041c4ff17246b23e509e.
SurfaceFlinger: Change to support framebuffer flip for 2D blitters

- Surfaceflinger does not flip framebuffers when there are
  no layers marked for HWC_FRAMEBUFFER
- This change checks for the HWC_BLIT flag and will request a flip
  to a new FB_TARGET buffer even if there are no FRAMEBUFFER layers

Change-Id: I1cb44389a05c9ec049d7f0d39c288feccb11a91c
Add support for custom buffer sizes.

Add native window properties NATIVE_WINDOW_SET_BUFFERS_SIZE to the
perform function of SurfaceTextureClient to set the user defined size
of graphic buffers.

Change-Id: I1dc2203990a3641fbb9ddab9a86f7e9017f05270