| Index: src/gpu/gl/GrGLCaps.cpp
|
| diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
|
| index d197fb74be6c8fd7585c81bc3fae6598dc30780a..480d29fc0e749093e47314e277f8cebac1f649a9 100644
|
| --- a/src/gpu/gl/GrGLCaps.cpp
|
| +++ b/src/gpu/gl/GrGLCaps.cpp
|
| @@ -390,8 +390,9 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
|
| } else {
|
| if (version >= GR_GL_VER(3, 0) || ctxInfo.hasExtension("GL_NV_pixel_buffer_object")) {
|
| fTransferBufferType = kPBO_TransferBufferType;
|
| - } else if (ctxInfo.hasExtension("GL_CHROMIUM_pixel_transfer_buffer_object")) {
|
| - fTransferBufferType = kChromium_TransferBufferType;
|
| +// TODO: get transfer buffers working in Chrome
|
| +// } else if (ctxInfo.hasExtension("GL_CHROMIUM_pixel_transfer_buffer_object")) {
|
| +// fTransferBufferType = kChromium_TransferBufferType;
|
| }
|
| }
|
|
|
| @@ -550,6 +551,15 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
|
| fSampleShadingSupport = true;
|
| }
|
|
|
| + // TODO: support CHROMIUM_sync_point and maybe KHR_fence_sync
|
| + if (kGL_GrGLStandard == standard) {
|
| + if (version >= GR_GL_VER(3, 2) || ctxInfo.hasExtension("GL_ARB_sync")) {
|
| + fFenceSyncSupport = true;
|
| + }
|
| + } else if (version >= GR_GL_VER(3, 0)) {
|
| + fFenceSyncSupport = true;
|
| + }
|
| +
|
| // We support manual mip-map generation (via iterative downsampling draw calls). This fixes
|
| // bugs on some cards/drivers that produce incorrect mip-maps for sRGB textures when using
|
| // glGenerateMipmap. Our implementation requires mip-level sampling control. Additionally,
|
|
|