| // Copyright 2019 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef GPU_COMMAND_BUFFER_SERVICE_WEBGPU_DECODER_IMPL_H_ |
| #define GPU_COMMAND_BUFFER_SERVICE_WEBGPU_DECODER_IMPL_H_ |
| #include "gpu/gpu_gles2_export.h" |
| #include "base/memory/scoped_refptr.h" |
| class CommandBufferServiceBase; |
| class SharedContextState; |
| class SharedImageManager; |
| GPU_GLES2_EXPORT WebGPUDecoder* CreateWebGPUDecoderImpl( |
| CommandBufferServiceBase* command_buffer_service, |
| SharedImageManager* shared_image_manager, |
| MemoryTracker* memory_tracker, |
| gles2::Outputter* outputter, |
| const GpuPreferences& gpu_preferences, |
| scoped_refptr<SharedContextState> shared_context_state); |
| #endif // GPU_COMMAND_BUFFER_SERVICE_WEBGPU_DECODER_IMPL_H_ |