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

Unified Diff: cc/output/gl_renderer.cc

Issue 135753006: cc: Delete ContextProvider::MakeGrContextCurrent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index 771cfeaf0f2aa8de576895a4ca96d0a654530da1..3c653f915514ab943eed8b13545781e950483a1b 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -459,9 +459,6 @@ static SkBitmap ApplyImageFilter(GLRenderer* renderer,
// texture.
renderer->resource_provider()->Flush();
- // Make sure skia uses the correct GL context.
- offscreen_contexts->MakeGrContextCurrent();
-
// Wrap the source texture in a Ganesh platform texture.
GrBackendTextureDesc backend_texture_description;
backend_texture_description.fWidth = source_texture_resource->size().width();
@@ -567,9 +564,6 @@ static SkBitmap ApplyBlendModeWithBackdrop(
// texture.
renderer->resource_provider()->Flush();
- // Make sure skia uses the correct GL context.
- offscreen_contexts->MakeGrContextCurrent();
-
// Wrap the source texture in a Ganesh platform texture.
GrBackendTextureDesc backend_texture_description;
backend_texture_description.fConfig = kSkia8888_GrPixelConfig;

Powered by Google App Engine
This is Rietveld 408576698