| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
They will be used by DRISW. Also, add destroy functions.
|
| |
|
|
|
|
|
| |
This is a wrapper around dri_st_framebuffer_validate for a single attachment.
Also, call validate through hook to make it more generic.
|
|
|
|
| |
dri_st_framebuffer functions just forward to dri1/dri2 functions.
|
|
|
|
|
|
| |
* ptex is get by flush_frontbuffer, similar to swap_buffers
* comment for allocate_textures
* texture_mask is managed at the st_fb level
|
| |
|
|
|
|
|
| |
- put extensions above init_screen
- split out destroy_option_cache
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This is a quick & dirty solution, but it works. See comments in
the code for other ideas.
Fixes regressions/breakage seen in progs/xdemos/glxheads, etc. from commit
6632915e957149c153a3f793c400a532b4995b18.
|
|
|
|
|
|
|
|
| |
The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir
parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars
for linking with Xlib to avoid the conflict.
Signed-off-by: Dan Nicholson <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a pretty big performance regression caused by commit
3475e88442c16fb2b50b903fe246b3ebe49da226.
When the user does not request a stencil buffer it's important that we
don't use a depth/stencil format (or at least make it our last choice).
If the user calls glClear(GL_DEPTH_BUFFER_BIT) when we have a combined
depth/stencil buffer, that causes us to hit the clear_with_quad() path
which can be much, much slower than calling pipe_context::clear().
Also, try to use a shallower depth format before a deeper one.
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This is tested with demos found in progs/demos. However, only the DRI2
path is tested.
|
| |
| |
| |
| |
| | |
This commit adds dri_st_api.c that implements st_api.h callbacks. A
following commit will switch st/dri from st_public.h to st_api.h.
|
| |
| |
| |
| | |
Remove unused headers and stop marking driDriverAPI as PUBLIC.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
use cso fragment sampler views instead of sampler textures.
since we don't really change views, try to store sampler views instead
of the textures to avoid having to recreate views most of the time.
|
|/ |
|
|
|
|
| |
use cso_set_fragment_sampler_views instead of cso_set_sampler_textures
|
|\
| |
| |
| |
| |
| |
| | |
This branch already seems to have the nv50_tex.c fix.
Conflicts:
src/gallium/drivers/nv50/nv50_tex.c
|
| |\ |
|
| | |
| | |
| | |
| | | |
Honor the (x, y) and (width, height) pairs.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Consider this rendering sequence
* render to the back buffer
* swap buffers
* read from the front buffer
The front buffer is expected to have the contents of the back buffer.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Create a per-display pipe_context as needed to copy the contents between
framebuffer attachments. This allows us to support
GLX_MESA_copy_sub_buffer.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This basically adds a static xmesa_display to collect per-display static
variables in xm_api.c. Multiple display support is still missing, but
this is a step forward.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When xmesa_st_framebuffer_validate was called twice with different sets
of attachments, the second call was ignored. Add a texture_mask to
remember which textures have been requested to make sure the missing
ones get created.
|
| | |
| | |
| | |
| | | |
Stupid typos again..
|
| | |
| | |
| | |
| | |
| | | |
Instead of guessing the API in st/glx, let the target decide how to
create st_api.
|
| | |
| | |
| | |
| | |
| | | |
Use a (real) pipe context to copy between pipe surfaces. Fix a NULL
dereference of the temporary native surface created for copying.
|
| | |
| | |
| | |
| | |
| | | |
The textures and surface of a framebuffer should be unreferenced when
the framebuffer is destroyed.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Return a better format instead of an exact format in
choose_depth_stencil_format. Also, prefer formats with stencil bits.
|
| | |
| | |
| | |
| | | |
It was a stupid typo by me when I refactored the code.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Switch from st_public.h to st_api.h. The latter has intrinsic multiple
APIs support and allows various EGLImage extensions to be supported.
|
| | |
| | |
| | |
| | |
| | | |
This is done by defining one of st_module_OpenGL_ES1,
st_module_OpenGL_ES2, and st_module_OpenGL.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There is currently no user of this new interface. As the inteface can
coexist with st_public.h, everthing should work as before.
ST_TEXTURE_2D is both defined by st_public.h and st_api.h. Reorder the
headers in st/dri to avoid conflicts.
|
| | |
| | |
| | |
| | |
| | | |
There is currently no user of this new interface. As the inteface can
coexist with st_public.h, everthing should work as before.
|
| | |
| | |
| | |
| | |
| | |
| | | |
No idea if this is the correct fix, but it makes it work again at least.
Signed-off-by: Dave Airlie <[email protected]>
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/gallium/drivers/nv30/nv30_context.h
src/gallium/drivers/nv30/nv30_state.c
src/gallium/drivers/nv40/nv40_context.h
src/gallium/drivers/nv40/nv40_state.c
src/gallium/drivers/r300/r300_emit.c
|
| | |
| | |
| | |
| | |
| | |
| | | |
This can break on systems that don't have a system X installation.
Signed-off-by: Dan Nicholson <[email protected]>
|