mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-16 22:05:45 -05:00
render: drop legacy render pass
All built-in renderers now implement the new API.
This commit is contained in:
parent
5dd614b9ad
commit
40633ae7fd
3 changed files with 0 additions and 162 deletions
|
|
@ -27,7 +27,6 @@
|
|||
#endif // WLR_HAS_VULKAN_RENDERER
|
||||
|
||||
#include "backend/backend.h"
|
||||
#include "render/pass.h"
|
||||
#include "render/pixel_format.h"
|
||||
#include "render/wlr_renderer.h"
|
||||
#include "util/env.h"
|
||||
|
|
@ -450,10 +449,6 @@ int wlr_renderer_get_drm_fd(struct wlr_renderer *r) {
|
|||
|
||||
struct wlr_render_pass *wlr_renderer_begin_buffer_pass(struct wlr_renderer *renderer,
|
||||
struct wlr_buffer *buffer, const struct wlr_buffer_pass_options *options) {
|
||||
if (!renderer->impl->begin_buffer_pass) {
|
||||
return begin_legacy_buffer_render_pass(renderer, buffer);
|
||||
}
|
||||
|
||||
struct wlr_buffer_pass_options default_options = {0};
|
||||
if (!options) {
|
||||
options = &default_options;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue