mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Moved headers
This commit is contained in:
		
							parent
							
								
									d307c2f2c2
								
							
						
					
					
						commit
						5f7042a1f2
					
				
					 7 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -12,8 +12,8 @@
 | 
			
		|||
#include <wlr/interfaces/wlr_output.h>
 | 
			
		||||
#include <wlr/util/list.h>
 | 
			
		||||
#include <wlr/util/log.h>
 | 
			
		||||
#include <backend/udev.h>
 | 
			
		||||
#include "drm.h"
 | 
			
		||||
#include "backend/udev.h"
 | 
			
		||||
#include "backend/drm.h"
 | 
			
		||||
 | 
			
		||||
static bool wlr_drm_backend_init(struct wlr_backend_state *drm) {
 | 
			
		||||
	wlr_drm_scan_connectors(drm);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,7 +5,7 @@
 | 
			
		|||
#include <xf86drm.h>
 | 
			
		||||
#include <xf86drmMode.h>
 | 
			
		||||
#include <wlr/util/log.h>
 | 
			
		||||
#include "drm-properties.h"
 | 
			
		||||
#include "backend/drm-properties.h"
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Creates a mapping between property names and an array index where to store
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
#include <string.h>
 | 
			
		||||
#include <drm.h>
 | 
			
		||||
#include <drm_mode.h>
 | 
			
		||||
#include "drm-util.h"
 | 
			
		||||
#include "backend/drm-util.h"
 | 
			
		||||
 | 
			
		||||
int32_t calculate_refresh_rate(drmModeModeInfo *mode) {
 | 
			
		||||
	int32_t refresh = (mode->clock * 1000000LL / mode->htotal +
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,8 +18,8 @@
 | 
			
		|||
#include <wlr/render/matrix.h>
 | 
			
		||||
#include <wlr/render/gles2.h>
 | 
			
		||||
#include <wlr/render.h>
 | 
			
		||||
#include "drm.h"
 | 
			
		||||
#include "drm-util.h"
 | 
			
		||||
#include "backend/drm.h"
 | 
			
		||||
#include "backend/drm-util.h"
 | 
			
		||||
 | 
			
		||||
bool wlr_drm_check_features(struct wlr_backend_state *drm) {
 | 
			
		||||
	if (drmSetClientCap(drm->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1)) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue