Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(495)

Side by Side Diff: webkit/compositor/WebExternalTextureLayerImpl.h

Issue 10920056: Make cc_unittests and webkit_compositor_unittests executable always (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to webkit_compositor_bindings Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebExternalTextureLayerImpl_h
6 #define WebExternalTextureLayerImpl_h
7
8 #include "TextureLayerChromiumClient.h"
9 #include <public/WebExternalTextureLayer.h>
10
11 namespace WebKit {
12
13 class WebLayerImpl;
14
15 class WebExternalTextureLayerImpl : public WebExternalTextureLayer,
16 public WebCore::TextureLayerChromiumClient {
17 public:
18 explicit WebExternalTextureLayerImpl(WebExternalTextureLayerClient*);
19 virtual ~WebExternalTextureLayerImpl();
20
21 // WebExternalTextureLayer implementation.
22 virtual WebLayer* layer() OVERRIDE;
23 virtual void setTextureId(unsigned) OVERRIDE;
24 virtual void setFlipped(bool) OVERRIDE;
25 virtual void setUVRect(const WebFloatRect&) OVERRIDE;
26 virtual void setOpaque(bool) OVERRIDE;
27 virtual void setPremultipliedAlpha(bool) OVERRIDE;
28 virtual void willModifyTexture() OVERRIDE;
29 virtual void setRateLimitContext(bool) OVERRIDE;
30
31 // TextureLayerChromiumClient implementation.
32 virtual unsigned prepareTexture(WebCore::CCTextureUpdateQueue&) OVERRIDE;
33 virtual WebGraphicsContext3D* context() OVERRIDE;
34
35 private:
36 WebExternalTextureLayerClient* m_client;
37 OwnPtr<WebLayerImpl> m_layer;
38 };
39
40 }
41
42 #endif // WebExternalTextureLayerImpl_h
43
OLDNEW
« no previous file with comments | « webkit/compositor/WebContentLayerImpl.cpp ('k') | webkit/compositor/WebExternalTextureLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698