Hi all,
Is there any place online where I can download a binary version of CEF with this patch already applied?
Thanks!
if(SDL_LockTexture(m_texture, nullptr, reinterpret_cast<void**>(&pixels),
&pitch) == 0)
{
// copies whole cef bitmap to sdl texture
std::memcpy(pixels, buffer,
resolution[Resolution::WIDTH] * resolution[Resolution::HEIGHT] * 4);
SDL_UnlockTexture(m_texture);
}
The new implementation supports both GPU compositing and software compositing (used when GPU is not supported or when passing --disable-gpu --disable-gpu-compositing command-line flags). GPU-accelerated features that did not work with the previous off-screen rendering implementation do work with this implementation when GPU support is available.
Couldnt we get access to a texture used for rendering by a browser so content could be displayed without extra copying?
Users browsing this forum: No registered users and 107 guests