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

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_impl.cc

Issue 8566041: Allow GLSurface to indicate that it supports a specific extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gpu_unittests. Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/gl/gl_surface_glx.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/gpu/webgraphicscontext3d_in_process_impl.cc
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
index a1c8fefec7aebab418e99f370e0412fb395b28a5..89d7683c31c295b99089b7ac6fcb22e9c4d7af0c 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
@@ -335,7 +335,7 @@ void WebGraphicsContext3DInProcessImpl::prepareTexture() {
void WebGraphicsContext3DInProcessImpl::postSubBufferCHROMIUM(
int x, int y, int width, int height) {
- DCHECK(gl_surface_->SupportsPostSubBuffer());
+ DCHECK(gl_context_->HasExtension("GL_CHROMIUM_post_sub_buffer"));
gl_surface_->PostSubBuffer(x, y, width, height);
}
« no previous file with comments | « ui/gfx/gl/gl_surface_glx.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698