summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorposciak <posciak@chromium.org>2016-03-24 23:02:23 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-25 06:03:50 +0000
commit6977e5243786901a766a38c2c291464875dffbd6 (patch)
treecdda3912792594e80978880986bce932dfca9b4d /gpu
parente582c0b02df6a3f4406bb075b22f71f3d931f581 (diff)
downloadchromium_src-6977e5243786901a766a38c2c291464875dffbd6.zip
chromium_src-6977e5243786901a766a38c2c291464875dffbd6.tar.gz
chromium_src-6977e5243786901a766a38c2c291464875dffbd6.tar.bz2
Introduce GpuVideoDecodeAcceleratorFactory.
- Move platform-specific code from GpuVideoDecodeAccelerator to GpuVideoDecodeAcceleratorFactory. - Make GVDAFactory a content/public interface, to provide the ability to instantiate VDAs from outside content/. - Unify how we obtain access to various GL functionality/classes from VDAs by introducing a set of callbacks provided by the client. - Replace VDA::CanDecodeOnIOThread() with VDA::TryInitializeDecodeOnSeparateThread(). This allows us to remove additional client/taskrunner arguments from VDA constructors, and give client the option to use a separate thread to decode, instead of having to make this decision in the factory, and enforcing these arguments in the constructors. - Deduplicate VDA creation code across users (currently GVDA and vdaunittest). BUG=b/27687678 TEST=compile/run various VDA impls CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel Review URL: https://codereview.chromium.org/1745903002 Cr-Commit-Position: refs/heads/master@{#383256}
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/service/BUILD.gn1
-rw-r--r--gpu/config/BUILD.gn1
2 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/BUILD.gn b/gpu/command_buffer/service/BUILD.gn
index 7ad6816..fc8ad968 100644
--- a/gpu/command_buffer/service/BUILD.gn
+++ b/gpu/command_buffer/service/BUILD.gn
@@ -19,6 +19,7 @@ group("service") {
source_set("service_sources") {
visibility = [
+ "//content/public/gpu/*",
"//gpu/*",
"//mojo/gles2:gles2",
]
diff --git a/gpu/config/BUILD.gn b/gpu/config/BUILD.gn
index 3ca9edf..fa9a972 100644
--- a/gpu/config/BUILD.gn
+++ b/gpu/config/BUILD.gn
@@ -25,6 +25,7 @@ group("config") {
source_set("config_sources") {
visibility = [
"//components/mus/gles2:*",
+ "//content/public/gpu/*",
"//gpu/*",
]