Chromium Code Reviews| Index: media/filters/context_3d_provider.h |
| diff --git a/media/filters/context_3d_provider.h b/media/filters/context_3d_provider.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..224e70167ef79f0944219e9550a2ab1b8ad49f92 |
| --- /dev/null |
| +++ b/media/filters/context_3d_provider.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright (c) 2014 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 MEDIA_FILTERS_CONTEXT_3D_PROVIDER_H_ |
| +#define MEDIA_FILTERS_CONTEXT_3D_PROVIDER_H_ |
| + |
| +class GrContext; |
| + |
| +namespace gpu { |
| +namespace gles2 { |
| +class GLES2Interface; |
| +} |
| +} |
| + |
| +namespace media { |
| + |
| +struct Context3DProvider { |
|
scherkus (not reviewing)
2014/10/30 20:40:12
docs covering basic usage
dshwang
2014/10/31 09:29:16
Done.
|
| + gpu::gles2::GLES2Interface* gl; |
| + class GrContext* gr_context; |
| +}; |
| + |
| +typedef base::Callback<Context3DProvider()> Context3DProviderCB; |
|
scherkus (not reviewing)
2014/10/30 20:40:12
this should be in WebMediaPlayerParams as it's onl
dshwang
2014/10/31 09:29:16
Done.
|
| + |
| +} // namespace media |
| + |
| +#endif // MEDIA_FILTERS_CONTEXT_3D_PROVIDER_H_ |