summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-11-06gallium: Allow state trackers to install files.Chia-I Wu
State trackers like es or vega need to install their libraries. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-06mesa/main: linear_to_nonlinear is not always available.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-06mesa/es: Improve support for parallel execution of make.Chia-I Wu
Running make with -j for the first time might fail because glapi headers haven't been generated. This commit should make it more reliable. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-06mesa/es: Fix symbol conflicts and warnings.Chia-I Wu
drawtex.c was listed in LOCAL_ES1_SOURCES twice. My mistake when merging the patches. Also, run gl_apitemp.py with -c to silence warnings and add target "install". Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-06glapi: Add OpenGL ES compatibility mode to scripts.Chia-I Wu
When the mode is on, the scripts would generate headers that are suitable for OpenGL ES. There are two differences. One is that they will generate function prototypes for OpenGL ES specific functions. The other is that, when a function has multiple names, SET/GET/CALL macros would be generated for each of names. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05st/es: Add OpenGL ES state trackers.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05mesa/es: Add support for GL_OES_draw_texture.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05mesa/es: Add OpenGL ES overlay.Chia-I Wu
This is primitive support for OpenGL ES. It uses a subset of mesa sources to build libesXgallium.a and libesXapi.a, where X is 1 for OpenGL ES 1.x, 2 for OpenGL ES 2.x. The static libraries serve the same purpose as libmesagallium.a and libglapi.a do for OpenGL. This is based on the work of opengl-es branch. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05mesa/es: Add OpenGL ES XMLs.Chia-I Wu
These XMLs define OpenGL ES 1.x and 2.x APIs. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05mesa/main: Make _mesa_TexGenf and _mesa_GetTexGenfv global again.Chia-I Wu
They are needed by OpenGL ES overlay. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05glapi: Include headers with directory prefixes.Chia-I Wu
This allows different sets of generated sources and headers to be used. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05glapi: Avoid hardcoded category names in remap helper script.Chia-I Wu
The output of the script is unchanged. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05glapi: Add is_abi() to test if a function is in the ABI.Chia-I Wu
The test is done by checking if the offset is manually assigned. The generated headers are unchanged. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05mesa/main: Add more OpenGL ES types to glheader.h.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05mesa/main: Add support for point size array in _mesa_GetPointerv.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05gallium/xlib: Fix missing symbols when GLX_INDIRECT_RENDERING is defined.Chia-I Wu
When GLX_INDIRECT_RENDERING is defined, some symbols are used in libglapi.a but are not defined. Define them through the help of glapitemp.h. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05mesa/xlib: Fix missing symbols when GLX_INDIRECT_RENDERING is defined.Chia-I Wu
When GLX_INDIRECT_RENDERING is defined, some symbols are used in libglapi.a but are not defined. Define them through the help of glapitemp.h. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05glapi: Allow normal entry points to be skipped.Chia-I Wu
Reorganize glapitemp.h such that it is possible to skip normal entry points or protocol entry points by defining _GLAPI_SKIP_NORMAL_ENTRY_POINTS or _GLAPI_SKIP_PROTO_ENTRY_POINTS. Protocol entry points are those with different GLX protocols. They are skipped in libglapi.a when GLX_INDIRECT_RENDERING is defined. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-11-05mesa: fix infinite loop bug in _mesa_drawbuffers()Brian Paul
Fixes bug 24946. This regression came from 8df699b3bb1aa05b633f05b121d09d812c86a22d.
2009-11-05softpipe: Implement PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE for destination.José Fonseca
It is a valid and tested combination on D3D9.
2009-11-05g3dvl: remove a debug lineCooper Yuan
2009-11-05g3dvl: add scissor settingCooper Yuan
2009-11-04r300g: add polygon modeMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-04r300g: fix the size of CS when emitting the fragprog constant bufferMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-04r300g: set the correct offset in a colorbuffer surfaceMarek Olšák
Suggested by Joakim Sindholt. Also, put flushing of colorbuffers _before_ the framebuffer state setup, suggested by docs. Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-04r300g: add color channel maskingMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-04Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/mesa/drivers/windows/gdi/mesa.def
2009-11-04vbo: fix out-of-bounds array accessBrian Paul
The exec->vtx.inputs[] array was being written past its end. This was clobbering the following vbo_exec_context::eval state. Probably not noticed since evaluators and immediate mode rendering don't happen at the same time. Fixed the loop in vbo_exec_vtx_init(). Changed the size of the vbo_exec_context::vtx.arrays[] array. Added a bunch of debug-build assertions. Issue found by Vinson Lee.
2009-11-04mesa: fix broken pack_histogram() case for GLhalfBrian Paul
2009-11-04mesa: silence warning from gcc 4.4.1Brian Paul
2009-11-04ARB prog parser: include variable name in error textBrian Paul
2009-11-04st/xorg: these flushes shouldn't be necessaryZack Rusin
performance optimization
2009-11-04r600: rework draw functionsAlex Deucher
Seems INDX_OFFSET doesn't work properly on some cards, so change back to immediate mode indices. Seems to only affect DRI1. Needs more investigation. Rework and clean up the draw functions. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-04r600: fix count prediction for IB caseAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-04Fix YTILE spantmp functionsAlan Hourihane
2009-11-04Fix YTILE spantmp functionsAlan Hourihane
2009-11-04glslcompiler: Fix Mac OS build.Vinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-04util: Remove homegrown Windows KM profiler.José Fonseca
It's not sampling based so its results are biased towards functions called many times.
2009-11-04tgsi/ureg: Allow for multiple extended instruction tokens.Michal Krol
For example, we would like to have a predicate and texture token in one instruction to do predicated texture sampling.
2009-11-04nv50: fix shader emit_tex for cube texturesChristoph Bumiller
2009-11-04nv50: add abs-modifier for emit_minmaxChristoph Bumiller
2009-11-04nv50: add 3d texture tiling and mip-mappingChristoph Bumiller
Mip-mapped 3D textures are not arrays of 2D layers with a mip-map layout like 2D textures, therefore we cannot use image_nr == depth for them. Making use of "volume tiling" modes now, the allowed modes are 0xZY where Z <= 5 and y <= 5.
2009-11-03mesa: (GLint64) casts in get.c to silence Visual Studio warningsBrian Paul
Revised version of a patch from Karl Schultz.
2009-11-03windows: remove old entrypoints from mesa.def fileKarl Schultz
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-03mesa: added GLAPIENTRY keywords for sync object functionsKarl Schultz
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-03llvmpipe: Sanitise shader semantic and interpolator handling.Michal Krol
Handle the remaining semantic names and indices. Respect color interpolator when not flatshading. Based on Michal's softpipe commit eb699d64ec7057032139baccedcb0694ca41d706.
2009-11-03llvmpipe: remove old prim_setup draw stageKeith Whitwell
Everything now goes through the draw_vbuf handler, the same as regular drivers. Based on Keith's commit 4fe0fc3eba1f79beda890a5016359d549bab6ad4.
2009-11-03llvmpipe: Respect gl_rasterization_rules in primitive setup.José Fonseca
Based on Michal's identical commit for softpipe (ca9c413647bf9efb5ed770e3a655bc758075aec7).
2009-11-03python/retrace: Cope with null constant buffers.José Fonseca
2009-11-03python/retrace: Add missing colon.José Fonseca