D | nweb_surface_adapter.cpp | 40 uint32_t width, in GetCreateInfo() argument 51 GetSize(surface, createInfo, width, height); in GetCreateInfo() 59 uint32_t width, in GetSize() argument 65 createInfo.width = (width == 0) ? (uint32_t)surface->GetDefaultWidth() : width; in GetSize() 72 …createInfo.output_render_frame = [surfaceWeak, this] (const char *buffer, uint32_t width, uint32_t… in GetRenderInterface() argument 79 sptr<SurfaceBuffer> surfaceBuffer = this->RequestBuffer(surface, width, height); in GetRenderInterface() 84 if (!this->CopyFrame(surfaceBuffer, buffer, width, height)) { in GetRenderInterface() 89 return this->FlushBuffer(surface, surfaceBuffer, width, height); in GetRenderInterface() 93 sptr<SurfaceBuffer> NWebSurfaceAdapter::RequestBuffer(sptr<Surface> surface, uint32_t width, uint32… in RequestBuffer() argument 100 .width = width, in RequestBuffer() [all …]
|