Skia
2DGraphicsLibrary
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GrProcessorKeyBuilder Class Reference

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
 

Detailed Description

Used by processors to build their keys.

It incorporates each per-processor key into a larger shader key.

Member Function Documentation

uint32_t* SK_WARN_UNUSED_RESULT GrProcessorKeyBuilder::add32n ( int  count)
inline

Inserts count uint32_ts into the key.

The returned pointer is only valid until the next add*() call.


The documentation for this class was generated from the following file: