commit | 861616dff990d85dbf5624c59868c94e4ac00d9a | [log] [tgz] |
---|---|---|
author | Marissa Wall <marissaw@google.com> | Mon Oct 22 12:52:23 2018 -0700 |
committer | Marissa Wall <marissaw@google.com> | Tue Dec 04 15:36:04 2018 -0800 |
tree | b49ff01920d192120eb60aa30c2b8cd6888b896b | |
parent | 8a3083eecacc46eafba56ad416dee026c5dddff4 [diff] |
blast: use frame instead of size and position BufferStateLayers will have a source crop rect and destination frame rect. The crop is the portion of the buffer that should be displayed. The frame is where that portion of the buffer should be displayed. The portion of the cropped buffer is scaled to fit the frame. Shader provided by romainguy@google.com. Test: Transaction_test Bug: 80477568 Change-Id: Ied3f3af2211132f79098aeb986292ee705a62219