mesa: Whitespace, style cleanup. No functional change
This commit is contained in:
@@ -15,14 +15,15 @@
|
|||||||
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
|
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "MesaSoftwareRenderer.h"
|
#include "MesaSoftwareRenderer.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <Autolock.h>
|
#include <Autolock.h>
|
||||||
#include <DirectWindowPrivate.h>
|
#include <DirectWindowPrivate.h>
|
||||||
#include <GraphicsDefs.h>
|
#include <GraphicsDefs.h>
|
||||||
#include <Screen.h>
|
#include <Screen.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "extensions.h"
|
#include "extensions.h"
|
||||||
@@ -56,28 +57,28 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern const char* color_space_name(color_space space);
|
extern const char* color_space_name(color_space space);
|
||||||
|
|
||||||
|
|
||||||
// BeOS component ordering for B_RGBA32 bitmap format
|
// BeOS component ordering for B_RGBA32 bitmap format
|
||||||
#if B_HOST_IS_LENDIAN
|
#if B_HOST_IS_LENDIAN
|
||||||
#define BE_RCOMP 2
|
#define BE_RCOMP 2
|
||||||
#define BE_GCOMP 1
|
#define BE_GCOMP 1
|
||||||
#define BE_BCOMP 0
|
#define BE_BCOMP 0
|
||||||
#define BE_ACOMP 3
|
#define BE_ACOMP 3
|
||||||
|
|
||||||
#else
|
#else
|
||||||
// Big Endian B_RGBA32 bitmap format
|
// Big Endian B_RGBA32 bitmap format
|
||||||
#define BE_RCOMP 1
|
#define BE_RCOMP 1
|
||||||
#define BE_GCOMP 2
|
#define BE_GCOMP 2
|
||||||
#define BE_BCOMP 3
|
#define BE_BCOMP 3
|
||||||
#define BE_ACOMP 0
|
#define BE_ACOMP 0
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************/
|
/**********************************************************************/
|
||||||
/***** Read/write spans/arrays of pixels *****/
|
/***** Read/write spans/arrays of pixels *****/
|
||||||
/**********************************************************************/
|
/**********************************************************************/
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
/* 32-bit RGBA */
|
/* 32-bit RGBA */
|
||||||
|
|||||||
Reference in New Issue
Block a user