Skia
2DGraphicsLibrary
|
Used by processors to build their keys. More...
#include <GrProcessor.h>
Public Member Functions | |
GrProcessorKeyBuilder (SkTArray< unsigned char, true > *data) | |
void | add32 (uint32_t v) |
uint32_t *SK_WARN_UNUSED_RESULT | add32n (int count) |
Inserts count uint32_ts into the key. More... | |
size_t | size () const |
Private Attributes | |
SkTArray< uint8_t, true > * | fData |
int | fCount |
Used by processors to build their keys.
It incorporates each per-processor key into a larger shader key.
|
inline |
Inserts count uint32_ts into the key.
The returned pointer is only valid until the next add*() call.