Searched refs:gGlobal (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/core/ |
D | SkTaskGroup.cpp | 43 if (!gGlobal) { in Add() 46 gGlobal->add(fn, pending); in Add() 50 if (!gGlobal) { in Batch() 54 gGlobal->batch(N, fn, pending); in Batch() 58 if (!gGlobal) { // If we have no threads, the work must already be done. in Wait() 70 AutoLock lock(&gGlobal->fWorkLock); in Wait() 71 if (gGlobal->fWork.empty()) { in Wait() 76 work = gGlobal->fWork.back(); in Wait() 77 gGlobal->fWork.pop_back(); in Wait() 186 static ThreadPool* gGlobal; member in __anon1aab42e60111::ThreadPool [all …]
|
/external/skia/experimental/SkV8Example/ |
D | Path2D.cpp | 13 Global* Path2D::gGlobal = NULL; member in Path2D 23 v8::HandleScope handleScope(gGlobal->getIsolate()); in Path2D() 32 gPath2DTemplate.Reset(gGlobal->getIsolate(), localTemplate); in Path2D() 35 v8::Local<v8::ObjectTemplate>::New(gGlobal->getIsolate(), gPath2DTemplate); in Path2D() 41 result->SetInternalField(0, v8::External::New(gGlobal->getIsolate(), this)); in Path2D() 42 gGlobal->getIsolate()->AdjustAmountOfExternalAllocatedMemory(sizeof(SkPath)); in Path2D() 46 v8::Persistent<v8::Object> weak(gGlobal->getIsolate(), result); in Path2D() 48 this->handle_.Reset(gGlobal->getIsolate(), weak); in Path2D() 54 gGlobal->getIsolate()->AdjustAmountOfExternalAllocatedMemory(-sizeof(SkPath)); in ~Path2D()
|
D | Global.cpp | 15 Global* Global::gGlobal = NULL; member in Global 76 gGlobal->getWindow()->inval(NULL); in Inval() 120 int32_t id = gGlobal->getNextTimerID(); in SetTimeout() 122 gGlobal->fTimeouts[id].Reset(gGlobal->fIsolate, timeoutFn); in SetTimeout() 130 args.GetReturnValue().Set(v8::Integer::New(gGlobal->fIsolate, id)); in SetTimeout() 136 v8::HandleScope handleScope(gGlobal->getIsolate()); in TimeOutProc() 139 v8::Local<v8::Context> context = gGlobal->getContext(); in TimeOutProc() 148 if (gGlobal->fTimeouts.find(gGlobal->fLastTimerID) == gGlobal->fTimeouts.end()) { in TimeOutProc() 155 v8::Local<v8::Function>::New(gGlobal->getIsolate(), gGlobal->fTimeouts[id]); in TimeOutProc() 157 gGlobal->fTimeouts.erase(id); in TimeOutProc() [all …]
|
D | Path2DBuilder.cpp | 15 Global* Path2DBuilder::gGlobal = NULL; member in Path2DBuilder 18 v8::HandleScope handleScope(gGlobal->getIsolate()); in ConstructPath() 21 0, v8::External::New(gGlobal->getIsolate(), path)); in ConstructPath() 34 gGlobal = global; in AddToGlobal() 37 v8::HandleScope handleScope(gGlobal->getIsolate()); in AddToGlobal() 39 v8::Handle<v8::Context> context = gGlobal->getContext(); in AddToGlobal() 45 gGlobal->getIsolate(), Path2DBuilder::ConstructPath); in AddToGlobal() 61 gGlobal->getIsolate(), "Path2DBuilder"), constructor->GetFunction()); in AddToGlobal()
|
D | Path2D.h | 27 gGlobal = global; in AddToGlobal() 45 static Global* gGlobal; variable
|
D | Global.h | 34 gGlobal = this; in Global() 75 static Global* gGlobal; variable
|
D | Path2DBuilder.h | 50 static Global* gGlobal; variable
|
/external/skia/tests/ |
D | DataRefTest.cpp | 144 static void* gGlobal; variable 148 SkASSERT(context == gGlobal); in delete_int_proc() 214 delete_int_proc, gGlobal)); in DEF_TEST()
|