// Copyright 2012 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_SWAP_RESULT_H_ #define UI_GFX_SWAP_RESULT_H_ #include <memory> #include "base/time/time.h" #include "ui/gfx/gfx_export.h" #include "ui/gfx/gpu_fence_handle.h" namespace gfx { struct CALayerParams; enum class SwapResult { … }; struct SwapTimings { … }; // Sent by ImageTransportSurfaces to their clients in response to a SwapBuffers. struct SwapResponse { … }; // Sent as part of finishing a swap. struct GFX_EXPORT SwapCompletionResult { … }; } // namespace gfx #endif // UI_GFX_SWAP_RESULT_H_