Merge "SurfaceControlViewHost: Enable HARDWARE_ACCLERATION by default" into rvc-dev am: f7de7b6811 am: a18b62ff8e am: 2083bb4feb
Change-Id: I3eee50f18f9687cb981f643b829ec7d24ffc4090
This commit is contained in:
@@ -192,6 +192,7 @@ public class SurfaceControlViewHost {
|
||||
final WindowManager.LayoutParams lp =
|
||||
new WindowManager.LayoutParams(width, height,
|
||||
WindowManager.LayoutParams.TYPE_APPLICATION, 0, PixelFormat.TRANSPARENT);
|
||||
lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
|
||||
setView(view, lp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user