mesa: include mtypes.h less

- remove mtypes.h from most header files
- add main/menums.h for often used definitions
- remove main/core.h

v2: fix radv build

Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Marek Olšák
2018-04-08 13:13:08 -04:00
parent 57f4268da4
commit 43d66c8c2d
177 changed files with 477 additions and 367 deletions

View File

@@ -24,8 +24,6 @@
#ifndef _GLTHREAD_H
#define _GLTHREAD_H
#include "main/mtypes.h"
/* The size of one batch and the maximum size of one call.
*
* This should be as low as possible, so that:
@@ -50,6 +48,7 @@
#include "util/u_queue.h"
enum marshal_dispatch_cmd_id;
struct gl_context;
/** A single batch of commands queued up for execution. */
struct glthread_batch