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
34
class GR_API
GrContext
: public GrRefCnt {
37
* Creates a
GrContext
from within a 3D context.
39
static
GrContext
* Create(GrEngine engine,
42
virtual ~
GrContext
();
45
* The
GrContext
normally assumes that no outsider is setting state
56
*
GrContext
is no longer going to be used for two reasons:
57
* 1) ~
GrContext
will not try to free the objects in the 3D API.
58
* 2) If you've created GrResources that outlive the
GrContext
they will
61
* Content drawn since the last
GrContext
::flush() may be lost.
67
* Use this method when
GrContext
destruction is pending, bu
[
all
...]
/external/skia/src/gpu/
GrContext.cpp
10
#include "
GrContext
.h"
46
GrContext
*
GrContext
::Create(GrEngine engine,
48
GrContext
* ctx = NULL;
51
ctx = new
GrContext
(fGpu);
57
GrContext
::~
GrContext
() {
71
void
GrContext
::contextLost() {
76
void
GrContext
::contextDestroyed() {
102
void
GrContext
::resetContext()
[
all
...]
Completed in 42 milliseconds