| Index: src/gpu/gl/GrGLCaps.cpp
|
| diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
|
| index d71f8e33541a54700a846d638c4ba8f940757a80..e8bc8229ff4a05cd2c92446b56a941d93a615a8f 100644
|
| --- a/src/gpu/gl/GrGLCaps.cpp
|
| +++ b/src/gpu/gl/GrGLCaps.cpp
|
| @@ -313,12 +313,11 @@ bool GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) {
|
|
|
| fPathRenderingSupport = ctxInfo.hasExtension("GL_NV_path_rendering") &&
|
| ctxInfo.hasExtension("GL_EXT_direct_state_access") &&
|
| - (kGL_GrGLStandard == standard &&
|
| - (ctxInfo.version() >= GR_GL_VER(4,3) ||
|
| - ctxInfo.hasExtension("GL_ARB_program_interface_query")));
|
| - // Note: path rendering is not yet implemented for GLES.
|
| - // Once it is, this will contain also:
|
| - // || (kGLES_GrGLStandard == standard && ctxInfo.version() >= GR_GL_VER(3,1))
|
| + ((kGL_GrGLStandard == standard &&
|
| + (ctxInfo.version() >= GR_GL_VER(4,3) ||
|
| + ctxInfo.hasExtension("GL_ARB_program_interface_query"))) ||
|
| + (kGLES_GrGLStandard == standard &&
|
| + ctxInfo.version() >= GR_GL_VER(3,1)));
|
|
|
| fGpuTracingSupport = ctxInfo.hasExtension("GL_EXT_debug_marker");
|
|
|
|
|