Index: content/browser/gpu/compositor_util.h |
diff --git a/content/browser/gpu/compositor_util.h b/content/browser/gpu/compositor_util.h |
index 5bf374975d1af05af34606255b1aa228672ea353..123dee066948bd8372f062e591b097aa962f95a6 100644 |
--- a/content/browser/gpu/compositor_util.h |
+++ b/content/browser/gpu/compositor_util.h |
@@ -8,6 +8,7 @@ |
#include <memory> |
#include "base/values.h" |
+#include "cc/output/buffer_to_texture_target_map.h" |
#include "content/common/content_export.h" |
namespace content { |
@@ -48,6 +49,9 @@ CONTENT_EXPORT std::unique_ptr<base::DictionaryValue> GetFeatureStatus(); |
CONTENT_EXPORT std::unique_ptr<base::ListValue> GetProblems(); |
CONTENT_EXPORT std::vector<std::string> GetDriverBugWorkarounds(); |
+// Populate BufferToTextureTargetMap for all buffer usage/formats. |
+CONTENT_EXPORT cc::BufferToTextureTargetMap CreateBufferToTextureTargetMap(); |
+ |
} // namespace content |
#endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_ |