diff options
Diffstat (limited to 'libs/hwui/Renderer.h')
-rw-r--r-- | libs/hwui/Renderer.h | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/libs/hwui/Renderer.h b/libs/hwui/Renderer.h index 23cab0e..2ec99c9 100644 --- a/libs/hwui/Renderer.h +++ b/libs/hwui/Renderer.h @@ -129,21 +129,6 @@ public: */ virtual void finish() = 0; - /** - * This method must be invoked before handing control over to a draw functor. - * See callDrawGLFunction() for instance. - * - * This command must not be recorded inside display lists. - */ - virtual void interrupt() = 0; - - /** - * This method must be invoked after getting control back from a draw functor. - * - * This command must not be recorded inside display lists. - */ - virtual void resume() = 0; - // ---------------------------------------------------------------------------- // Canvas state operations // ---------------------------------------------------------------------------- @@ -170,8 +155,8 @@ public: virtual void scale(float sx, float sy) = 0; virtual void skew(float sx, float sy) = 0; - virtual void setMatrix(const SkMatrix* matrix) = 0; - virtual void concatMatrix(const SkMatrix* matrix) = 0; + virtual void setMatrix(const SkMatrix& matrix) = 0; + virtual void concatMatrix(const SkMatrix& matrix) = 0; // clip virtual const Rect& getLocalClipBounds() const = 0; @@ -193,7 +178,7 @@ public: // Bitmap-based virtual status_t drawBitmap(const SkBitmap* bitmap, float left, float top, const SkPaint* paint) = 0; - virtual status_t drawBitmap(const SkBitmap* bitmap, const SkMatrix* matrix, + virtual status_t drawBitmap(const SkBitmap* bitmap, const SkMatrix& matrix, const SkPaint* paint) = 0; virtual status_t drawBitmap(const SkBitmap* bitmap, float srcLeft, float srcTop, float srcRight, float srcBottom, float dstLeft, float dstTop, @@ -233,7 +218,7 @@ public: // Canvas draw operations - special // ---------------------------------------------------------------------------- virtual status_t drawLayer(Layer* layer, float x, float y) = 0; - virtual status_t drawDisplayList(RenderNode* displayList, Rect& dirty, + virtual status_t drawRenderNode(RenderNode* renderNode, Rect& dirty, int32_t replayFlags) = 0; // TODO: rename for consistency |