1cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck/* 2cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * Copyright (C) 2013 The Android Open Source Project 3cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * 4cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * Licensed under the Apache License, Version 2.0 (the "License"); 5cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * you may not use this file except in compliance with the License. 6cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * You may obtain a copy of the License at 7cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * 8cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * http://www.apache.org/licenses/LICENSE-2.0 9cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * 10cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * Unless required by applicable law or agreed to in writing, software 11cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * distributed under the License is distributed on an "AS IS" BASIS, 12cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * See the License for the specific language governing permissions and 14cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck * limitations under the License. 15cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck */ 16cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck 17cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck#define LOG_TAG "RenderTask" 18cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck 19cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck#include "RenderTask.h" 20cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck 21cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck#include <utils/Log.h> 224f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck#include <utils/Condition.h> 234f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck#include <utils/Mutex.h> 24cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck 25cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Recknamespace android { 26cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Recknamespace uirenderer { 27cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Recknamespace renderthread { 28cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck 294f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reckvoid SignalingRenderTask::run() { 304f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck mTask->run(); 314f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck mLock->lock(); 324f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck mSignal->signal(); 334f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck mLock->unlock(); 34cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck} 35cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck 36cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck} /* namespace renderthread */ 37cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck} /* namespace uirenderer */ 38cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck} /* namespace android */ 39