Index: cc/test/test_image_texture_targets_map.h |
diff --git a/cc/test/test_image_texture_targets_map.h b/cc/test/test_image_texture_targets_map.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4303bd76e81ca81457d930fbab5d6a9eeb737b6a |
--- /dev/null |
+++ b/cc/test/test_image_texture_targets_map.h |
@@ -0,0 +1,18 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CC_TEST_TEST_IMAGE_TEXTURE_TARGETS_MAP_H_ |
+#define CC_TEST_TEST_IMAGE_TEXTURE_TARGETS_MAP_H_ |
+ |
+#include "cc/trees/layer_tree_settings.h" |
+ |
+namespace cc { |
+ |
+// Returns a default-initialized ImageTextureTargetsMap where every entry maps |
+// to GL_TEXTURE_2D. |
+RendererSettings::ImageTextureTargetsMap TestImageTextureTargetsMap(); |
+ |
+} // namespace cc |
+ |
+#endif // CC_TEST_TEST_IMAGE_TEXTURE_TARGETS_MAP_H_ |