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

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

Issue 619453002: gpu: Remove Echo and SwapCompletion GL interfacess (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tits
Patch Set: remove comment Created 6 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 | « gpu/command_buffer/client/context_support.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 55cd0a14b748d0e758d37bea20744472ab36e94f..b9b2b34cfad51582e7f2ddb57e10b4ce8099b7da 100644
--- a/gpu/command_buffer/client/gles2_implementation.h
+++ b/gpu/command_buffer/client/gles2_implementation.h
@@ -222,9 +222,6 @@ class GLES2_IMPL_EXPORT GLES2Implementation
// ContextSupport implementation.
virtual void Swap() OVERRIDE;
virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) OVERRIDE;
- virtual void SetSwapBuffersCompleteCallback(
- const base::Closure& swap_buffers_complete_callback)
- OVERRIDE;
virtual void ScheduleOverlayPlane(int plane_z_order,
gfx::OverlayTransform plane_transform,
unsigned overlay_texture_id,
@@ -604,8 +601,6 @@ class GLES2_IMPL_EXPORT GLES2Implementation
void RunIfContextNotLost(const base::Closure& callback);
- void OnSwapBuffersComplete();
-
// Validate if an offset is valid, i.e., non-negative and fit into 32-bit.
// If not, generate an approriate error, and return false.
bool ValidateOffset(const char* func, GLintptr offset);
@@ -785,8 +780,6 @@ class GLES2_IMPL_EXPORT GLES2Implementation
Capabilities capabilities_;
- base::Closure swap_buffers_complete_callback_;
-
base::WeakPtrFactory<GLES2Implementation> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(GLES2Implementation);
« no previous file with comments | « gpu/command_buffer/client/context_support.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698