am fed6f4ef: am aca6ccf4: Merge "Improve documentation" into lmp-mr1-dev

* commit 'fed6f4ef2310ab3ec33d439702ea47f9b623795a':
  Improve documentation
This commit is contained in:
John Reck
2014-10-23 22:04:01 +00:00
committed by Android Git Automerger

View File

@@ -311,7 +311,10 @@ public class Surface implements Parcelable {
* Unlike {@link #lockCanvas(Rect)} this will return a hardware-accelerated * Unlike {@link #lockCanvas(Rect)} this will return a hardware-accelerated
* canvas. See the <a href="{@docRoot}guide/topics/graphics/hardware-accel.html#unsupported"> * canvas. See the <a href="{@docRoot}guide/topics/graphics/hardware-accel.html#unsupported">
* unsupported drawing operations</a> for a list of what is and isn't * unsupported drawing operations</a> for a list of what is and isn't
* supported in a hardware-accelerated canvas. * supported in a hardware-accelerated canvas. It is also required to
* fully cover the surface every time {@link #lockHardwareCanvas()} is
* called as the buffer is not preserved between frames. Partial updates
* are not supported.
* *
* @return A canvas for drawing into the surface. * @return A canvas for drawing into the surface.
* *