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

Unified Diff: cc/tiled_layer.h

Issue 11794019: Avoid exposing gl bindings through cc public API headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/thread_proxy.cc ('k') | cc/tiled_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiled_layer.h
diff --git a/cc/tiled_layer.h b/cc/tiled_layer.h
index e09780cbe18b8a1933fad80b756c4e3dccab13ad..95fb84379782c037290a952f06ce4a3b2b8d3cae 100644
--- a/cc/tiled_layer.h
+++ b/cc/tiled_layer.h
@@ -8,9 +8,11 @@
#include "cc/cc_export.h"
#include "cc/contents_scaling_layer.h"
#include "cc/layer_tiling_data.h"
-#include "cc/layer_updater.h"
namespace cc {
+class LayerUpdater;
+class PrioritizedResourceManager;
+class PrioritizedResource;
class UpdatableTile;
class CC_EXPORT TiledLayer : public ContentsScalingLayer {
@@ -44,7 +46,7 @@ protected:
// Exposed to subclasses for testing.
void setTileSize(const gfx::Size&);
- void setTextureFormat(GLenum textureFormat) { m_textureFormat = textureFormat; }
+ void setTextureFormat(unsigned textureFormat) { m_textureFormat = textureFormat; }
void setBorderTexelOption(LayerTilingData::BorderTexelOption);
size_t numPaintedTiles() { return m_tiler->tiles().size(); }
@@ -90,7 +92,7 @@ private:
bool isSmallAnimatedLayer() const;
- GLenum m_textureFormat;
+ unsigned m_textureFormat;
bool m_skipsDraw;
bool m_failedUpdate;
« no previous file with comments | « cc/thread_proxy.cc ('k') | cc/tiled_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698