d47a6ada9ca9670c60fc141fabadf40c63031c08 |
|
24-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add texture target field to ChooseTextureFormat() driver hook This will let us choose the actual hardware format depending on the type of texture. v2: fixup radeon, nouveau, intel and swrast drivers too Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
46751edca9a95baff81771aa69986fa6e2422ed6 |
|
22-Aug-2012 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_num_tex_faces() helper Not a real big help now, but will be useful for the GL_ARB_texture_cube_map_array extension in the future.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
c9a7dfcf92e6adb4b85338c2c8dbbfbaf39fbfe7 |
|
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa: Remove unnecessary parameters from AllocTextureImageBuffer Size and format information is always stored in gl_texture_image structure. That makes it preferable to remove duplicate information from parameters to make interface easier to understand. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
c5af8891805fc4f590c1371c098cdbc704c44e00 |
|
12-Jun-2012 |
Pauli Nieminen <pauli.nieminen@linux.intel.com> |
mesa: Remove unnecessary parameters from TexImage gl_texture_image structure always holds size and internal format before TexImage driver hook is called. Those passing same information in function parameters only duplicates information making the interface harder to understand. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
cd9ab2584f5e2a5eb0e96a948e6aedc9a33c886d |
|
06-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate internal glCopyTexSubImage1/2/3D code Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
8f5fffe75d2f8ae7c7ee706b53379a25bc673ae4 |
|
06-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate internal glTexImage1/2/3D code The functions for handling 1D, 2D and 3D texture images were nearly identical. This folds them all together. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
bd3c10c0f0c60ab3421c2da2eab814edc2296cb0 |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
swrast: s/Data/Map/ in swrast_texture_image To indicate that it points to mapped texture memory.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
92c64624cd7533cde466dbec8722f7f72f275fd8 |
|
30-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: simplify Driver.TexImage() parameters As with TexSubImage(), the target, level and texObj values can be obtained through the texImage pointer. Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
b2596c36c8f73e8bb7a0b1679b491662aeb2f9d9 |
|
11-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: texture/renderbuffer overhaul. This could have been split up better, but the driver is just broken now, so bisecting the brokenness is going to be painful no matter what. This adds renderbuffer mapping/unmapping along with texture image allocation. It drops all the old texture upload paths, some of which could possible be reimplemented with the blitter later. It also redoes the span code paths to use its own set of image mapping handlers, along with removing the tiling decode paths for the color buffers, since we now hope to use the blitter for this. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
8f55f5b77b1f3f6b5777d0e75ba390b67c7a0901 |
|
14-Nov-2011 |
Fabio Pedretti <fabio.ped@libero.it> |
radeon: further cleanup of shared code Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
2f98ac473bddb50e997dcfe61ae21ec0f641e514 |
|
11-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: fix build. I had a later patch remove this code, but cherry-picked across it. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
99109e9fe08f13c40ffc55e305a69e51740fc6c4 |
|
09-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: use meta bitmap Now that the stride bug is fixed, enable Bitmap via meta mode. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
beb3e81b86698359e037d49f35feba3ca53626b2 |
|
10-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: fix bug with wrong stride being used for rectangluar textures. This broke the meta bitmap code when it was enabled. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
fe5ba5da7eaf5b243f83100890d483ada1ebb285 |
|
10-Nov-2011 |
Brian Paul <brianp@vmware.com> |
radeon: silence unused var warnings
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
1401b96bb9f485eb5c08fb724b4366a16ea93aef |
|
07-Nov-2011 |
Fabio Pedretti <fabio.ped@libero.it> |
radeon: cleanup radeon shared code after r300 and r600 classic drivers removal Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
2431c992cb97235c6e500bd1c0c267e608b99052 |
|
04-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
radeon: drop mtface/mtlevel, use ones in base class. This just uses the base class copies. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
c2711cdfb68d92ede740e2cc1fd7d78f604dc201 |
|
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Move _dri_texformat_* to radeon_texture.c They are only used by the r200 driver now.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
bd51e8e4f473dd4fb4f99ed7898d771c64caca2d |
|
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
dri: Remove driver GenerateMipmap hooks. Mesa sets up _mesa_meta_GenerateMipmap as the default hook, which does this check for fallback and call the fallback itself.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
0973a1ec78fdedc5401cb1c0f6d027425c492509 |
|
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Drop the non-kernel-memory-manager support, and thus DRI1. It's past time, and it was going to get in the way of the renderbuffer mapping refactor. We dropped all the other DRI1 drivers for this release, and I can't imagine anybody supporting DRI1 radeon classic in a new release of Mesa. Diff produced by treating kernel_mm as true, deleting the DRI1 paths that produce kernel_mm false, and deleting code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
3996ed555e0a024051e4d161c8d31b2530d8cdc5 |
|
21-Oct-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Unifdef RADEON_R300 and RADEON_R600.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
a34c28f1aa0e7c0f66bc45f18750eb7f7ca8d5cd |
|
14-Oct-2011 |
Eric Anholt <eric@anholt.net> |
dri: Drop _dri_texformats that just obfuscate MESA_FORMAT names. The remaining _dri_texformats are the ones that are variable depending on the endianness of the system.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
68da4b50e9b6aa72a9b155f650952620063e1b94 |
|
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add swrast_texture_image::Buffer In the past, swrast_texture_image::Data has been overloaded. It could either point to malloc'd memory storing texture data, or it could point to a current mapping of GPU memory. Now, Buffer always points to malloc'd memory (if we're not using GPU memory) and Data always points to mapped memory. The next step would be to rename Data -> Map. This change also involves adding swrast functions for mapping textures and renderbuffers prior to rendering to setup the Data pointer. Plus, corresponding functions to unmap texures and renderbuffers. This is very much like similar code in the dri drivers.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
66681b4c8cb1ef16f42c1591298cb30c83bca09b |
|
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove _mesa_alloc_texmemory(), _mesa_free_texmemory() Core Mesa no longer does any texture memory allocation.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
6e0f9001fe3fb191c2928bd09aa9e9d05ddf4ea9 |
|
23-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move gl_texture_image::Data, RowStride, ImageOffsets to swrast Only swrast and the drivers that fall back to swrast need these fields now. This removes the last of the fields related to software rendering from gl_texture_image.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
5253cf98057dad54e25b4b8c36f8cf24f559314c |
|
05-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: get rid of imageOffsets arrays in texstore code These were used to find the start of a 3D image slice (or 2D array texture slice) given a base address. Instead, use a simple array of address of image slices instead. This is a step toward getting rid of the gl_texture_image::ImageOffsets field. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
e0304180c32227342dbb67b707bfae446543bb48 |
|
02-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Convert _mesa_generate_mipmap to MapTexImage()-based access. Now that we can zero-copy generate the mipmaps into brand new glTexImage()-generated storage using MapTextureImage(), we no longer need to allocate image->Data in mipmap generate. This requires deleting the drivers' old overrides of the miptree tracking after calling _mesa_generate_mipmap at the same time, or the drivers promptly lose our newly-generated data. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
d1fda903eca3dd93a5b3dabbeeb0dc99efb67473 |
|
01-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Drop mapping we were doing around glGetTexImage(). It's handled by MapTextureImage() now.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
8df7ca71125ee0ad74260378ff7e185dcf66f3bc |
|
30-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Convert GetCompressedTexImage to using MapTextureImage(). This changes drivers to not map the texture on their own before calling _mesa_get_compressed_teximage(). Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
abdfa0b4f1e5ae0bd3d71ae7099b6bb7c2bfae71 |
|
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
radeon: make radeon_texture_image a subclass of swrast_texture_image
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
146f536b3332b7a2022bb4ba5e2d1d2ec4bedd98 |
|
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add new DeleteTextureImage() driver hook Matches the NewTextureImage() hook. With new subclasses of gl_texture_image coming we need a new hook to properly delete objects of those subclasses.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
587fdf07da1ca8fdc4fdadbe5a78dd9d0088a880 |
|
01-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Add MapTextureImage() implementation. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
ff68e3d30415712e0c3d36dc48b47345c852da01 |
|
01-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Refactor the common texture hook setup to common code. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
0bb29949ba8a9e5a15dc0640dbb0a4e7990a1d57 |
|
27-Jul-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Rename FreeTexImageData to FreeTextureImageBuffer. This was produced by sed, except for one hunk in driverfuncs.c where trailing whitespace was dropped. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
4990e7e9fb6d64f5e4c23915767e5cea32c02965 |
|
04-Aug-2011 |
Eric Anholt <eric@anholt.net> |
radeon: Fix flushing before writing a teximage's BO when !t->bo. Before, if we ended up here without a BO for our image, but did choose a miptree that had active rendering in the command buffer, our teximage data would jump ahead of the rendering using the old texture contents. This showed up as breakage in gen-teximage and friends in the following commit. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
10e418f3815d690b2526e835bc7eb421b6be7050 |
|
10-Jun-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Switch generate_mipmaps_compressed() to using TexImage2D to upload. The code was playing fast and loose with rowstrides, which meant that if a driver chose anything different for its alignment requirements, the generated mipmaps came out garbage. Unlike the uncompressed case, we can't generate mipmaps directly into image->Data, so by using TexImage2D we cut out most of the weird logic that existed to generate in-place into ->Data. The up/downside is that the driver recovery code for the fact that _mesa_generate_mipmaps whacked ->Data has to be turned off for compressed now. Fixes 6 piglit tests about compressed mipmap gen.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
b70610b9823fc7dc3672735c11be1a75fbb1a2a4 |
|
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move PBO-related functions into a new file
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
fb9c6e681f91c986b7cbe2d6e9f6baceda00c415 |
|
09-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
radeon: Include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
d7855ee3323e8493f139af70db9d0cdb853c2a08 |
|
09-Nov-2010 |
Johann Rudloff <cypheon@googlemail.com> |
radeon: Implement GL_OES_EGL_image agd5f: add support to radeon/r200/r300 as well
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
1c0646a826cb19d3c3eaa84591930590db6e8af8 |
|
24-Sep-2010 |
Eric Anholt <eric@anholt.net> |
radeon: Remove copied minimum pitch alignment code. This is already covered by radeon_mipmap_tree.c, and my convolution cleanups broke in the presence of this code. Thanks to Marek Olšák for tracking down the relevant miptree code for me.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
a62efdf82c20747feb11dfd7756f0579aa914b57 |
|
10-Sep-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove EXT_convolution. More optional code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
e165453f84517b08afc2e2bf684546e9e24f3f30 |
|
09-Aug-2010 |
Henri Verbeet <hverbeet@gmail.com> |
radeon: Use MESA_FORMAT_SARGB8 for sRGB formats This can be supported on r600 without using the endian swapper, and is a better fit for (typical) uploads using GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV anyway.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
c674a7eb7fb2fd170df7ff5e3cefdddabda1a03f |
|
19-Jun-2010 |
Will Dyson <will.dyson@gmail.com> |
Revert "Fix image_matches_texture_obj() MaxLevel check" This reverts commit a9ee95651131e27d5acf3d10909b5b7e5c8d3e92. It was based on a failure to understand how ther driver allocates memory, and causes a regression with Celestia. Set MaxLevel to dstLevel before allocating new mipmap level. The radeon driver will fail to allocate space for a new level that is outside of BaseLevel..MaxLevel. Set MaxLevel before allocating. Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
055750fafba58fd2ee0f5611b566a71ab0f22984 |
|
25-May-2010 |
Will Dyson <will.dyson@gmail.com> |
Enable hardware mipmap generation for radeon. Use _mesa_meta_GenerateMipmap. It is Fast Enough(tm). Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
a9ee95651131e27d5acf3d10909b5b7e5c8d3e92 |
|
25-May-2010 |
Will Dyson <will.dyson@gmail.com> |
Fix image_matches_texture_obj() MaxLevel check When generating or uploading a new (higher) mipmap level for an image, we can need to allocate a miptree for a level greater than texObj->MaxLevel. Signed-off-by: Maciej Cencora <m.cencora@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
a17563c7ddfa58fe7f09d22a62a10f3488ef3147 |
|
07-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon/r200/r300/r600: add is_format_renderable function
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
ba196a8318af6217fece3777ea038539fea4b415 |
|
07-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: handle compressed sRGB texture formats
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
ccbe3f0314c8278c55e1046a619969ae539564de |
|
17-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: move glGetTexImage handlers to seperate file
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
d0ca5c3100dfe7ee634e3b455002e11e88822ea7 |
|
07-Mar-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: properly calculate rowstride for tiled images
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
32f2fd1c5d6088692551c80352b7d6fa35b0cd09 |
|
19-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
77e6fb17d96ed9d9b3c2f52999e93da12a466405 |
|
10-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Fix printf formatings to match te values.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
4767d27ee32cc30ee00ab5265ecbb8eeefcab8c9 |
|
09-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add some debug output for fbo support
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
cdb0a51e8a8de605c4f2155396609fbb98ada65d |
|
06-Feb-2010 |
Pauli Nieminen <suokkos@gmail.com> |
radeon: Add some debug output to texture function.\n
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
278ad74fe060ab8ba21d21b675a40f6758edaeca |
|
21-Jan-2010 |
Andre Maasikas <amaasikas@gmail.com> |
radeon/fbo: flush rendering before generating mipmaps or maybe should flush(also) in finish_render_texture...
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
11affafc75525c50a2b4ffc9f91c1fe620d328fb |
|
10-Jan-2010 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: use mesa provided _mesa_tex_target_to_face function
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
f1900323ea1e387afc487737f9930ba0d014fd0d |
|
11-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix depth textures
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
9921b3048e611398460ef774355b7515bc901240 |
|
07-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix cases when only first image where put directly into miptree. Make sure that minimal width, height and depth of texture image is 1.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
8cde43eb19c4dcceb74166e1da123d316a429c21 |
|
02-Dec-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: properly check if image should be placed in the miptree Fixes #25355
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
63c00c53a3019b801c5eee8a12f7862422f79f10 |
|
29-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: update miptree code a little Simplify gl image level <-> miptree level mapping (are equal now). Don't allocate miptree for images that won't fit in it (fixes #25230).
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
e8f0c8ab9d3509dc399ea58c320056ed90895792 |
|
29-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: add some debugging info
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
df8787763602f8e27e2b81385d397fb4a86c107b |
|
21-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: fix glCompressedTexSubImage
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
23ec7c457483aae1e0d399e9b570f1860c27c780 |
|
14-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: rework mipmap tree
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
8f88cf3938f0156d4df6fcc5fde2711d40b85d03 |
|
14-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: more texture code refactoring
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
9d0af686b27b82dce8ad1ee4c951098660807be6 |
|
14-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: minor refactoring of texture code Also properly set dstImageOffsets for TexSubImage case.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
7628b06ba32e42f57a4fdb322bc32e3b411c1f18 |
|
14-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon: rework mipmap tree reference counting
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
d3fa67c9b83b5736724ca57a0487857631e6c415 |
|
11-Nov-2009 |
Maciej Cencora <m.cencora@gmail.com> |
radeon/r300: don't flush cmdbuf if not necessary
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
1f196b786d6bd0c6a5dbdc638574ff716cc3d4de |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'texformat-rework' Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
|
11caea687e3f10ae12d33e44edf84635f73047dd |
|
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: choose texture format in core mesa, not drivers Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's _mesa_[Copy]TexImage functions instead of in the driver functions. One less thing for drivers to do.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
e3f2efc4f14d6f0d06560d2acfac73628f5a74a6 |
|
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove calls to _mesa_compressed_row_stride()
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
35efc6a1b3e3dada2cf9bd3a503c1b84f4bcb7f5 |
|
25-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: change compressed texture size calls Replace calls to ctx->Driver.CompressedTextureSize with calls to _mesa_format_image_size. The former always called the later.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
3e34a2a2b97e7c93955deedb7c12b73bccd6662d |
|
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
drivers: don't include texformat.h And remove other unneeded #includes while we're at it.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
1a2bb37264b4448d33f2948fe1702c9dc936395d |
|
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: lift _mesa_set_fetch_functions() calls out of drivers Call it from in the main Mesa glTexImage functions.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
b330cebe01c5574e203fa6b9d49fee4c01e1adb6 |
|
03-Oct-2009 |
Michel Dänzer <daenzer@vmware.com> |
radeon: Cope better with texture images with no miptrees. Fixes crash with compiz magnifier plugin.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
32aa40eee46fd0b15f3873069f2440ea2dd75408 |
|
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: removed gl_texture_image::CompressedSize field Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
4ca9ba254462b9be55b78df1d50519e10b2f4d73 |
|
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move mesa_set_fetch_functions()
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
b6bdafdf2cf1110b4a5ca7cf9e1c3dcb124b800f |
|
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_texture_image::IsCompressed field Use _mesa_is_format_compressed() instead.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
1f7c914ad0beea8a29c1a171c7cd1a12f2efe0fa |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace gl_texture_format with gl_format Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
0b1f4dc0fa62c46030b39a0f7027dd1b0ef966fd |
|
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
drivers: use new _mesa_texstore() function
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
9fbb8884f034e0d691fed0e099d4d796f3b42848 |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa/drivers: use _mesa_get_format_bytes()
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
e0bc4533ebccbfb844522e2b6ddd171b97d693e8 |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa/drivers: use _mesa_get_format_bytes()
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
f782f90c45fc9a483483ebd36c1971ecd0c7988d |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_texstore_func()
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
2914f2b7fd9bd1082f8cce724d234208b900c3d4 |
|
16-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move generate mipmap calls Per the suggestion in the Intel driver, move the calls to ctx->Driver.GenerateMipmap() into core Mesa so that drivers don't have to worry about it.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
5f7c532b1e5414f65e126948b35cf9e1ef10c3a1 |
|
02-Sep-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: pass internal format into the miptree. We need to figure out if the compression format changes. without this texcmp segfaults if you change format enough times.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
4e0d99a63588c67a955f797733da32d04e6f4ee6 |
|
30-Aug-2009 |
Pauli Nieminen <suokkos@gmail.com> |
r100: Use shared debug code. Converted r100 to use shared debug code with sed and fast compile check. New code has compability layer so old debugging code doesn't have to be changed all immidiatly.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
50c736589ee0edbedf9ac434e883483b82b3030a |
|
04-Aug-2009 |
Roland Scheidegger <sroland@vmware.com> |
radeon: more fixes for compressed textures - fix not respecting required hardware stride with compressedTexImage - this fixes #22615. - make sure correct stride is used in various places - fix stored miptree never matching with a TexImage call with compressed texture - don't always store data with compressedtexsubimage at offset 0, and actually use the supplied pixel data... (untested) - make sure rows for compressed texture handling are rounded up not down Note that trying to access stored compressed textures in hardware miptrees from core mesa (get_compressed_teximage, swrast fallbacks) can't work correctly, since RowStride isn't really set to anything useful, plus some places (at least get_compressed_teximage) assume this data has native stride and no padding.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
2730ee75c73e79f4196d6df5540da7063a96c25e |
|
31-Jul-2009 |
Roland Scheidegger <sroland@vmware.com> |
radeon: s/r300/radeon in shared code error message
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
c5c19919ce627b98d8aab4284da1694573bcccd4 |
|
15-Jul-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa into r6xx-rewrite This builds, but I get an assertion in radeonGetLock() due to the drawable being null.
|
402df41c1c7655439d22efead08153dc29fe2afd |
|
20-Jun-2009 |
Roland Scheidegger <sroland@vmware.com> |
radeon: make cubemap mipmap generation work need to pass target parameter to radeon_teximage/radeon_subteximage functions otherwise mipmap generation for cube maps can't work (assert/segfault in _mesa_generate_mipmap)
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
e0eafde746fee546b16205e4a605e28f78e120f9 |
|
15-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix 3D textures
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
41091087396f935d4acf70b018ba54889fcf55a1 |
|
12-Jun-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: add support for EXT_texture_sRGB Tested with glean/texture_srgb and wine/d3d9 tests on RV535
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
1036ef2bf468611d37b5df06fc4424f2002e3837 |
|
12-Jun-2009 |
Alex Deucher <alexdeucher@gmail.com> |
Merge master and fix conflicts
|
18b3cbcede292ce7b90b818b6abb064869072ff3 |
|
09-Jun-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix mipmap_limits crasher. This gets the correct srclvl image map when uploading images to the new mipmap.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
3149b87ac43a5f10983c6682dff7a00cf1d99c7c |
|
19-May-2009 |
root <root@richard-desktop.(none)> |
Makeup checkin for radeon code change paired with r6/7 code.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
ca792be42b238bd1c8f8a99ad72ea8558cbbfc32 |
|
09-May-2009 |
Owen W. Taylor <otaylor@fishsoup.net> |
radeon: Don't crash generating mipmaps when pixels=NULL When a NULL value of pixels is passed to TexImage2D and SGIS_generate_mipmap is enabled, don't try to generate the mipmap tree: we don't have data yet for the texture and will crash. https://bugs.freedesktop.org/show_bug.cgi?id=21648
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
14365aa0ef278ac6e04a8c6e6d37e6625b0a309a |
|
02-May-2009 |
Maciej Cencora <m.cencora@gmail.com> |
r300: fix compiler warnings
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
f9d272fa414ec04d9cc608840436f29e6adf84bc |
|
01-Apr-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: go back and repick texture formats. This might trip up some serious FBO users, will have to see, but it avoids the slow paths for all the demos I have.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
5ad32cfd21bc9c798d05f5202cc75d37cc258354 |
|
31-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
r200: fix glean pixelFormats regression
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
e1d16574932be24da573a93e3302418dc6e855f1 |
|
31-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: fix glean failures on readPixSanity since EXT_DEPTH_STENCIL support
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
258686a973d7aef4bf956f540e99e65dc5bbee9c |
|
25-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup map/unmap texture to work with override BOs if you hit this you've already failed but we shouldn't crash
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
20981c0a0bd43aff4972c1300f990b06dfa789d1 |
|
24-Mar-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fixup some issue with fbos and sw fallbacks
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
43c71a2d40d417cf721656e8b088e375dc4bdedb |
|
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: remove leftover debug
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
0a8cba9a65e6ec1159a08725d2101e7eabb4526b |
|
17-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: steal miptree optimisation from intel codebase This replaces a miptree if it won't distrub anything else.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
ecf0a3eac1a4868da83ab0a3c21e2f265f7cf9e2 |
|
16-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix texcompress2 test. this makes compressed subimages work properly.
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
f069bc4a8e628197a11ff7eb447a88a59d819689 |
|
16-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix compressed tex subimage unpack parameter
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
7d19d2768491f4de3b674106e93c24d29712404f |
|
14-Feb-2009 |
Nicolai Haehnle <nhaehnle@gmail.com> |
radeon-common: Fix crash in glGetTexImage Since texture images are now stored in miptrees, we cannot usually access them directly via the Data pointer. So we wrap Mesa's implementation by map/unmap calls. This crash was triggered by Sauerbraten, Piglit now contains a regression test. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
c0ae4d3c55a606ede41399e39e5221b1955ecc22 |
|
13-Feb-2009 |
Dave Airlie <airlied@linux.ie> |
radeon/r300: fix warnings
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
2753dd42fd42a3383d2e74ab231d0b1373a2d46d |
|
13-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon/r200: make setTexOffset work again
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
ed8340192ef88bd841966aba10d0043b246805bd |
|
13-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: revert unneeded change to texturing code
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
9fd8da299b4a62c6baf49f08067d7c1ddebb0ffd |
|
13-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: fix compressed texture upload on all radeons tested on r200, texcmp works. May need more verification
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|
23d3559bd4ece1fcab5513ebdaa38600d6654374 |
|
12-Feb-2009 |
Dave Airlie <airlied@redhat.com> |
radeon: renaming and headers cleanup
/external/mesa3d/src/mesa/drivers/dri/radeon/radeon_texture.c
|