Blame src/internal/ntapi_blitter.h

dd89bb
/********************************************************/
dd89bb
/*  ntapi: Native API core library                      */
dd89bb
/*  Copyright (C) 2013,2014,2015  Z. Gilboa             */
dd89bb
/*  Released under GPLv2 and GPLv3; see COPYING.NTAPI.  */
dd89bb
/********************************************************/
dd89bb
dd89bb
#ifndef ___NTAPI_BLITTER_H_
dd89bb
#define ___NTAPI_BLITTER_H_
dd89bb
dd89bb
#include <ntapi/nt_status.h>
dd89bb
#include <ntapi/nt_blitter.h>
dd89bb
#include <ntapi/nt_sync.h>
dd89bb
dd89bb
#define __NT_BLITTER_DEFAULT_LOCK_TRIES		256
dd89bb
#define __NT_BLITTER_DEFAULT_ROUND_TRIPS	64
dd89bb
dd89bb
typedef struct nt_blitter_context {
dd89bb
	struct nt_blitter_context *	addr;
dd89bb
	size_t				size;
dd89bb
	uintptr_t			ptrs;
dd89bb
	nt_blitter_info			info;
dd89bb
	nt_blitter_params		params;
dd89bb
	uintptr_t *			bitmap;
dd89bb
	uintptr_t			bits[];
dd89bb
} nt_blitter;
dd89bb
dd89bb
#endif