diff options
Diffstat (limited to 'libs/hwui/StatefulBaseRenderer.h')
-rw-r--r-- | libs/hwui/StatefulBaseRenderer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/hwui/StatefulBaseRenderer.h b/libs/hwui/StatefulBaseRenderer.h index 64354ac..9fbf2ca 100644 --- a/libs/hwui/StatefulBaseRenderer.h +++ b/libs/hwui/StatefulBaseRenderer.h @@ -46,6 +46,11 @@ public: virtual status_t prepare(bool opaque) { return prepareDirty(0.0f, 0.0f, mWidth, mHeight, opaque); } + + /** + * Initialize the first snapshot, computing the projection matrix, + * and stores the dimensions of the render target. + */ void initializeViewport(int width, int height); void initializeSaveStack(float clipLeft, float clipTop, float clipRight, float clipBottom); |