mesa/src/mesa
Neil Roberts 0779f37e15 meta: Add a meta implementation of GL_ARB_clear_texture
Adds an implementation of the ClearTexSubImage driver entry point that tries
to set up an FBO to render to the texture and then calls glClearBuffer with a
scissor to perform the actual clear. If an FBO can't be created for the
texture then it will fall back to using _mesa_store_ClearTexSubImage.

When used in combination with _mesa_store_ClearTexSubImage this should provide
an implementation that works for all DRI-based drivers. However as this has
only been tested with the i965 driver it is currently only enabled there.

v2: Only enable the extension for the i965 driver instead of all DRI drivers.
    Remove an unnecessary goto. Don't require GL_ARB_framebuffer_object. Add
    some more comments.

v3: Use glClearBuffer* to avoid having to modify glClearColor and friends.
    Handle sRGB textures. Explicitly disable dithering.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
2014-07-23 11:50:38 +01:00
..
drivers meta: Add a meta implementation of GL_ARB_clear_texture 2014-07-23 11:50:38 +01:00
main texstore: Add a generic implementation of GL_ARB_clear_texture 2014-07-23 11:50:38 +01:00
math mesa: Converty gl_viewport_attrib::X, ::Y, ::Width, and ::Height to float 2014-01-20 11:31:53 -08:00
program exec_list: Make various places use the new length() method. 2014-07-15 11:16:16 -07:00
sparc
state_tracker st/mesa,gallium: add a workaround for Unigine Heaven 4.0 and Valley 1.0 2014-07-18 01:58:58 +02:00
swrast Remove the ATI_envmap_bumpmap extension 2014-06-30 12:02:25 -07:00
swrast_setup swrast: Fix vertex color in _swsetup_Translate() 2014-04-24 08:16:00 -06:00
tnl mesa: add missing null checks in _tnl_register_fastpath() 2014-05-02 11:58:36 -07:00
tnl_dd s/Tungsten Graphics/VMware/ 2014-01-17 20:00:32 +00:00
vbo mesa: fix crash in st/mesa after deleting a VAO 2014-07-11 19:36:29 +02:00
x86 mesa/x86: Fix build with clang <= 3.3. 2014-05-25 21:39:30 -07:00
x86-64
.gitignore
Android.gen.mk
Android.libmesa_dricore.mk android, dricore: undefined reference to _mesa_streaming_load_memcpy 2014-06-09 22:51:44 +01:00
Android.libmesa_glsl_utils.mk android, mesa_gen_matypes: pull in timespec POSIX definition 2014-06-09 22:51:34 +01:00
Android.libmesa_st_mesa.mk
Android.mesa_gen_matypes.mk android, mesa_gen_matypes: pull in timespec POSIX definition 2014-06-09 22:51:34 +01:00
Android.mk
gl.pc.in
Makefile.am Make DRI dependencies and build depend on the target 2014-05-23 15:24:04 +01:00
Makefile.sources meta: Split GenerateMipmap() into its own file. 2014-03-07 22:45:07 -08:00
SConscript scons: Fix x86_64 build. 2014-05-22 22:39:42 +01:00