OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:GrContext
(Results
1 - 2
of
2
) sorted by null
/external/skia/include/gpu/
GrContext.h
44
class GR_API
GrContext
: public GrRefCnt {
46
SK_DECLARE_INST_COUNT(
GrContext
)
49
* Creates a
GrContext
for a backend context.
51
static
GrContext
* Create(GrBackend, GrBackendContext);
54
* Returns the number of
GrContext
instances for the current thread.
58
virtual ~
GrContext
();
61
* The
GrContext
normally assumes that no outsider is setting state
69
* Callback function to allow classes to cleanup on
GrContext
destruction.
72
typedef void (*PFCleanUpFunc)(const
GrContext
* context, void* info);
75
* Add a function to be called from within
GrContext
's destructor
[
all
...]
/external/skia/src/gpu/
GrContext.cpp
10
#include "
GrContext
.h"
31
SK_DEFINE_INST_COUNT(
GrContext
)
63
GrContext
*
GrContext
::Create(GrBackend backend, GrBackendContext context) {
64
GrContext
* ctx = NULL;
67
ctx = SkNEW_ARGS(
GrContext
, (fGpu));
86
int
GrContext
::GetThreadInstanceCount() {
90
GrContext
::~
GrContext
() {
118
void
GrContext
::contextLost()
[
all
...]
Completed in 183 milliseconds