X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fupdate%2Fmanager%2Frender-task-processor.h;h=4f392208e9af2d23a5bdd80a357e74126a63cd26;hb=79881246746f65474b24ea4fe14151ccef8df3f4;hp=7715ab7ecad462b6c071d71aa46cc8d9da46be8e;hpb=d8e8f7de1ff30edb599d422b7a0bc2ae259f4ee5;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/update/manager/render-task-processor.h b/dali/internal/update/manager/render-task-processor.h index 7715ab7..4f39220 100644 --- a/dali/internal/update/manager/render-task-processor.h +++ b/dali/internal/update/manager/render-task-processor.h @@ -2,7 +2,7 @@ #define DALI_INTERNAL_SCENE_GRAPH_RENDER_TASK_PROCESSOR_H /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -54,19 +54,24 @@ public: * Process the list of render-tasks; the output is a series of render instructions. * @note When ProcessRenderTasks is called, the layers should already the transparent/opaque renderers which are ready to render. * If there is only one default render-task, then no further processing is required. - * @param[in] updateBufferIndex The current update buffer index. - * @param[in] renderTasks The list of render-tasks. - * @param[in] rootNode The root node of the scene-graph. - * @param[in] sortedLayers The layers containing lists of opaque / transparent renderables. - * @param[in] geometryBatcher The instance of the geometry batcher - * @param[out] instructions The instructions for rendering the next frame. + * @param[in] updateBufferIndex The current update buffer index. + * @param[in] renderTasks The list of render-tasks. + * @param[in] rootNode The root node of the scene-graph. + * @param[in] sortedLayers The layers containing lists of opaque / transparent renderables. + * @param[in] context The context holding the GL state of rendering for the rendering instructions. + * @param[out] instructions The instructions for rendering the next frame. + * @param[in] renderToFboEnabled Whether rendering into the Frame Buffer Object is enabled (used to measure FPS above 60) + * @param[in] isRenderingToFbo Whether this frame is being rendered into the Frame Buffer Object (used to measure FPS above 60) + * @return true if rendering should be kept, false otherwise. */ - void Process( BufferIndex updateBufferIndex, + bool Process( BufferIndex updateBufferIndex, RenderTaskList& renderTasks, Layer& rootNode, SortedLayerPointers& sortedLayers, - GeometryBatcher& geometryBatcher, - RenderInstructionContainer& instructions ); + Context& context, + RenderInstructionContainer& instructions, + bool renderToFboEnabled, + bool isRenderingToFbo ); private: