#include "gpu/command_buffer/service/display_compositor_memory_and_task_controller_on_gpu.h"
#include "base/atomic_sequence_num.h"
#include "base/trace_event/memory_dump_manager.h"
#include "gpu/command_buffer/service/command_buffer_task_executor.h"
#include "gpu/command_buffer/service/gpu_command_buffer_memory_tracker.h"
#include "gpu/ipc/common/gpu_client_ids.h"
namespace gpu {
namespace {
base::AtomicSequenceNumber g_next_shared_route_id;
CommandBufferId GenNextCommandBufferId() { … }
}
DisplayCompositorMemoryAndTaskControllerOnGpu::
DisplayCompositorMemoryAndTaskControllerOnGpu(
scoped_refptr<SharedContextState> shared_context_state,
SharedImageManager* shared_image_manager,
SyncPointManager* sync_point_manager,
const GpuPreferences& gpu_preferences,
const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds,
const GpuFeatureInfo& gpu_feature_info)
: … { … }
DisplayCompositorMemoryAndTaskControllerOnGpu::
~DisplayCompositorMemoryAndTaskControllerOnGpu() { … }
MemoryTracker* DisplayCompositorMemoryAndTaskControllerOnGpu::memory_tracker()
const { … }
CommandBufferId
DisplayCompositorMemoryAndTaskControllerOnGpu::NextCommandBufferId() { … }
}