80c772b2a4
I view this as a performance opportunity, not a feature or bug fix per-se. BUG=skia: Review URL: https://codereview.chromium.org/1266883002
22 lines
373 B
C++
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
|