[Mesa-dev] [PATCH 2/2] gallium: add texture update hook to screen
Dave Airlie
airlied at gmail.com
Tue Mar 19 00:29:57 PDT 2013
> Errr, what about using flush_frontbuffer, it seems todo
> the exact same thing.
Hmm I wonder if I could overload it actually I hadn't considered that,
its not exactly the same thing,
but its pretty close to what I'd want to do alright.
>> diff --git a/src/gallium/drivers/softpipe/sp_texture.h b/src/gallium/drivers/softpipe/sp_texture.h
>> index 533d625..04c6eaf 100644
>> --- a/src/gallium/drivers/softpipe/sp_texture.h
>> +++ b/src/gallium/drivers/softpipe/sp_texture.h
>> @@ -46,7 +46,7 @@ struct softpipe_resource
>> struct pipe_resource base;
>>
>> unsigned long level_offset[SP_MAX_TEXTURE_2D_LEVELS];
>> - unsigned stride[SP_MAX_TEXTURE_2D_LEVELS];
>> + int stride[SP_MAX_TEXTURE_2D_LEVELS];
Oops I git failed,
Thanks,
Dave.
More information about the mesa-dev
mailing list