Searched refs:contextType (Results 1 – 10 of 10) sorted by relevance
57 std::vector<std::weak_ptr<Context>> Select(ContextType contextType) const override;161 std::vector<std::weak_ptr<Context>> ContextPoolImpl::Select(ContextType contextType) const in Select()169 if (context.second->GetContextType() == contextType) { in Select()
180 getContext(contextType: "2d", options?: RenderingContextSettings): OffscreenCanvasRenderingContext2D192 | contextType | string | 是 | OffscreenCanvas组件绘图上下文的类型,当前仅支持"2d"类型。|199 …anvasrenderingcontext2d.md) | OffscreenCanvas组件的绘图上下文。如果getContext方法的入参contextType为"2d"以外类型(包括null…
39 virtual std::vector<std::weak_ptr<Context>> Select(ContextType contextType) const = 0;
66 std::vector<std::weak_ptr<Context>> Select(ContextType contextType) const in Select() argument
369 std::string contextType = ""; in onGetContext() local373 contextType = text.get(); in onGetContext()374 if (contextType == "2d") { in onGetContext()
180 getContext(contextType: "2d", options?: RenderingContextSettings): OffscreenCanvasRenderingContext2D192 | contextType | string | Yes | Type of the drawing context of the offscreen canvas. The value can …199 …renderingcontext2d.md) | Drawing context of the offscreen canvas. If **contextType** in **getConte…
304 … auto contextType = type_ == XComponentType::TEXTURE ? RenderContext::ContextType::HARDWARE_TEXTURE in InitializeRenderContext() local306 RenderContext::ContextParam param = { contextType, GetId() + "Surface" }; in InitializeRenderContext()
870 auto contextType = renderSurface_->IsTexture() ? in OnAttachToFrameNode() local872 static RenderContext::ContextParam param = { contextType, "MediaPlayerSurface", in OnAttachToFrameNode()
58 |新增|NA|模块名: canvas<br>类名: OffscreenCanvas<br>方法 or 属性:getContext(contextType: "2d", option?: Render…59 |新增|NA|类名:OffscreenCanvas<br>方法or属性:getContext(contextType: "2d", option?: RenderingContextSettings…
58 …br>Class name: OffscreenCanvas<br>Method or attribute name: getContext(contextType: "2d", option?:…59 |Added|NA|Class name: OffscreenCanvas<br>Method or attribute name: getContext(contextType: "2d", op…