draw_result.h 739 B

12345678910111213141516171819202122232425
  1. // Copyright 2014 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef CC_SCHEDULER_DRAW_RESULT_H_
  5. #define CC_SCHEDULER_DRAW_RESULT_H_
  6. namespace cc {
  7. // Note that these values are reported in UMA. So entries should never be
  8. // renumbered, and numeric values should never be reused.
  9. enum DrawResult {
  10. INVALID_RESULT,
  11. DRAW_SUCCESS,
  12. DRAW_ABORTED_CHECKERBOARD_ANIMATIONS,
  13. DRAW_ABORTED_MISSING_HIGH_RES_CONTENT,
  14. DRAW_ABORTED_CANT_DRAW,
  15. DRAW_ABORTED_DRAINING_PIPELINE,
  16. // Magic constant used by the histogram macros.
  17. kMaxValue = DRAW_ABORTED_DRAINING_PIPELINE,
  18. };
  19. } // namespace cc
  20. #endif // CC_SCHEDULER_DRAW_RESULT_H_