summaryrefslogtreecommitdiff
path: root/libs/hwui/GradientCache.h
diff options
context:
space:
mode:
author Tom Hudson <tomhudson@google.com> 2014-10-15 15:46:42 -0400
committer Tom Hudson <tomhudson@google.com> 2014-10-15 15:51:39 -0400
commit2dc236b2bae13b9a0ed9b3f7320502aecd7983b3 (patch)
tree0fdb6c210ba1cba9397252a69d05fdf72e6f35a9 /libs/hwui/GradientCache.h
parent6cbb42186e990c401da1e1dbc465fd58fde158a1 (diff)
Clean up physical coupling
Narrow the use of #include directives in hwui, replacing with forward declarations where straightforward. Speeds compiles; doesn't do any restructuring of code. Change-Id: Icac2baffb5896f55d8c6718e9bd9d4bfa02d3ca0
Diffstat (limited to 'libs/hwui/GradientCache.h')
-rw-r--r--libs/hwui/GradientCache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/GradientCache.h b/libs/hwui/GradientCache.h
index 6a783b15b383..c94b6f0e1d01 100644
--- a/libs/hwui/GradientCache.h
+++ b/libs/hwui/GradientCache.h
@@ -25,11 +25,11 @@
#include <utils/Mutex.h>
#include <utils/Vector.h>
-#include "Texture.h"
-
namespace android {
namespace uirenderer {
+class Texture;
+
struct GradientCacheEntry {
GradientCacheEntry() {
count = 0;