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

Unified Diff: content/public/gpu/gpu_video_decode_accelerator_factory.h

Issue 1859403002: Avoid GpuPreferences exposed in content public gpu interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/public/gpu/gpu_video_decode_accelerator_factory.h
diff --git a/content/public/gpu/gpu_video_decode_accelerator_factory.h b/content/public/gpu/gpu_video_decode_accelerator_factory.h
index b02ceeabfed731bb67c4a10565c7a7eddcbca761..fe449546791880276d31a96cd7f887c3065b40bc 100644
--- a/content/public/gpu/gpu_video_decode_accelerator_factory.h
+++ b/content/public/gpu/gpu_video_decode_accelerator_factory.h
@@ -8,7 +8,6 @@
#include "base/callback.h"
#include "base/memory/weak_ptr.h"
#include "content/common/content_export.h"
-#include "gpu/command_buffer/service/gpu_preferences.h"
#include "gpu/config/gpu_info.h"
#include "media/video/video_decode_accelerator.h"
@@ -71,15 +70,13 @@ class CONTENT_EXPORT GpuVideoDecodeAcceleratorFactory {
const GetGLES2DecoderCallback& get_gles2_decoder_cb);
// Return decoder capabilities supported on the current platform.
- static gpu::VideoDecodeAcceleratorCapabilities GetDecoderCapabilities(
- const gpu::GpuPreferences& gpu_preferences);
+ static gpu::VideoDecodeAcceleratorCapabilities GetDecoderCapabilities();
// Create a VDA for the current platform for |client| with the given |config|
// and for given |gpu_preferences|. Return nullptr on failure.
virtual scoped_ptr<media::VideoDecodeAccelerator> CreateVDA(
media::VideoDecodeAccelerator::Client* client,
- const media::VideoDecodeAccelerator::Config& config,
- const gpu::GpuPreferences& gpu_preferences);
+ const media::VideoDecodeAccelerator::Config& config);
private:
// TODO(posciak): This is temporary and will not be needed once

Powered by Google App Engine
This is Rietveld 408576698