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

Unified Diff: content/browser/gpu/compositor_util.h

Issue 2895273002: Unified the use of BufferToTextureTargetMap for all the Processes (Closed)
Patch Set: c++ styling done Created 3 years, 6 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: content/browser/gpu/compositor_util.h
diff --git a/content/browser/gpu/compositor_util.h b/content/browser/gpu/compositor_util.h
index 5bf374975d1af05af34606255b1aa228672ea353..46a15a91b3b27aae4eaa0d29183f04e24e2af313 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 GetBufferToTextureTargetMap();
+
} // namespace content
#endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698