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

Unified Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 2278283003: Refactor client visibility handling (Closed)
Patch Set: fix compositor_unittests Created 4 years, 4 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/client/gles2_implementation.h
diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h
index 53a248e12e8fdb28569c28f723bcdff6c2b7850a..c877b0f88262080f4821a9fc063626df12e4e66d 100644
--- a/gpu/command_buffer/client/gles2_implementation.h
+++ b/gpu/command_buffer/client/gles2_implementation.h
@@ -199,8 +199,6 @@ class GLES2_IMPL_EXPORT GLES2Implementation
uint64_t ShareGroupTracingGUID() const override;
void SetErrorMessageCallback(
const base::Callback<void(const char*, int32_t)>& callback) override;
- void SetClientVisible(int client_id, bool is_visible) override;
- bool AnyClientsVisible() const override;
// TODO(danakj): Move to ContextSupport once ContextProvider doesn't need to
// intercept it.
@@ -823,9 +821,6 @@ class GLES2_IMPL_EXPORT GLES2Implementation
// whether it should aggressively free them.
bool aggressively_free_resources_;
- // The set of IDs of all visible clients.
- std::set<int> visible_clients_;
-
// Result of last GetString(GL_EXTENSIONS), used to keep
// GetString(GL_EXTENSIONS), GetStringi(GL_EXTENSIONS, index) and
// GetIntegerv(GL_NUM_EXTENSIONS) in sync. This points to gl_strings, valid

Powered by Google App Engine
This is Rietveld 408576698