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

Unified Diff: include/gpu/GrContext.h

Issue 1334603002: Revert of Add a mutex to GrContext::readSurfacePixels to protect against multiple CPU raster threads accessin… (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | src/gpu/GrContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContext.h
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index dcff3063b269ff198e16598c9aa9664c84a88f9f..7f1e4109fad9564e65fa6acbc25266d295878a3b 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -15,7 +15,6 @@
#include "GrRenderTarget.h"
#include "GrTextureProvider.h"
#include "SkMatrix.h"
-#include "SkMutex.h"
#include "SkPathEffect.h"
#include "SkTypes.h"
@@ -381,11 +380,6 @@
bool fDidTestPMConversions;
int fPMToUPMConversion;
int fUPMToPMConversion;
- // The sw backend may call GrContext::readSurfacePixels on multiple threads
- // We may transfer the responsibilty for using a mutex to the sw backend
- // when there are fewer code paths that lead to a readSurfacePixels call
- // from the sw backend.
- SkMutex fReadPixelsMutex;
struct CleanUpData {
PFCleanUpFunc fFunc;
« no previous file with comments | « no previous file | src/gpu/GrContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698