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

Unified Diff: src/gpu/GrGpu.h

Issue 210253004: Remove forceRenderTargetFlush (unused) (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 6 years, 9 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/GrGpu.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrGpu.h
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index e8ccc26b1d8c9a0e1668f6e8323a3341b65ba9ce..d73fa59ace27cf2aca6816f8d5704457200eadbb 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -141,13 +141,6 @@ public:
void resolveRenderTarget(GrRenderTarget* target);
/**
- * Ensures that the current render target is actually set in the
- * underlying 3D API. Used when client wants to use 3D API to directly
- * render to the RT.
- */
- void forceRenderTargetFlush();
-
- /**
* Gets a preferred 8888 config to use for writing/reading pixel data to/from a surface with
* config surfaceConfig. The returned config must have at least as many bits per channel as the
* readConfig or writeConfig param.
@@ -442,9 +435,6 @@ private:
virtual void onGpuDrawPaths(size_t, const GrPath**, const SkMatrix*,
SkPath::FillType, SkStrokeRec::Style) = 0;
- // overridden by backend-specific derived class to perform flush
- virtual void onForceRenderTargetFlush() = 0;
-
// overridden by backend-specific derived class to perform the read pixels.
virtual bool onReadPixels(GrRenderTarget* target,
int left, int top, int width, int height,
« no previous file with comments | « no previous file | src/gpu/GrGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698