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

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_impl.cc

Issue 8512005: Plumb through EGL_NV_post_sub_buffer and GLX_MESA_copy_sub_buffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer comments. 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
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 7723305e625632f1dbd949da7b611a9c50691d56..c350b3cdffafa406f6064985e61227f4c529ec1b 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
@@ -333,6 +333,12 @@ void WebGraphicsContext3DInProcessImpl::prepareTexture() {
}
}
+void WebGraphicsContext3DInProcessImpl::postSubBufferCHROMIUM(
+ int x, int y, int width, int height) {
+ DCHECK(gl_surface_->SupportsPostSubBuffer());
+ gl_surface_->PostSubBuffer(x, y, width, height);
+}
+
namespace {
int CreateTextureObject(GLenum target) {
« ui/gfx/gl/gl_surface_egl.cc ('K') | « webkit/gpu/webgraphicscontext3d_in_process_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698