José Fonseca
601498ae73
scons: Revamp how to specify targets to build.
Use scons target and dependency system instead of ad-hoc options.
Now is simply a matter of naming what to build. For example:
scons libgl-xlib
scons libgl-gdi
scons graw-progs
scons llvmpipe
and so on. And there is also the possibility of scepcified subdirs, e.g.
scons src/gallium/drivers
If nothing is specified then everything will be build.
There might be some rough corners over the next days. Please bare with me.
пре 16 година
Francisco Jerez
a84bd587c6
dri/nouveau: Re-emit the BO state when coming back from a software fallback.
пре 16 година
Francisco Jerez
4a282629c2
dri/nouveau: Validate the framebuffer state on read buffer changes.
пре 16 година
Francisco Jerez
453b718552
dri/nouveau: Fix type promotion issue on 32bit platforms.
Fixes some VTX protection errors introduced by e89af20926 .
пре 16 година
Benjamin Franzke
6102683b19
st/egl image: multiply drm buf-stride with blocksize
[olv: formatted for 80-column wrapping]
пре 16 година
Chia-I Wu
52ef148923
targets/egl: Fix a warning with --disable-opengl build.
API_DEFINES is the defines for libmesagallium.a. Append it to
egl_CPPFLAGS only when st_GL.so, which uses libmesagallium.a, is built.
пре 16 година
Chia-I Wu
1230050363
autoconf: Tidy configure output for EGL.
Prefix EGL driver names by "egl_". Make it clear that EGL_CLIENT_APIS
is only used by egl_gallium.
пре 16 година
Tom Stellard
a15cf3cd0b
r300/compiler: Don't clobber presubtract sources during optimizations
https://bugs.freedesktop.org/show_bug.cgi?id=28294
пре 16 година
Francisco Jerez
088145f950
dri/nouveau: Pipeline glTexSubImage texture transfers.
пре 16 година
Francisco Jerez
f67fa52293
dri/nouveau: Keep small DYNAMIC_DRAW vertex buffers in system ram.
пре 16 година
Francisco Jerez
e89af20926
dri/nouveau: Optimize VBO binding re-emission.
пре 16 година
Francisco Jerez
57382e71ef
dri/nouveau: Split out array handling to its own file.
пре 16 година
Francisco Jerez
9d1f1fcf13
dri/nouveau: Use a macro to iterate over the bound vertex attributes.
пре 16 година
Francisco Jerez
dbe1eae785
dri/nouveau: Avoid recursion in nouveau_bo_context_reset().
пре 16 година
Francisco Jerez
f2098e0fef
dri/nouveau: Split out the scratch helpers to a separate file.
пре 16 година
Francisco Jerez
6daaf45359
dri/nouveau: Tell the vbo module we want real hardware BOs.
пре 16 година
Francisco Jerez
6ee9cd482a
dri/nouveau: Honor the access flags in nouveau_bufferobj_map_range.
пре 16 година
Francisco Jerez
f102c5220c
dri/nouveau: Call _mesa_update_state() after framebuffer invalidation.
Previously nouveau_state_emit() was being called directly, sometimes
that doesn't work because it doesn't update the derived GL context.
пре 16 година
Francisco Jerez
e3c0b7ba41
dri/nv25: Bind a hierarchical depth buffer.
пре 16 година
Francisco Jerez
c5ca972c07
dri/nouveau: Don't assert(0) on compressed internal formats.
пре 16 година
Francisco Jerez
920481d387
dri/nv20: Clear with the 3D engine.
пре 16 година
Chia-I Wu
cfc81d93f7
st/mesa: Unreference the sampler view in st_bind_surface.
Without this, update_textures may not pick up the new pipe_resource.
It is actually update_textures that should check
stObj->sampler_view->texture != stObj->pt, but let's follow st_TexImage
and others for now.
пре 16 година
Brian Paul
9c2b4814d0
osmesa: fix renderbuffer memleak in OSMesaMakeCurrent()
Fixes fd.o bug 31128.
пре 16 година
Chia-I Wu
156e955c25
autoconf: st/vega requires --enable-openvg.
Make it a warning for now to smooth the transition.
пре 16 година
Kenneth Graunke
cff1aeea10
glsl: Remove unused ARRAY_SIZE macro.
It's also equivalent to Elements(...) which is already used elsewhere.
пре 16 година
Eric Anholt
a974949f3b
mesa: Make metaops use program refcounts instead of names.
Fixes failure on restoring state when the program was active but
deleted, and the name no longer exists.
Bug #31194
пре 16 година
Brian Paul
34e8801b9c
mesa: remove dead code
пре 16 година
José Fonseca
d070edd4f0
mesa: Fix windows build (uint -> GLuint).
пре 16 година
Chia-I Wu
bdd8838631
targets: Add missing quotes to Makefile.xorg.
Fix
$ make CC="ccache gcc"
пре 16 година
Chia-I Wu
9de5c6a1cb
Merge branch 'glapi-reorg'
Conflicts:
src/mapi/glapi/glapi_sparc.S
src/mapi/glapi/glapi_x86.S
src/mapi/glapi/glapidispatch.h
src/mapi/glapi/glapioffsets.h
src/mapi/glapi/glprocs.h
пре 16 година
Chia-I Wu
815faa448c
autoconf: Update configuration info.
Output API info first. Move GLU/GLw/GLUT and EGL near driver info.
пре 16 година
Chia-I Wu
c6320c5eb2
docs: Update egl and openvg docs.
пре 16 година
Chia-I Wu
be5f34a053
autoconf: Better client API selection.
Make autoconf decide the client APIs enabled first. Then when OpenGL
and OpenGL ES are disabled, there is no need to build src/mesa/; when
OpenGL is disabled, no $mesa_driver should be built. Finally, add
--enable-openvg to enable OpenVG.
With these changes, an OpenVG only build can be configured with
$ ./configure --disable-opengl --enable-openvg
src/mesa, src/glsl, and src/glx will be skipped, which saves a great
deal of compilation time.
And an OpenGL ES only build can be configured with
$ ./configure --disable-opengl --enable-gles-overlay
пре 16 година
Brian Paul
bdba4608df
mesa: pixel transfer ops do not apply to integer-valued textures
пре 16 година
Brian Paul
0a3566cec0
mesa: additional integer formats in _mesa_bytes_per_pixel()
пре 16 година
Brian Paul
7faf521fad
mesa: add const qualifier to _mesa_is_legal_format_and_type()
пре 16 година
Brian Paul
113c1832b1
mesa: fix integer cases in _mesa_is_legal_format_and_type()
Some integer formats work with some packed datatypes.
пре 16 година
Brian Paul
9fc7fa0a4c
mesa: fix incorrect type in _mesa_texstore_rgba_int16()
пре 16 година
Brian Paul
b44f9c7e0a
mesa: remove obsolete comment
пре 16 година
Brian Paul
22c7a69d7b
mesa: add extension table entry for GL_EXT_gpu_shader4
пре 16 година
Brian Paul
55dc971ded
mesa: clean-up array element code
Remove unnecessary GLAPIENTRY keywords, update comments, re-indent.
пре 16 година
Brian Paul
d916d81582
mesa: glArrayElement support for integer-valued arrays
пре 16 година
Brian Paul
3b82ceec67
mesa: state/queries for GL_MIN/MAX_PROGRAM_TEXEL_OFFSET_EXT
пре 16 година
Brian Paul
433e5e6def
mesa: consolidate glVertex/Color/etcPointer() code
This removes a bunch of similar error checking code in all the vertex
pointer functions and puts nearly all the error checking in update_array().
пре 16 година
Brian Paul
d1184d26bb
mesa: add gl_client_array::Integer field and related vertex array state code
пре 16 година
Brian Paul
ca2618f4b6
mesa: implement integer-valued vertex attribute functions
The integers still get converted to floats. That'll have to change someday.
пре 16 година
Brian Paul
e2b8c65723
mesa: add new GLvertexformat entries for integer-valued attributes
пре 16 година
Brian Paul
ba9995953c
mesa: plug in more GL_EXT_gpu_shader4 functions
пре 16 година
Brian Paul
9c61ca90ea
mesa: add glGetUniformuiv(), plug in uint glUniform funcs
пре 16 година
Brian Paul
53eca8d216
mesa: plug in stubs for glBindFragDataLocation(), glGetFragDataLocation()
пре 16 година