Skip to content

Commit

Permalink
Cleanup Compositor
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeshkova committed May 26, 2014
1 parent 2b1dbd9 commit 618dd3c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions embedding/embedlite/embedthread/EmbedLiteCompositorParent.h
Expand Up @@ -24,23 +24,21 @@ class EmbedLiteCompositorParent : public mozilla::layers::ICompositorListener
bool aRenderToEGLSurface,
int aSurfaceWidth, int aSurfaceHeight,
uint32_t id);
virtual ~EmbedLiteCompositorParent();

bool RenderToContext(gfx::DrawTarget* aTarget);
bool RenderGL();
void SetSurfaceSize(int width, int height);
void SetWorldTransform(gfx::Matrix);
void SetClipping(const gfxRect& aClipRect);
void SetWorldOpacity(float aOpacity);
mozilla::layers::CompositorParent* Compositor() { return mCompositor.get(); }

private:
virtual ~EmbedLiteCompositorParent();

virtual void Created();
virtual bool Invalidate();

mozilla::layers::CompositorParent* Compositor() { return mCompositor.get(); }

void UpdateTransformState();

protected:
uint32_t mId;
gfx::Matrix mWorldTransform;
nsIntRect mActiveClipping;
Expand Down

0 comments on commit 618dd3c

Please sign in to comment.