SkNextID.h 386 B

123456789101112131415161718192021
  1. /*
  2. * Copyright 2015 Google Inc.
  3. *
  4. * Use of this source code is governed by a BSD-style license that can be
  5. * found in the LICENSE file.
  6. */
  7. #ifndef SkNextID_DEFINED
  8. #define SkNextID_DEFINED
  9. #include "include/core/SkTypes.h"
  10. class SkNextID {
  11. public:
  12. /**
  13. * Shared between SkPixelRef's generationID and SkImage's uniqueID
  14. */
  15. static uint32_t ImageID();
  16. };
  17. #endif