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

Unified Diff: cc/raster/scoped_gpu_raster.cc

Issue 1653983002: cc: Avoid extra flush calls to Skia GrContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« cc/raster/gpu_rasterizer.cc ('K') | « cc/raster/gpu_rasterizer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/scoped_gpu_raster.cc
diff --git a/cc/raster/scoped_gpu_raster.cc b/cc/raster/scoped_gpu_raster.cc
index e6dcf231ba2dcda9036566c79c34e9c2651b54aa..9807c2992748c9ec6f0135026b3ee7a1b9c7e8ac 100644
--- a/cc/raster/scoped_gpu_raster.cc
+++ b/cc/raster/scoped_gpu_raster.cc
@@ -34,9 +34,6 @@ void ScopedGpuRaster::BeginGpuRaster() {
}
void ScopedGpuRaster::EndGpuRaster() {
- class GrContext* gr_context = context_provider_->GrContext();
- gr_context->flush();
-
GLES2Interface* gl = context_provider_->ContextGL();
// Restore default GL unpack alignment. TextureUploader expects this.
« cc/raster/gpu_rasterizer.cc ('K') | « cc/raster/gpu_rasterizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698