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

Unified Diff: ui/gl/gl_surface_egl.h

Issue 2696203004: Revert of "Route DXGI Frame Statistics to VSyncProvider" (Closed)
Patch Set: Created 3 years, 10 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/ipc/service/image_transport_surface_win.cc ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_egl.h
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
index cf10a1c6aa905cb2d432dfe7944e92af31a808ae..d9caa8fe55b020fa0cc93a76636fba9d17b2948c 100644
--- a/ui/gl/gl_surface_egl.h
+++ b/ui/gl/gl_surface_egl.h
@@ -24,7 +24,6 @@
#include "ui/gl/gl_export.h"
#include "ui/gl/gl_surface.h"
#include "ui/gl/gl_surface_overlay.h"
-#include "ui/gl/sync_control_vsync_provider.h"
namespace gl {
@@ -48,25 +47,6 @@ GL_EXPORT void GetEGLInitDisplays(bool supports_angle_d3d,
const base::CommandLine* command_line,
std::vector<DisplayType>* init_displays);
-// VSync provider for EGL surface;
-class GL_EXPORT EGLSyncControlVSyncProvider : public SyncControlVSyncProvider {
- public:
- explicit EGLSyncControlVSyncProvider(EGLSurface surface);
- ~EGLSyncControlVSyncProvider() override;
-
- protected:
- bool GetSyncValues(int64_t* system_time,
- int64_t* media_stream_counter,
- int64_t* swap_buffer_counter) override;
-
- bool GetMscRate(int32_t* numerator, int32_t* denominator) override;
-
- private:
- EGLSurface surface_;
-
- DISALLOW_COPY_AND_ASSIGN(EGLSyncControlVSyncProvider);
-};
-
// Interface for EGL surface.
class GL_EXPORT GLSurfaceEGL : public GLSurface {
public:
« no previous file with comments | « gpu/ipc/service/image_transport_surface_win.cc ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698