skia2/src/core/SkNextID.h
reed 80c772b2a4 unify pixelref and image ID space, so we can share IDs when we share pixels
I view this as a performance opportunity, not a feature or bug fix per-se.

BUG=skia:

Review URL: https://codereview.chromium.org/1266883002
2015-07-30 18:58:23 -07:00

22 lines
373 B
C++

/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkNextID_DEFINED
#define SkNextID_DEFINED
#include "SkTypes.h"
class SkNextID {
public:
/**
* Shared between SkPixelRef's generationID and SkImage's uniqueID
*/
static uint32_t ImageID();
};
#endif