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#include "RenderTask.h" 18cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck 194f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck#include <utils/Condition.h> 204f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck#include <utils/Mutex.h> 21cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck 22cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Recknamespace android { 23cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Recknamespace uirenderer { 24cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Recknamespace renderthread { 25cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck 264f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reckvoid SignalingRenderTask::run() { 274f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck mTask->run(); 284f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck mLock->lock(); 294f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck mSignal->signal(); 304f02bf4eef6af47f35c70c4dda5b7b9523d89ca0John Reck mLock->unlock(); 31cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck} 32cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck 33cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck} /* namespace renderthread */ 34cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck} /* namespace uirenderer */ 35cec24ae16e9a0a7c3075f1a8d9149bb7fb3813fcJohn Reck} /* namespace android */ 36