// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_GFX_PRESENTATION_FEEDBACK_H_ #define UI_GFX_PRESENTATION_FEEDBACK_H_ #include <stdint.h> #include "base/time/time.h" #include "build/build_config.h" #include "ui/gfx/ca_layer_result.h" namespace gfx { // The feedback for gl::GLSurface methods |SwapBuffers|, |SwapBuffersAsync|, // |SwapBuffersWithBounds|, |PostSubBuffer|, |PostSubBufferAsync|, // |CommitOverlayPlanes|,|CommitOverlayPlanesAsync|, etc. struct PresentationFeedback { … }; inline bool operator==(const PresentationFeedback& lhs, const PresentationFeedback& rhs) { … } inline bool operator!=(const PresentationFeedback& lhs, const PresentationFeedback& rhs) { … } } // namespace gfx #endif // UI_GFX_PRESENTATION_FEEDBACK_H_