Searched refs:gGlobal (Results 1 - 7 of 7) sorted by relevance

/external/skia/experimental/SkV8Example/
H A DPath2D.cpp13 Global* Path2D::gGlobal = NULL; member in class:Path2D
23 v8::HandleScope handleScope(gGlobal->getIsolate());
32 gPath2DTemplate.Reset(gGlobal->getIsolate(), localTemplate);
35 v8::Local<v8::ObjectTemplate>::New(gGlobal->getIsolate(), gPath2DTemplate);
41 result->SetInternalField(0, v8::External::New(gGlobal->getIsolate(), this));
42 gGlobal->getIsolate()->AdjustAmountOfExternalAllocatedMemory(sizeof(SkPath));
46 v8::Persistent<v8::Object> weak(gGlobal->getIsolate(), result);
48 this->handle_.Reset(gGlobal->getIsolate(), weak);
54 gGlobal->getIsolate()->AdjustAmountOfExternalAllocatedMemory(-sizeof(SkPath));
H A DPath2D.h27 gGlobal = global;
45 static Global* gGlobal; member in class:Path2D
H A DGlobal.cpp15 Global* Global::gGlobal = NULL; member in class:Global
76 gGlobal->getWindow()->inval(NULL);
120 int32_t id = gGlobal->getNextTimerID();
122 gGlobal->fTimeouts[id].Reset(gGlobal->fIsolate, timeoutFn);
130 args.GetReturnValue().Set(v8::Integer::New(gGlobal->fIsolate, id));
136 v8::HandleScope handleScope(gGlobal->getIsolate());
139 v8::Local<v8::Context> context = gGlobal->getContext();
148 if (gGlobal->fTimeouts.find(gGlobal
[all...]
H A DGlobal.h34 gGlobal = this;
75 static Global* gGlobal; member in class:Global
H A DPath2DBuilder.cpp15 Global* Path2DBuilder::gGlobal = NULL; member in class:Path2DBuilder
18 v8::HandleScope handleScope(gGlobal->getIsolate());
21 0, v8::External::New(gGlobal->getIsolate(), path));
34 gGlobal = global;
37 v8::HandleScope handleScope(gGlobal->getIsolate());
39 v8::Handle<v8::Context> context = gGlobal->getContext();
45 gGlobal->getIsolate(), Path2DBuilder::ConstructPath);
61 gGlobal->getIsolate(), "Path2DBuilder"), constructor->GetFunction());
H A DPath2DBuilder.h50 static Global* gGlobal; member in class:Path2DBuilder
/external/skia/tests/
H A DDataRefTest.cpp113 static void* gGlobal; variable
117 SkASSERT(context == gGlobal);
182 sk_sp<SkData> r2(SkData::MakeWithProc(new int[N], N*sizeof(int), delete_int_proc, gGlobal));

Completed in 126 milliseconds