Merge "Enable Picture w/ HW Accelerated Canvas." into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b2aea9dcbd
@@ -323,10 +323,4 @@ public class DisplayListCanvas extends Canvas {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static native void nDrawRects(long renderer, long region, long paint);
|
private static native void nDrawRects(long renderer, long region, long paint);
|
||||||
|
|
||||||
@Override
|
|
||||||
public void drawPicture(Picture picture) {
|
|
||||||
picture.endRecording();
|
|
||||||
// TODO: Implement rendering
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ changed.</li>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label_neg">drawPicture()</td>
|
<td class="label_neg">drawPicture()</td>
|
||||||
<td class="value_neg">✗</td>
|
<td class="value_neg">23</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label_pos">drawPosText()</td>
|
<td class="label_pos">drawPosText()</td>
|
||||||
|
|||||||
@@ -135,8 +135,8 @@ public class Picture {
|
|||||||
* properly and are highly discouraged.
|
* properly and are highly discouraged.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* <strong>Note:</strong> a picture created from an input stream cannot be
|
* <strong>Note:</strong> Prior to API level 23 a picture created from an
|
||||||
* replayed on a hardware accelerated canvas.
|
* input stream cannot be replayed on a hardware accelerated canvas.
|
||||||
*
|
*
|
||||||
* @see #writeToStream(java.io.OutputStream)
|
* @see #writeToStream(java.io.OutputStream)
|
||||||
* @deprecated The recommended alternative is to not use writeToStream and
|
* @deprecated The recommended alternative is to not use writeToStream and
|
||||||
@@ -155,8 +155,8 @@ public class Picture {
|
|||||||
* there is no guarantee that the Picture can be successfully reconstructed.
|
* there is no guarantee that the Picture can be successfully reconstructed.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* <strong>Note:</strong> a picture created from an input stream cannot be
|
* <strong>Note:</strong> Prior to API level 23 a picture created from an
|
||||||
* replayed on a hardware accelerated canvas.
|
* input stream cannot be replayed on a hardware accelerated canvas.
|
||||||
*
|
*
|
||||||
* @see #createFromStream(java.io.InputStream)
|
* @see #createFromStream(java.io.InputStream)
|
||||||
* @deprecated The recommended alternative is to draw the picture into a
|
* @deprecated The recommended alternative is to draw the picture into a
|
||||||
|
|||||||
Reference in New Issue
Block a user