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

Side by Side Diff: Source/WebCore/platform/graphics/chromium/cc/CCRenderer.h

Issue 10690121: Merge 121076 - [chromium] LayerRendererChromium is not getting visibility messages in single thread… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 29 matching lines...) Expand all
40 class TextureManager; 40 class TextureManager;
41 class TextureUploader; 41 class TextureUploader;
42 42
43 class CCRendererClient { 43 class CCRendererClient {
44 public: 44 public:
45 virtual const IntSize& deviceViewportSize() const = 0; 45 virtual const IntSize& deviceViewportSize() const = 0;
46 virtual const CCLayerTreeSettings& settings() const = 0; 46 virtual const CCLayerTreeSettings& settings() const = 0;
47 virtual void didLoseContext() = 0; 47 virtual void didLoseContext() = 0;
48 virtual void onSwapBuffersComplete() = 0; 48 virtual void onSwapBuffersComplete() = 0;
49 virtual void setFullRootLayerDamage() = 0; 49 virtual void setFullRootLayerDamage() = 0;
50 virtual void setContentsMemoryAllocationLimitBytes(size_t) = 0; 50 virtual void releaseContentsTextures() = 0;
51 virtual void setMemoryAllocationLimitBytes(size_t) = 0;
51 }; 52 };
52 53
53 class CCRenderer { 54 class CCRenderer {
54 WTF_MAKE_NONCOPYABLE(CCRenderer); 55 WTF_MAKE_NONCOPYABLE(CCRenderer);
55 public: 56 public:
56 virtual ~CCRenderer() { } 57 virtual ~CCRenderer() { }
57 58
58 virtual const LayerRendererCapabilities& capabilities() const = 0; 59 virtual const LayerRendererCapabilities& capabilities() const = 0;
59 60
60 const CCLayerTreeSettings& settings() const { return m_client->settings(); } 61 const CCLayerTreeSettings& settings() const { return m_client->settings(); }
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 } 103 }
103 104
104 CCRendererClient* m_client; 105 CCRendererClient* m_client;
105 WebKit::WebTransformationMatrix m_projectionMatrix; 106 WebKit::WebTransformationMatrix m_projectionMatrix;
106 WebKit::WebTransformationMatrix m_windowMatrix; 107 WebKit::WebTransformationMatrix m_windowMatrix;
107 }; 108 };
108 109
109 } 110 }
110 111
111 #endif // CCRenderer_h 112 #endif // CCRenderer_h
OLDNEW
« no previous file with comments | « Source/WebCore/platform/graphics/chromium/cc/CCProxy.h ('k') | Source/WebCore/platform/graphics/chromium/cc/CCScheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698