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

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

Issue 2895273002: Unified the use of BufferToTextureTargetMap for all the Processes (Closed)
Patch Set: Unified the use of BufferToTextureTargetMap for all the Processes 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..d1d5686d48779501d681fcae60b6a473ef458e27 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,10 @@ CONTENT_EXPORT std::unique_ptr<base::DictionaryValue> GetFeatureStatus();
CONTENT_EXPORT std::unique_ptr<base::ListValue> GetProblems();
CONTENT_EXPORT std::vector<std::string> GetDriverBugWorkarounds();
+// Populate buffer_to_texture_target_map for all buffer usage/formats.
danakj 2017/06/28 17:00:19 This comment refers to a name that isn't present i
sujith 2017/06/29 06:21:49 Done.
+CONTENT_EXPORT void GetBufferToTextureTargetMap(
danakj 2017/06/28 17:00:19 Return the map, instead of taking a pointer please
sujith 2017/06/30 07:49:04 Done.
+ cc::BufferToTextureTargetMap* texture_targets);
+
} // namespace content
#endif // CONTENT_BROWSER_GPU_COMPOSITOR_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698