From 7cd970786d72a68b735f33904bdded6c8aebdf33 Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 21 Aug 2012 07:54:32 +0200 Subject: xserver xkeyboard-config mesa pixman git update 21 Aug 2012 --- mesalib/src/gallium/auxiliary/util/u_upload_mgr.h | 7 +- mesalib/src/mesa/SConscript | 2 +- mesalib/src/mesa/main/APIspec.xml | 381 +----- mesalib/src/mesa/main/es1_conversion.c | 1368 +++++++++++++++++++++ mesalib/src/mesa/main/es1_conversion.h | 157 +++ mesalib/src/mesa/main/es_generator.py | 7 + mesalib/src/mesa/main/texgetimage.c | 45 +- mesalib/src/mesa/main/teximage.c | 4 + mesalib/src/mesa/main/texparam.c | 240 +++- mesalib/src/mesa/sources.mak | 3 +- mesalib/src/mesa/state_tracker/st_atom_texture.c | 11 +- mesalib/src/mesa/state_tracker/st_context.c | 5 +- 12 files changed, 1798 insertions(+), 432 deletions(-) create mode 100644 mesalib/src/mesa/main/es1_conversion.c create mode 100644 mesalib/src/mesa/main/es1_conversion.h (limited to 'mesalib') diff --git a/mesalib/src/gallium/auxiliary/util/u_upload_mgr.h b/mesalib/src/gallium/auxiliary/util/u_upload_mgr.h index b50d3f32c..82215a556 100644 --- a/mesalib/src/gallium/auxiliary/util/u_upload_mgr.h +++ b/mesalib/src/gallium/auxiliary/util/u_upload_mgr.h @@ -56,14 +56,14 @@ struct u_upload_mgr *u_upload_create( struct pipe_context *pipe, */ void u_upload_destroy( struct u_upload_mgr *upload ); -/* Unmap and release old upload buffer. +/** + * Unmap and release old upload buffer. * * This is like u_upload_unmap() except the upload buffer is released for * recycling. This should be called on real hardware flushes on systems * that don't support the PIPE_TRANSFER_UNSYNCHRONIZED flag, as otherwise * the next u_upload_buffer will cause a sync on the buffer. */ - void u_upload_flush( struct u_upload_mgr *upload ); /** @@ -86,7 +86,6 @@ void u_upload_unmap( struct u_upload_mgr *upload ); * \param size Size of the allocation. * \param out_offset Pointer to where the new buffer offset will be returned. * \param outbuf Pointer to where the upload buffer will be returned. - * \param flushed Whether the upload buffer was flushed. * \param ptr Pointer to the allocated memory that is returned. */ enum pipe_error u_upload_alloc( struct u_upload_mgr *upload, @@ -112,7 +111,7 @@ enum pipe_error u_upload_data( struct u_upload_mgr *upload, /** - * Allocate and copy an input buffer to the upload buffer. + * Allocate space in an upload buffer and copy an input buffer to it. * * Same as u_upload_data, except that the input data comes from a buffer * instead of a user pointer. diff --git a/mesalib/src/mesa/SConscript b/mesalib/src/mesa/SConscript index a3cbc16de..1b98b04c1 100644 --- a/mesalib/src/mesa/SConscript +++ b/mesalib/src/mesa/SConscript @@ -338,7 +338,7 @@ if env['gles']: env.Append(CPPDEFINES = ['FEATURE_ES1=1', 'FEATURE_ES2=1']) # generate GLES sources - gles_sources = [] + gles_sources = ['main/es1_conversion.c',] gles_sources += env.CodeGenerate( target = 'main/api_exec_es1.c', script = 'main/es_generator.py', diff --git a/mesalib/src/mesa/main/APIspec.xml b/mesalib/src/mesa/main/APIspec.xml index b6cf52d07..c26caf6ad 100644 --- a/mesalib/src/mesa/main/APIspec.xml +++ b/mesalib/src/mesa/main/APIspec.xml @@ -48,12 +48,6 @@ - - - - - -