common taskscheduler: revise functionalities.
[platform/core/graphics/tizenvg.git] / inc / thorvg.h
index 9ed5498..0de9bc0 100644 (file)
@@ -311,7 +311,7 @@ class TVG_EXPORT SwCanvas final : public Canvas
 public:
     ~SwCanvas();
 
-    enum Colorspace { RGBA8888 = 0, ARGB8888 };
+    enum Colorspace { ABGR8888 = 0, ARGB8888 };
 
     Result target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, Colorspace cs) noexcept;
 
@@ -366,10 +366,8 @@ public:
      *
      * @see ...
      */
-    static Result init(CanvasEngine engine) noexcept;
+    static Result init(CanvasEngine engine, uint32_t threads) noexcept;
     static Result term(CanvasEngine engine) noexcept;
-    static Result threads(uint32_t cnt) noexcept;
-    static uint32_t threads() noexcept;
 
     _TVG_DISABLE_CTOR(Initializer);
 };