summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* winsys/drm: Add name field to drm_api.Chia-I Wu2010-01-126-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 <[email protected]>
* egl: EGL_SCREEN_BIT_MESA is a valid bit.Chia-I Wu2010-01-121-0/+1
| | | | | | Update _eglValidateConfig so that it passes the test. Signed-off-by: Chia-I Wu <[email protected]>
* progs/egl: Fix screen surface demos.Chia-I Wu2010-01-125-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 <[email protected]>
* progs/egl: glGenTextures is called too early in xeglbindtex.Chia-I Wu2010-01-121-2/+2
| | | | | | It should be called after eglMakeCurrent. Signed-off-by: Chia-I Wu <[email protected]>
* progs: Check the number of configs returned by eglChooseConfig.Chia-I Wu2010-01-126-10/+14
| | | | | | | A successful eglChooseConfig call does not imply there are valid configs. Signed-off-by: Chia-I Wu <[email protected]>
* progs: Add missing EGL_RENDERABLE_TYPE for EGL demos.Chia-I Wu2010-01-126-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 <[email protected]>
* st/mesa: Remove st_api.c.Chia-I Wu2010-01-123-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 <[email protected]>
* st/vega: Make it compatible with st_public.h.Chia-I Wu2010-01-122-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 <[email protected]>
* st/vega: Advertise OpenVG support.Chia-I Wu2010-01-121-0/+3
| | | | | | Define st_api_OpenVG to advertise OpenVG support. Signed-off-by: Chia-I Wu <[email protected]>
* GLX: check glproto versionJesse Barnes2010-01-111-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 <[email protected]>
* Merge branch 'master' of ssh://people.freedesktop.org/~jbarnes/mesaJesse Barnes2010-01-1128-239/+1062
|\ | | | | | | | | | | Conflicts due to DRI1 removal: src/mesa/drivers/dri/intel/intel_context.c src/mesa/drivers/dri/intel/intel_screen.c
| * intel/DRI2: add DRI2flushExtension support with invalidate hookKristian Høgsberg2010-01-085-17/+44
| | | | | | | | | | | | Needed to support the SwapBuffers code properly. Signed-off-by: Kristian Høgsberg <[email protected]>
| * xdemos/glsync: handle no sync method betterJesse Barnes2010-01-081-8/+4
| | | | | | | | Print out count, finish rendering, etc. Makes the -sn option more useful.
| * xdemos/glsync: check glXMakeCurrent return valueJesse Barnes2010-01-081-1/+5
| | | | | | | | Since this program is used for testing, catching this case can be helpful.
| * xdemos/glsync: Make glsync test draw a rectangleJesse Barnes2010-01-081-34/+49
| | | | | | | | | | Doing simple buffer clears isn't enough to actually allocate render buffers, we need to do real drawing.
| * xdemos/glsync: Add swap interval support to glsync testJesse Barnes2010-01-081-3/+17
| |
| * DRI2/GLX: add INTEL_swap_event supportJesse Barnes2010-01-088-5/+193
| | | | | | | | | | | | | | Add event support for the GLX swap buffers event, along with DRI2 protocol support for generating GLX swap buffers events in the direct rendered case. Signed-off-by: Jesse Barnes <[email protected]>
| * DRI2: add SwapInterval supportJesse Barnes2010-01-086-9/+80
| | | | | | | | | | | | | | | | Add support for the DRI2SwapInterval protocol request. This allows direct rendered clients to control their swap interval per the SGI_swap_control extension. Signed-off-by: Jesse Barnes <[email protected]>
| * DRI2: add OML_sync_control supportJesse Barnes2010-01-0812-185/+627
| | | | | | | | | | | | | | | | Add OML_sync_control support, along with a simple program for testing it. This means adding support for the DRI2GetMSC, DRI2WaitMSC and DRI2WaitSBC requests. Signed-off-by: Jesse Barnes <[email protected]>
| * DRI2: add SwapBuffers supportJesse Barnes2010-01-087-3/+67
| | | | | | | | | | | | | | | | | | | | Support the new DRI2 protocol request, DRI2SwapBuffers, in both direct and indirect rendering context. This request allows the display server to optimize back->front swaps (e.g. through page flipping) and allows us to more easily support other GLX features like swap interval and the OML sync extension in DRI2. Signed-off-by: Jesse Barnes <[email protected]>
* | st/xlib: Mark GLX functions as public.Chia-I Wu2010-01-113-77/+80
| | | | | | | | | | | | Mark all functions start with glX as public. Signed-off-by: Chia-I Wu <[email protected]>
* | st: Mark functions in st_public.h and vg_tracker.h as public.Chia-I Wu2010-01-112-0/+42
| | | | | | | | | | | | | | These functions are the API of Gallium state tracker, and are used by EGL. Signed-off-by: Chia-I Wu <[email protected]>
* | gallium: Add PUBLIC macro for function visibility.Chia-I Wu2010-01-111-0/+11
| | | | | | | | | | | | | | As the default build has -fvisibility=hidden, add a macro to control the visibility. Signed-off-by: Chia-I Wu <[email protected]>
* | st/vega: Fix breakage from -fvisibility=hidden.Chia-I Wu2010-01-111-0/+5
| | | | | | | | | | | | Mark VG and VGU functions as public. Signed-off-by: Chia-I Wu <[email protected]>
* | python: Integrate with llvmpipe if possible.José Fonseca2010-01-112-7/+168
| | | | | | | | | | Temporary. We should soon have the ability to integrate with any driver via glx extensions.
* | python: Mask out PIPE_TEXTURE_USAGE_DISPLAY_TARGET usage.José Fonseca2010-01-111-0/+10
| | | | | | | | | | As displaying surfaces directly isn't supported by the python state tracker.
* | python: Prefer PIPE_FORMAT_Z32_UNORM.José Fonseca2010-01-112-2/+2
| |
* | python: Set PIPE_TEXTURE_USAGE_RENDER_TARGET instead of DISPLAY_TARGET.José Fonseca2010-01-114-4/+4
| | | | | | | | | | As the python state tracker is not integrated with window system an cannot present surfaces directly.
* | util: Set flatshade for blitter.Corbin Simpson2010-01-111-0/+1
| | | | | | | | It was bugging me. +1 FPS on softpipe.
* | radeong: Check for DONTBLOCK before flushing, remove dead code.Corbin Simpson2010-01-111-59/+5
| |
* | util/blitter: remove unused variableKeith Whitwell2010-01-111-1/+0
| |
* | Fix compressed texture loads for non-minimal pitchesLuca Barbieri2010-01-111-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 <[email protected]> Tweaks for C90 compilation.
* | r300g: Don't bother testing for empty scissors.Corbin Simpson2010-01-103-28/+0
| | | | | | | | | | If somebody goes through that much effort, they probably intended it. So humor them. :3
* | util: Apply Brian's suggested blit improvements.Corbin Simpson2010-01-101-15/+12
| | | | | | | | copypix works just fine.
* | gallium: u_blitter add overlapping blit support.Dave Airlie2010-01-101-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.
* | r300g: Atomize scissors.Corbin Simpson2010-01-106-26/+22
| | | | | | | | Argfl. Some of this code is so questionable.
* | r300g: Move TCL bypass switch to main context.Corbin Simpson2010-01-104-36/+31
| |
* | r300g: Atomize viewport.Corbin Simpson2010-01-105-30/+26
| | | | | | | | Goddammit, some of these hax are really annoying.
* | r300g: Move ROPCNTL to the top of the emit order.Corbin Simpson2010-01-101-1/+1
| | | | | | | | | | According to the docs, this decreases stalls, and indeed we get a tiny bit more glxgears from it.
* | r300g: Don't avoid rewriting ZTOP.Corbin Simpson2010-01-101-9/+9
| | | | | | | | Simplify the code. Added a comment to keep me from doing it again.
* | r300g: Atomize rasterizer.Corbin Simpson2010-01-108-32/+34
| | | | | | | | I want to stab things now.
* | nouveau: Make winsys recognise the original NV50.Marcin Kościelnicki2010-01-111-0/+2
| |
* | radeon: fix prediction for r100 inline vert/elt emits.Dave Airlie2010-01-111-0/+1
| | | | | | | | | | On r100 we emit the indices inline so we need to account for that in the emission size.
* | radeon: fix bug in realloc code.Dave Airlie2010-01-111-1/+1
| | | | | | | | This bug was fixed in libdrm ages ago, port to non-kms
* | st/dri: update dri2 drawables when viewport is changedBen Skeggs2010-01-115-2/+19
| | | | | | | | | | | | | | Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <[email protected]>
* | r300g: Atomize ZTOP.Corbin Simpson2010-01-105-8/+25
| | | | | | | | Also do state-change checks. ZTOP's too important to not check.
* | r300g: Atomize DSA.Corbin Simpson2010-01-107-32/+25
| | | | | | | | Also a bit of ztop.
* | r300g: Atomize UCP.Corbin Simpson2010-01-105-13/+9
| | | | | | | | Meh.
* | r300g: Atomize blend color.Corbin Simpson2010-01-105-19/+14
| |
* | r300g: Start using atoms.Corbin Simpson2010-01-106-12/+42
| | | | | | | | No benefits yet.