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

Unified Diff: tools/viewer/sk_app/GLWindowContext.cpp

Issue 2191673002: Remove unused render target members from GL and VK sk_app::WindowContext classes (Closed) Base URL: https://chromium.googlesource.com/skia.git@noapply
Patch Set: Created 4 years, 5 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 | « tools/viewer/sk_app/GLWindowContext.h ('k') | tools/viewer/sk_app/VulkanWindowContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/viewer/sk_app/GLWindowContext.cpp
diff --git a/tools/viewer/sk_app/GLWindowContext.cpp b/tools/viewer/sk_app/GLWindowContext.cpp
index 74454e9324dfe1fe2e50d00d13cf2f0806b138cd..3c3164a3722db3e8cf7d2524ec5a0e9e1148f4d5 100644
--- a/tools/viewer/sk_app/GLWindowContext.cpp
+++ b/tools/viewer/sk_app/GLWindowContext.cpp
@@ -24,7 +24,6 @@ namespace sk_app {
GLWindowContext::GLWindowContext(const DisplayParams& params)
: WindowContext()
, fBackendContext(nullptr)
- , fRenderTarget(nullptr)
, fSurface(nullptr) {
fDisplayParams = params;
}
@@ -51,7 +50,6 @@ void GLWindowContext::initializeContext() {
void GLWindowContext::destroyContext() {
fSurface.reset(nullptr);
- fRenderTarget.reset(nullptr);
if (fContext) {
// in case we have outstanding refs to this guy (lua?)
« no previous file with comments | « tools/viewer/sk_app/GLWindowContext.h ('k') | tools/viewer/sk_app/VulkanWindowContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698