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

Unified Diff: cc/test/test_image_texture_targets_map.h

Issue 2120713002: Fix use_image_texture_target inconsistencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698