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

Unified Diff: blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h

Issue 2207453002: Properly set the BufferToTextureTargetMap in Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unused code. Created 4 years, 4 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: blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h
diff --git a/blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h b/blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h
index c68c55d01e8a8de17e814ed5853e87f7842f07b3..4ffa4251626e62cf434d02802a42ba294b29140e 100644
--- a/blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h
+++ b/blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h
@@ -8,6 +8,7 @@
#include <memory>
#include "base/macros.h"
+#include "cc/output/buffer_to_texture_target_map.h"
#include "gpu/command_buffer/client/gpu_memory_buffer_manager.h"
namespace blimp {
@@ -18,6 +19,8 @@ class BlimpGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager {
BlimpGpuMemoryBufferManager();
~BlimpGpuMemoryBufferManager() override;
+ static cc::BufferToTextureTargetMap GetDefaultBufferToTextureTargetMap();
+
// Overridden from gpu::GpuMemoryBufferManager:
std::unique_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer(
const gfx::Size& size,

Powered by Google App Engine
This is Rietveld 408576698