| Index: gpu/command_buffer/service/feature_info.cc
|
| diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
|
| index 570608645d1e71b1acd38b3ac3b7d323bf3934bb..803b1210b8e55c96764869810a5ddc7a5e9130a3 100644
|
| --- a/gpu/command_buffer/service/feature_info.cc
|
| +++ b/gpu/command_buffer/service/feature_info.cc
|
| @@ -17,6 +17,10 @@
|
| #include "ui/gl/gl_fence.h"
|
| #include "ui/gl/gl_implementation.h"
|
|
|
| +#if !defined(OS_MACOSX)
|
| +#include "ui/gl/gl_fence_egl.h"
|
| +#endif
|
| +
|
| namespace gpu {
|
| namespace gles2 {
|
|
|
| @@ -1020,6 +1024,12 @@ void FeatureInfo::InitializeFeatures() {
|
| texture_format_validators_[GL_RG_EXT].AddValue(GL_HALF_FLOAT_OES);
|
| }
|
| }
|
| +
|
| +#if !defined(OS_MACOSX)
|
| + if (workarounds_.ignore_egl_sync_failures) {
|
| + gfx::GLFenceEGL::SetIgnoreFailures();
|
| + }
|
| +#endif
|
| }
|
|
|
| void FeatureInfo::AddExtensionString(const char* s) {
|
|
|