X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fgraphics%2Fgles-impl%2Fgles-graphics-pipeline.h;h=57c490e53f3b5633780c36c8207abf47a7491086;hb=17bf836806d3ae9365002d8d1d4bc281a3e0bc9d;hp=fca74fa8308f2c760ee48e8a23d4412ca54d86fa;hpb=d9d257d7707ecaaa1915365ed29fe27654280a01;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/graphics/gles-impl/gles-graphics-pipeline.h b/dali/internal/graphics/gles-impl/gles-graphics-pipeline.h index fca74fa..57c490e 100644 --- a/dali/internal/graphics/gles-impl/gles-graphics-pipeline.h +++ b/dali/internal/graphics/gles-impl/gles-graphics-pipeline.h @@ -30,6 +30,7 @@ namespace Dali::Graphics::GLES { class PipelineCache; +class Program; /** * @brief PipelineImpl is the implementation of Pipeline @@ -60,12 +61,9 @@ public: * * Binds Pipeline by binding GL program and flushing state. * - * If previous pipeline specified, it will be used in order to - * avoid redundant state swiches. - * - * @param[in] prevPipeline previous pipeline + * @param[in] glProgram The GL program to be bound */ - void Bind(GLES::PipelineImpl* prevPipeline); + void Bind(const uint32_t glProgram) const; /** * @brief Increases ref count