HomeSort by relevance Sort by last modified time
    Searched refs:gGlobal (Results 1 - 8 of 8) sorted by null

  /external/skia/experimental/SkV8Example/
Path2D.cpp 13 Global* Path2D::gGlobal = NULL;
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));
Path2D.h 27 gGlobal = global;
45 static Global* gGlobal;
Global.cpp 15 Global* Global::gGlobal = NULL;
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->fLastTimerID) == gGlobal->fTimeouts.end())
    [all...]
Global.h 34 gGlobal = this;
75 static Global* gGlobal;
Path2DBuilder.cpp 15 Global* Path2DBuilder::gGlobal = NULL;
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());
Path2DBuilder.h 50 static Global* gGlobal;
  /external/skia/src/core/
SkTaskGroup.cpp 43 if (!gGlobal) {
46 gGlobal->add(fn, pending);
50 if (!gGlobal) {
54 gGlobal->batch(N, fn, pending);
58 if (!gGlobal) { // If we have no threads, the work must already be done.
70 AutoLock lock(&gGlobal->fWorkLock);
71 if (gGlobal->fWork.empty()) {
76 work = gGlobal->fWork.back();
77 gGlobal->fWork.pop_back();
186 static ThreadPool* gGlobal;
    [all...]
  /external/skia/tests/
DataRefTest.cpp 144 static void* gGlobal;
148 SkASSERT(context == gGlobal);
214 delete_int_proc, gGlobal));

Completed in 641 milliseconds