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

Unified Diff: gpu/command_buffer/service/gl_state_restorer_impl.h

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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: gpu/command_buffer/service/gl_state_restorer_impl.h
diff --git a/gpu/command_buffer/service/gl_state_restorer_impl.h b/gpu/command_buffer/service/gl_state_restorer_impl.h
index 760fde684cb9b9591ff9d0b612136b346576f95c..187dcec188dd61958ed0a9abb1fc403da4f39d1d 100644
--- a/gpu/command_buffer/service/gl_state_restorer_impl.h
+++ b/gpu/command_buffer/service/gl_state_restorer_impl.h
@@ -20,13 +20,13 @@ struct ContextState;
}
// This class implements a GLStateRestorer that forwards to a GLES2Decoder.
-class GPU_EXPORT GLStateRestorerImpl : public gfx::GLStateRestorer {
+class GPU_EXPORT GLStateRestorerImpl : public gl::GLStateRestorer {
public:
explicit GLStateRestorerImpl(base::WeakPtr<gles2::GLES2Decoder> decoder);
~GLStateRestorerImpl() override;
bool IsInitialized() override;
- void RestoreState(const gfx::GLStateRestorer* prev_state) override;
+ void RestoreState(const gl::GLStateRestorer* prev_state) override;
void RestoreAllTextureUnitBindings() override;
void RestoreActiveTextureUnitBinding(unsigned int target) override;
void RestoreAllExternalTextureBindingsIfNeeded() override;
« no previous file with comments | « gpu/command_buffer/service/gl_context_virtual_unittest.cc ('k') | gpu/command_buffer/service/gl_state_restorer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698