blob: 9a285d91497b59a88bb209d54884ce073fccb975 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/********************************************************/
/* ntapi: Native API core library */
/* Copyright (C) 2013,2014,2015 Z. Gilboa */
/* Released under GPLv2 and GPLv3; see COPYING.NTAPI. */
/********************************************************/
#ifndef ___NTAPI_BLITTER_H_
#define ___NTAPI_BLITTER_H_
#include <ntapi/nt_status.h>
#include <ntapi/nt_blitter.h>
#include <ntapi/nt_sync.h>
#define __NT_BLITTER_DEFAULT_LOCK_TRIES 256
#define __NT_BLITTER_DEFAULT_ROUND_TRIPS 64
typedef struct nt_blitter_context {
struct nt_blitter_context * addr;
size_t size;
uintptr_t ptrs;
nt_blitter_info info;
nt_blitter_params params;
uintptr_t * bitmap;
uintptr_t bits[];
} nt_blitter;
#endif
|