summaryrefslogtreecommitdiffstats
path: root/content/content_common.gypi
diff options
context:
space:
mode:
authorliberato <liberato@chromium.org>2016-01-15 08:20:49 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-15 16:22:29 +0000
commit774cc114922affc48477a073e06642a806c9860b (patch)
tree3259a25989ec24c6a07e63a2118e47e0af4bef75 /content/content_common.gypi
parentb7f586f30f44198b473fb56ebab5947056277f77 (diff)
downloadchromium_src-774cc114922affc48477a073e06642a806c9860b.zip
chromium_src-774cc114922affc48477a073e06642a806c9860b.tar.gz
chromium_src-774cc114922affc48477a073e06642a806c9860b.tar.bz2
Add support for "unowned" service_id to Texture.
Optionally, one may call Texture::SetUnownedServiceId() to provide a service id that will be returned for Texture::service_id(), but will not be deleted when the Texture is destroyed. The original service_id is also kept around, and will be deleted normally. Calling Texture::SetUnownedServiceId(0) will restore the original service_id. In either case, the texture is rebound to all OES_EXTERNAl units. For textures that are not OES_EXTERNAL, this call does nothing. Also updates AVDA's zero copy path to use this, to support WebGL. It creates a new texture object for the SurfaceTexture, and sets the unowned service_id for all PictureBuffer Textures to use it. BUG=540865 Review URL: https://codereview.chromium.org/1517783002 Cr-Commit-Position: refs/heads/master@{#369759}
Diffstat (limited to 'content/content_common.gypi')
-rw-r--r--content/content_common.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/content_common.gypi b/content/content_common.gypi
index 806f63f..f18b3b4 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -808,6 +808,7 @@
'common/gpu/media/avda_codec_image.cc',
'common/gpu/media/avda_codec_image.h',
'common/gpu/media/avda_return_on_failure.h',
+ 'common/gpu/media/avda_shared_state.cc',
'common/gpu/media/avda_shared_state.h',
'common/gpu/media/avda_state_provider.h',
],