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
45
class SK_API
GrContext
: public SkRefCnt {
47
SK_DECLARE_INST_COUNT(
GrContext
)
60
* Creates a
GrContext
for a backend context.
62
static
GrContext
* Create(GrBackend, GrBackendContext, const Options* opts = NULL);
67
static
GrContext
* CreateMockContext();
69
virtual ~
GrContext
();
72
* The
GrContext
normally assumes that no outsider is setting state
82
* Callback function to allow classes to cleanup on
GrContext
destruction.
85
typedef void (*PFCleanUpFunc)(const
GrContext
* context, void* info);
88
* Add a function to be called from within
GrContext
's destructor
[
all
...]
/external/skia/src/gpu/
GrContext.cpp
9
#include "
GrContext
.h"
58
class
GrContext
::AutoCheckFlush {
60
AutoCheckFlush(
GrContext
* context) : fContext(context) { SkASSERT(context); }
69
GrContext
* fContext;
72
GrContext
*
GrContext
::Create(GrBackend backend, GrBackendContext backendContext,
74
GrContext
* context;
76
context = SkNEW_ARGS(
GrContext
, (Options()));
78
context = SkNEW_ARGS(
GrContext
, (*opts));
98
GrContext
::GrContext(const Options& opts) : fOptions(opts), fUniqueID(next_id())
[
all
...]
Completed in 49 milliseconds