Default to true for updateDestinationFrame in BBQ
In most cases, we do want the destination frame to be updated by BBQ. The exception is SV due to multiple threads involved in property changes. Change the default updateDestinationFrame to true and let SV set it to false for their scenario. Test: Apps with NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW work Fixes: 228008717 Change-Id: I90ae6f0797633aa963c540a94f1cbaea9e498f23
This commit is contained in:
@@ -47,7 +47,7 @@ public final class BLASTBufferQueue {
|
||||
/** Create a new connection with the surface flinger. */
|
||||
public BLASTBufferQueue(String name, SurfaceControl sc, int width, int height,
|
||||
@PixelFormat.Format int format) {
|
||||
this(name, false /* updateDestinationFrame */);
|
||||
this(name, true /* updateDestinationFrame */);
|
||||
update(sc, width, height, format);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user