Lines Matching defs:thread
55 CREATE_BRIDGE4(createContext, RenderThread* thread, bool translucent,
57 return new CanvasContext(*args->thread, args->translucent,
67 args->thread = &mRenderThread;
94 CREATE_BRIDGE2(setFrameInterval, RenderThread* thread, nsecs_t frameIntervalNanos) {
95 args->thread->timeLord().setFrameInterval(args->frameIntervalNanos);
101 args->thread = &mRenderThread;
207 // the render thread.
211 CREATE_BRIDGE2(invokeFunctor, RenderThread* thread, Functor* functor) {
212 CanvasContext::invokeFunctor(*args->thread, args->functor);
218 RenderThread& thread = RenderThread::getInstance();
220 args->thread = &thread;
230 thread.queue(&syncTask);
233 thread.queue(task);
260 CREATE_BRIDGE2(createTextureLayer, RenderThread* thread, CanvasContext* context) {
263 return new DeferredLayerUpdater(*args->thread, layer);
269 args->thread = &mRenderThread;
331 CREATE_BRIDGE2(timMemory, RenderThread* thread, int level) {
332 CanvasContext::trimMemory(*args->thread, args->level);
339 RenderThread& thread = RenderThread::getInstance();
341 args->thread = &thread;
343 thread.queue(task);
391 CREATE_BRIDGE4(setTextureAtlas, RenderThread* thread, GraphicBuffer* buffer, int64_t* map, size_t size) {
392 CanvasContext::setTextureAtlas(*args->thread, args->buffer, args->map, args->size);
399 args->thread = &mRenderThread;