Implement a new way of transforming source buffers

The code is similar to LayerDrawable::DrawLayer method (frameworks/base/libs/hwui/pipeline/skia/LayerDrawable.cpp), this  new implementation solves skia rendering issues from camera app, recent apps, and chrome video layer, etc.

There are still small defects that another CL is needed, tracked by this new bug: b/175141036.

Bug: 172422614
Bug: 172579023
Test: adb root; adb shell setprop debug.renderengine.backend skiagl; adb
shell stop; adb shell start; adb shell service call SurfaceFlinger 1008 i32 1
then open camera app, or drag in recent apps

Change-Id: Ia696add519f6541d21ab7fb81d882daa51353847
1 file changed