diff options
| author | Florin Malita <fmalita@google.com> | 2014-05-06 21:07:19 -0400 |
|---|---|---|
| committer | Florin Malita <fmalita@google.com> | 2014-05-06 21:07:19 -0400 |
| commit | c677675e9c465dc1de21ecf2e0421835c7eb55b4 (patch) | |
| tree | bdb808cb1dfa475ee1440a6331b3a27b379bcc54 /docs/html/sdk/api_diff/10/changes | |
| parent | ae949571f0eb08294489770ee5f361001899b90e (diff) | |
Encapsulate Canvas.mNativeCanvas
Currently, the native canvas is accessed/manipulated from several
unrelated classes.
In order to facilitate SaveFlags emulation, this CL encapsulates
the field and refactors its external users.
Two main changes:
* new getNativeCanvas() getter for use in Java-level clients.
* JNI canvas swappers (GraphicsBuffers, Surface, TextureView &
AssetAtlasService) are refactored based on the exising/equivalent
safeCanvasSwap() Canvas method.
Change-Id: I966bd4898f0838fb3699e226d3d3d51e0224ea97
Diffstat (limited to 'docs/html/sdk/api_diff/10/changes')
0 files changed, 0 insertions, 0 deletions
