summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/media/vaapi_video_decode_accelerator.cc
diff options
context:
space:
mode:
authorposciak@chromium.org <posciak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-18 04:29:30 +0000
committerposciak@chromium.org <posciak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-18 04:29:30 +0000
commit3d0f4832578ce54f12f188a1055584c19c9f5641 (patch)
tree46cd760765b42c076a2e5a106b9940535bba060c /content/common/gpu/media/vaapi_video_decode_accelerator.cc
parent1e6ef6c000c406a2c7980bd527068a18327a808e (diff)
downloadchromium_src-3d0f4832578ce54f12f188a1055584c19c9f5641.zip
chromium_src-3d0f4832578ce54f12f188a1055584c19c9f5641.tar.gz
chromium_src-3d0f4832578ce54f12f188a1055584c19c9f5641.tar.bz2
Remove GL context parameters from {E,VA}VDA.
gl{x}_context is not directly used in {E,VA}VDA anymore, so remove it. The classes will call make_context_current_ callbacks when a valid context is required and error out if it fails. BUG=None TEST=build, video playback Review URL: https://codereview.chromium.org/109983003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/gpu/media/vaapi_video_decode_accelerator.cc')
-rw-r--r--content/common/gpu/media/vaapi_video_decode_accelerator.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/common/gpu/media/vaapi_video_decode_accelerator.cc b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
index cd18574..611ce5a 100644
--- a/content/common/gpu/media/vaapi_video_decode_accelerator.cc
+++ b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
@@ -240,11 +240,10 @@ VaapiVideoDecodeAccelerator::TFPPicture*
}
VaapiVideoDecodeAccelerator::VaapiVideoDecodeAccelerator(
- Display* x_display, GLXContext glx_context,
+ Display* x_display,
Client* client,
const base::Callback<bool(void)>& make_context_current)
: x_display_(x_display),
- glx_context_(glx_context),
make_context_current_(make_context_current),
state_(kUninitialized),
input_ready_(&lock_),