Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: src/gpu/gl/GrGLInterface.cpp

Issue 1101143002: Remove validation of blend barrier until Chrome can provide this function (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #include "gl/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 #include "gl/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 if (NULL == fFunctions.fTextureBarrier) { 318 if (NULL == fFunctions.fTextureBarrier) {
319 RETURN_FALSE_INTERFACE 319 RETURN_FALSE_INTERFACE
320 } 320 }
321 } 321 }
322 } else if (fExtensions.has("GL_NV_texture_barrier")) { 322 } else if (fExtensions.has("GL_NV_texture_barrier")) {
323 if (NULL == fFunctions.fTextureBarrier) { 323 if (NULL == fFunctions.fTextureBarrier) {
324 RETURN_FALSE_INTERFACE 324 RETURN_FALSE_INTERFACE
325 } 325 }
326 } 326 }
327 327
328 // FIXME: Remove this once Chromium is updated to provide this function
329 #if 0
328 if (fExtensions.has("GL_KHR_blend_equation_advanced") || 330 if (fExtensions.has("GL_KHR_blend_equation_advanced") ||
329 fExtensions.has("GL_NV_blend_equation_advanced")) { 331 fExtensions.has("GL_NV_blend_equation_advanced")) {
330 if (NULL == fFunctions.fBlendBarrier) { 332 if (NULL == fFunctions.fBlendBarrier) {
331 RETURN_FALSE_INTERFACE 333 RETURN_FALSE_INTERFACE
332 } 334 }
333 } 335 }
336 #endif
334 337
335 if (fExtensions.has("GL_EXT_discard_framebuffer")) { 338 if (fExtensions.has("GL_EXT_discard_framebuffer")) {
336 // FIXME: Remove this once Chromium is updated to provide this function 339 // FIXME: Remove this once Chromium is updated to provide this function
337 #if 0 340 #if 0
338 if (NULL == fFunctions.fDiscardFramebuffer) { 341 if (NULL == fFunctions.fDiscardFramebuffer) {
339 RETURN_FALSE_INTERFACE 342 RETURN_FALSE_INTERFACE
340 } 343 }
341 #endif 344 #endif
342 } 345 }
343 346
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 } 535 }
533 536
534 if (fExtensions.has("GL_NV_framebuffer_mixed_samples")) { 537 if (fExtensions.has("GL_NV_framebuffer_mixed_samples")) {
535 if (NULL == fFunctions.fCoverageModulation) { 538 if (NULL == fFunctions.fCoverageModulation) {
536 RETURN_FALSE_INTERFACE 539 RETURN_FALSE_INTERFACE
537 } 540 }
538 } 541 }
539 542
540 return true; 543 return true;
541 } 544 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698