summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-01-12docs: Add documentation for OpenGL ES.opengl-es-v2Chia-I Wu1-0/+78
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12progs/es2: Correctly set renderable type and client version.Chia-I Wu3-7/+23
Correctly set EGL_RENDERABLE_TYPE and EGL_CONTEXT_CLIENT_VERSION for OpenGL ES 2.0. Because es2_info is copied from es1_info, the fix for it actually goes to es1_info. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12progs/es1: Bind texture image after rendering.Chia-I Wu1-3/+5
Unlike FBO, eglBindTexImage is supposed to be called after rendering. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12configure.ac: Fix es state tracker build.Chia-I Wu1-3/+9
mesa/es should be built before the es state trackers. This is done by separating those that need to be built early from SRC_DIRS to CORE_DIRS. The new variable is not exported, and will be prepended to SRC_DIRS. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/es: Clean up install target.Chia-I Wu1-7/+7
Use DESTDIR and MINSTALL. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/es: Fix build issue after merge.Chia-I Wu3-20/+20
In c847a13d38d4e8c5f4c386d060dcc8ec09e491a3, auxiliaries becomes a single library; In e388d62b4712bcd75cecad53f5ca20a2bb6f89b1, the default build is changed to have -fvisibility=hidden. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12mesa/es: Update sources.mk.Chia-I Wu1-4/+3
Add/remove files that are unused/used to the omit list. Finally, they should all be features that can be omitted. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12mesa/es: Fix build issue after merge.Chia-I Wu3-13/+15
In cd6b8dd9e82fedc55d033131fbc0f8ee950567c8, color read/type fields are moved; Based on 068596c9a7e8d330ffdff8ad8700bd6093b5bdea and cc020425e929110613ddb405d3e82313d27a35ed, GLSL builtin library is autogenerated and GLSL libraries are built and used. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12Merge branch 'master' into opengl-es-v2Chia-I Wu1874-46514/+131815
Conflicts: src/mesa/main/dd.h
2010-01-12winsys/drm: Use egl_g3d to build EGL drivers.Chia-I Wu12-1/+145
The new EGL drivers use egl_g3d and respect EGL_DISPLAYS. They are named after the display supported and the DRM name. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/egl_g3d: Add support for KMS native display.Chia-I Wu3-1/+1005
The KMS native display implements the modeset interface using DRM modesetting. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/egl_g3d: Add support for EGL_MESA_screen_surface.Chia-I Wu2-1/+202
This is implemented through the modeset interface. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/egl_g3d: Update the native display interface for modesetting.Chia-I Wu1-13/+56
The new interface can be used to implement EGL_MESA_screen_surface. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/egl_g3d: New EGL state tracker that uses Gallium.Chia-I Wu20-0/+4376
This new (intermediate) EGL state tracker is the base work for EGL drivers that uses Gallium. It makes it easier to support new window systems. Currently, there is support only for X11. This driver supports multiple APIs (OpenVG, OpenGL, ...) and supports hardware acceleration through winsys/drm. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12winsys/drm: Add name field to drm_api.Chia-I Wu6-0/+7
The name can be used for driver selection. It has the same name as the DRI driver does right now. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12egl: EGL_SCREEN_BIT_MESA is a valid bit.Chia-I Wu1-0/+1
Update _eglValidateConfig so that it passes the test. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12progs/egl: Fix screen surface demos.Chia-I Wu5-10/+22
Set the screen surface size to the mode size, as the spec requires the screen surface size to be larger than the mode size. Besides, bind the API to OpenGL as they are written in it. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12progs/egl: glGenTextures is called too early in xeglbindtex.Chia-I Wu1-2/+2
It should be called after eglMakeCurrent. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12progs: Check the number of configs returned by eglChooseConfig.Chia-I Wu6-10/+14
A successful eglChooseConfig call does not imply there are valid configs. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12progs: Add missing EGL_RENDERABLE_TYPE for EGL demos.Chia-I Wu6-0/+7
The default value of EGL_RENDERABLE_TYPE is EGL_OPENGL_ES_BIT. The proper values should be specified if we are not using OpenGL ES. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/mesa: Remove st_api.c.Chia-I Wu3-34/+2
st_api.c is supposed to define st_api_OpenGL to advertise OpenGL support. However, the linker discards the symbol because it has no user. It is better to leave this to other state trackers that link to libmesagallium.a. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/vega: Make it compatible with st_public.h.Chia-I Wu2-6/+12
It missed a stub for st_get_proc_address, and st_make_current should return a boolean. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-12st/vega: Advertise OpenVG support.Chia-I Wu1-0/+3
Define st_api_OpenVG to advertise OpenVG support. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-11GLX: check glproto versionJesse Barnes1-0/+2
This was a silent dependency before, but now we really need 1.4.11 for INTEL_swap_event support, so check for it. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-01-11Merge branch 'master' of ssh://people.freedesktop.org/~jbarnes/mesaJesse Barnes28-239/+1062
Conflicts due to DRI1 removal: src/mesa/drivers/dri/intel/intel_context.c src/mesa/drivers/dri/intel/intel_screen.c
2010-01-11st/xlib: Mark GLX functions as public.Chia-I Wu3-77/+80
Mark all functions start with glX as public. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-11st: Mark functions in st_public.h and vg_tracker.h as public.Chia-I Wu2-0/+42
These functions are the API of Gallium state tracker, and are used by EGL. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-11gallium: Add PUBLIC macro for function visibility.Chia-I Wu1-0/+11
As the default build has -fvisibility=hidden, add a macro to control the visibility. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-11st/vega: Fix breakage from -fvisibility=hidden.Chia-I Wu1-0/+5
Mark VG and VGU functions as public. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-11python: Integrate with llvmpipe if possible.José Fonseca2-7/+168
Temporary. We should soon have the ability to integrate with any driver via glx extensions.
2010-01-11python: Mask out PIPE_TEXTURE_USAGE_DISPLAY_TARGET usage.José Fonseca1-0/+10
As displaying surfaces directly isn't supported by the python state tracker.
2010-01-11python: Prefer PIPE_FORMAT_Z32_UNORM.José Fonseca2-2/+2
2010-01-11python: Set PIPE_TEXTURE_USAGE_RENDER_TARGET instead of DISPLAY_TARGET.José Fonseca4-4/+4
As the python state tracker is not integrated with window system an cannot present surfaces directly.
2010-01-11util: Set flatshade for blitter.Corbin Simpson1-0/+1
It was bugging me. +1 FPS on softpipe.
2010-01-11radeong: Check for DONTBLOCK before flushing, remove dead code.Corbin Simpson1-59/+5
2010-01-11util/blitter: remove unused variableKeith Whitwell1-1/+0
2010-01-11Fix compressed texture loads for non-minimal pitchesLuca Barbieri1-1/+16
The current glCompressedTexImage support in the state tracker assumes that compressed textures have minimal pitch. However, in some cases this is not true, such as for mipmaps of non-POT compressed textures on nVidia hardware. This patch adds a check and does a memcpy for each line instead of the whole image in that case. Signed-off-by: Keith Whitwell <keithw@vmware.com> Tweaks for C90 compilation.
2010-01-10r300g: Don't bother testing for empty scissors.Corbin Simpson3-28/+0
If somebody goes through that much effort, they probably intended it. So humor them. :3
2010-01-10util: Apply Brian's suggested blit improvements.Corbin Simpson1-15/+12
copypix works just fine.
2010-01-10gallium: u_blitter add overlapping blit support.Dave Airlie1-34/+124
the xorg state tracker really wants the driver to handle overlapping blits, and r300 uses u_blitter for blits. This patch adds overlapping blit support via a temporary surface when its required.
2010-01-10r300g: Atomize scissors.Corbin Simpson6-26/+22
Argfl. Some of this code is so questionable.
2010-01-10r300g: Move TCL bypass switch to main context.Corbin Simpson4-36/+31
2010-01-10r300g: Atomize viewport.Corbin Simpson5-30/+26
Goddammit, some of these hax are really annoying.
2010-01-10r300g: Move ROPCNTL to the top of the emit order.Corbin Simpson1-1/+1
According to the docs, this decreases stalls, and indeed we get a tiny bit more glxgears from it.
2010-01-10r300g: Don't avoid rewriting ZTOP.Corbin Simpson1-9/+9
Simplify the code. Added a comment to keep me from doing it again.
2010-01-10r300g: Atomize rasterizer.Corbin Simpson8-32/+34
I want to stab things now.
2010-01-11nouveau: Make winsys recognise the original NV50.Marcin Kościelnicki1-0/+2
2010-01-11radeon: fix prediction for r100 inline vert/elt emits.Dave Airlie1-0/+1
On r100 we emit the indices inline so we need to account for that in the emission size.
2010-01-11radeon: fix bug in realloc code.Dave Airlie1-1/+1
This bug was fixed in libdrm ages ago, port to non-kms
2010-01-11st/dri: update dri2 drawables when viewport is changedBen Skeggs5-2/+19
Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>