diff options
author | Mathias Agopian <mathias@google.com> | 2010-12-02 21:32:29 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-12-03 17:35:06 -0800 |
commit | 1989af22b5aa94430c7a43e13f3307d25be8c837 (patch) | |
tree | f84e1b4fd72137e4a2ee32338da7370f76383739 /libs/rs/rsg_ScriptJavaClass.cpp | |
parent | e869aee382cfe01d42dffba4912458a16bb791fb (diff) |
[3171580] Fix two typos related to fixed-size buffers
mFixedSize was never set, this bug was introduced during some "cleanup", in
practice this could cause some issues when a fixed-size buffer was used and
the window was resized.
Layer::drawForSreenShot() had a typo that had no effect.
mFixedSize was used to determine if filtering was needed, which was a bit too
conservative and created a dependency between filtering and "fixed size" states
which should exist.
Now we enable filtering based on the size of the buffer vs. the size of the layer.
Change-Id: I32044e91b0c944c1b137efdceb3f01dfaa78119d
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions