| Index: cc/resources/resource_provider.cc
|
| diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc
|
| index d4a7087fa010008769b9f5e55339efe0c3cd7689..49f6089bc6af3ea8ae4e76feb85c4b3a2e2837c0 100644
|
| --- a/cc/resources/resource_provider.cc
|
| +++ b/cc/resources/resource_provider.cc
|
| @@ -1248,6 +1248,9 @@ void ResourceProvider::Initialize() {
|
| yuv_highbit_resource_format_ = yuv_resource_format_;
|
| if (caps.gpu.texture_half_float_linear)
|
| yuv_highbit_resource_format_ = LUMINANCE_F16;
|
| + if (caps.gpu.avoid_one_component_egl_images) {
|
| + yuv_resource_format_ = yuv_highbit_resource_format_ = RGBA_8888;
|
| + }
|
| use_sync_query_ = caps.gpu.sync_query;
|
|
|
| max_texture_size_ = 0; // Context expects cleared value.
|
|
|