mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
5f2bebf7a5
With this commit, we now use a forked version of MESA which only supports OpenGL 1.1, like the windows implementation does. It exposes : - The same pixel formats - The same set of extensions - Nothing more All of this without taking 10% of your build time. If you need a more modern option, look at the MESA package from Rapps, which is (and must be) maintained outside of this code tree. CORE-7499
71 lines
970 B
CMake
71 lines
970 B
CMake
|
|
include_directories(.)
|
|
|
|
add_definitions(-DFAST_MATH -DTHREADS)
|
|
|
|
if(ARCH STREQUAL "i386")
|
|
list(APPEND ASM_SOURCE asm-386.S)
|
|
add_definitions(-DUSE_ASM)
|
|
endif()
|
|
|
|
add_asm_files(mesa_asm ${ASM_SOURCE})
|
|
|
|
list(APPEND SOURCE
|
|
accum.c
|
|
alpha.c
|
|
alphabuf.c
|
|
api.c
|
|
attrib.c
|
|
bitmap.c
|
|
blend.c
|
|
clip.c
|
|
colortab.c
|
|
context.c
|
|
copypix.c
|
|
depth.c
|
|
dlist.c
|
|
drawpix.c
|
|
enable.c
|
|
eval.c
|
|
feedback.c
|
|
fog.c
|
|
get.c
|
|
hash.c
|
|
image.c
|
|
light.c
|
|
lines.c
|
|
logic.c
|
|
masking.c
|
|
matrix.c
|
|
misc.c
|
|
mmath.c
|
|
pb.c
|
|
pixel.c
|
|
pointers.c
|
|
points.c
|
|
polygon.c
|
|
quads.c
|
|
rastpos.c
|
|
readpix.c
|
|
rect.c
|
|
scissor.c
|
|
shade.c
|
|
span.c
|
|
stencil.c
|
|
teximage.c
|
|
texobj.c
|
|
texstate.c
|
|
texture.c
|
|
triangle.c
|
|
varray.c
|
|
vb.c
|
|
vbfill.c
|
|
vbrender.c
|
|
vbxform.c
|
|
xform.c
|
|
)
|
|
|
|
add_library(mesa STATIC ${SOURCE} ${mesa_asm})
|
|
add_dependencies(mesa psdk)
|
|
|
|
|