e42d00b3f4503a0840575c8e5f4517a66c8af613 |
|
06-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate internal glTexSubImage1/2/3D code Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
d69d287068e0a6b5e2f3c13b1f55335a9b6ce03b |
|
02-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove the dstX/Y/Zoffset params to _mesa_texstore() functions The were always zero. When doing a sub-texture replacement we account for the dstX/Y/Zoffsets when we map the texture image. So no need to pass them into the texstore code anymore. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
e833b98182ea7da142a57b385735be9e79776439 |
|
02-Jan-2012 |
Brian Paul <brianp@vmware.com> |
intel: pass xoffset, yoffset = 0 to _mesa_texstore() Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
da0cc82a093eb97212e989648da638a262ed3e84 |
|
30-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: simplify Driver.TexSubImage() parameters There's no need to pass the target, level and texObj parameters since they can be easily obtained from 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/intel/intel_tex_subimage.c
|
2e5a1a254ed81b1d3efa6064f48183eefac784d0 |
|
07-Oct-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Convert from GLboolean to 'bool' from stdbool.h. I initially produced the patch using this bash command: for file in {intel,i915,i965}/*.{c,cpp,h}; do [ ! -h $file ] && sed -i 's/GLboolean/bool/g' $file && sed -i 's/GL_TRUE/true/g' $file && sed -i 's/GL_FALSE/false/g' $file; done Then I manually added #include <stdbool.h> to fix compilation errors, and converted a few functions back to GLboolean that were used in core Mesa's function pointer table to avoid "incompatible pointer" warnings. Finally, I cleaned up some whitespace issues introduced by the change. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Chad Versace <chad@chad-versace.us> Acked-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.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/intel/intel_tex_subimage.c
|
8004a1cb95b8a195f3f4bbaa8d39d2f3297167de |
|
22-Sep-2011 |
Eric Anholt <eric@anholt.net> |
intel: Rename region->buffer to region->bo, and remove accessor function. We call all the other drm_intel_bo pointers in intel/*.h "bo", so this one was rather out of place. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
fa2c886863492cc3eeee6d2059ae24edc1cb2bff |
|
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
intel: make intel_texture_image a subclass of swrast_texture_image We need to subclass swrast_texture_image because if we use swrast for fallback rendering, we'll need to have swrast_texture_image objects.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
0b96b3ffa92285d281de82442743402cf374973a |
|
30-Aug-2011 |
Eric Anholt <eric@anholt.net> |
intel: Restructure TexSubImage as just the 2D implementation and blit func. Fixes a segfault in piglit copyteximage where I accidentally removed the dst_bo setup in the previous cleanup. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40474 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Sean McNamara <gm.potato.ul@gmail.com> Tested-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
b26a08402f645aebadfabc91e08eac568e1a40c3 |
|
30-Aug-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove the passthrough TexSubImage[13]D functions. All we need for these is _mesa_store_texsubimage[13]d(), since we don't do the blit path. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
336f87d5d5a4cb7809d136c03ac6f53b1d312d24 |
|
01-Aug-2011 |
Eric Anholt <eric@anholt.net> |
intel: Rely on Mesa core for the non-blit glTexSubImage* implementation. It uses MapTextureImage() now, so we don't need our own mapping. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
bad53f3ba5c3ae66a8b4b7d9cc6a18606db71ebe |
|
30-Jul-2011 |
Eric Anholt <eric@anholt.net> |
intel: Remove our custom _mesa_store_compressed_texsubimage2d(). Now that Mesa core knows how to map teximages, we no longer needed the compressed paths here. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
7dae1aaf142999e3cfeafb13d30abda667d66d87 |
|
15-Jul-2011 |
Brian Paul <brianp@vmware.com> |
intel: use new gl_texture_image:Face, Level fields Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
5eb9f687087a4bc71775a32efcd848fc6cd67694 |
|
04-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Add some defense against buffer allocation failure for subimage blits Once more! This time without the unwarranted conversion from drm_intel_bo_alloc_tiled. Signed-off-by: [a very embarrassed] Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
f5a9a0bc22c4b717c2c32f4ddf283878d6c7ba93 |
|
30-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
Revert "intel: Add some defense against buffer allocation failure for subimage blits" This reverts commit de7678ef521f4fb34459e407a66ab8bf8be733e1. The conversion from using drm_intel_bo_alloc_tiled to a plain drm_intel_bo_alloc forgot that the tiled variant adjusts the allocation height even for TILING_NONE. Reported-by: Dave Airlie <airlied@redhat.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35786 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
de7678ef521f4fb34459e407a66ab8bf8be733e1 |
|
04-Mar-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Add some defense against buffer allocation failure for subimage blits Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.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/intel/intel_tex_subimage.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/intel/intel_tex_subimage.c
|
77cbf32e61c066c1f47fd248b076b11391e7e923 |
|
11-Jun-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary header.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
94731797c671d6e46e3e0c94c1a0cec5071c0ac3 |
|
09-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Use the blitter to upload TexSubImage data to busy textures. This avoids many pipeline stalls in cairo-gl. [ # ] backend test min(s) median(s) stddev. count Before: [ 0] gl firefox-talos-gfx 36.799 36.851 2.34% 3/3 [ 0] gl firefox-talos-svg 33.429 35.360 3.46% 3/3 After: [ 0] gl firefox-talos-gfx 35.895 36.250 0.48% 3/3 [ 0] gl firefox-talos-svg 26.669 29.888 5.34% 3/3 This doesn't avoid all the pipeline stalls because the kernel reports !busy for buffers on the flushing list. That should be fixed in .36.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
c4775a27e3aaa2006b98f225387499b79bc609ef |
|
10-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop intelFlush() Now that intel_flush() deosn't use the needs_mi_flush argument, we can finally drop one of the two flush functions.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
d449627829e1a4a3250a1a723af2f4e3cd5fd194 |
|
18-Feb-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Implement the DRI2 invalidate function properly This uses a stamp mechanisms to mark the DRI drawable as invalid. Instead of immediately updating the buffers we just bump the drawable stamp and call out to DRI2GetBuffers "later". "Later" used to be at LOCK_HARDWARE time, and this patch brings back callouts at the points where we used to call LOCK_HARDWARE. A new function, intel_prepare_render(), is called where we used to call LOCK_HARDWARE, and if the buffers are invalid, we call out to DRI2GetBuffers there. This lets us invalidate buffers only when notified instead of on every glViewport() call. If the loader calls the DRI invalidate entrypoint, we disable viewport triggered buffer invalidation. Additionally, we can clean up the old viewport mechanism a bit, since we can just invalidate the buffers and not worry about reentrancy and whatnot.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
01dc463e5d5513e059eea601710cd4babe02610d |
|
02-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop LOCK/UNLOCK_HARDWARE()
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
e3f2efc4f14d6f0d06560d2acfac73628f5a74a6 |
|
26-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove calls to _mesa_compressed_row_stride()
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.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/intel/intel_tex_subimage.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/intel/intel_tex_subimage.c
|
0b1f4dc0fa62c46030b39a0f7027dd1b0ef966fd |
|
29-Sep-2009 |
Brian Paul <brianp@vmware.com> |
drivers: use new _mesa_texstore() function
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
e0bc4533ebccbfb844522e2b6ddd171b97d693e8 |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa/drivers: use _mesa_get_format_bytes()
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
f782f90c45fc9a483483ebd36c1971ecd0c7988d |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_texstore_func()
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.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/intel/intel_tex_subimage.c
|
80cab49481b0c832f161bd61e9889d7bcd9f542a |
|
05-Aug-2009 |
Roland Scheidegger <sroland@vmware.com> |
intel: implement intelCompressedTexSubImage2D similar to the radeon code. passes tests/texcompsub
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
89205a8760b8a4651962b1ff0206699cbcd78d75 |
|
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
intel: make a bunch of glTexImage-related functions static
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
1d663ae2925ffadf419ddbea9eca8d5706ea6510 |
|
08-May-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add a metaops version of glGenerateMipmapEXT/SGIS_generate_mipmaps. In addition to being HW accelerated, it avoids the incorrect (black) rendering of the mipmaps that SW was doing in fbo-generatemipmap. Improves the performance of the mipmap generation and drawing in fbo-generatemipmap by 30%.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
dc58da3e063d2a4018eea9149b43a3656a93a7ca |
|
16-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: stub out CompressedTexSubImage2D instead of segfaulting.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
ecadb51bbcb972a79f3ed79e65a7986b9396e757 |
|
18-Sep-2008 |
Brian Paul <brian.paul@tungstengraphics.com> |
mesa: added "main/" prefix to includes, remove some -I paths from Makefile.template
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
0dbd5c864047ad2ad3d459493c9e82be57427f83 |
|
09-May-2008 |
Dave Airlie <airlied@redhat.com> |
intel: use new mipmap generation hooks in driver.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
3323ccb803282dddcf1e403df33d00eaa0fbd0f8 |
|
02-May-2008 |
Eric Anholt <eric@anholt.net> |
[intel] Warnings fixes.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
4478926b3a6d15d079a44f6cebebc1db85d382f6 |
|
17-Mar-2008 |
Xiang, Haihao <haihao.xiang@intel.com> |
intel: It is needed to allocating texture memory to accommodate a texture when calling TexImage with pixels set to NULL pointer.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
101abee6c4fc2c9284ff2ba6f9f9138327d6963d |
|
19-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Fix and reenable (software) SGIS_generate_mipmap The core problem was that _mesa_generate_mipmap was not respecting RowStride of the source image. Additionally, the intel private data associated with the images (level and face) was not being initialized for the _mesa_generate_mipmap-generated images.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
c5456a6b24525e9307e58fc2a02a6f62ca507730 |
|
14-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Remove useless intel_region_idle. The idling it was trying to ensure was covered by the intel_miptree_image_map()->intel_region_map() that immediately followed it.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
7c71ef3a3d0cf2620525f468960cdc76a0fb0d33 |
|
12-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Move bufmgr back to context instead of screen, fixing glthreads. Putting the bufmgr in the screen is not thread-safe since the emit_reloc changes. It also led to a significant performance hit from pthread usage for the attempted thread-safety (up to 12% of a cpu spent on refcounting protection in single-threaded 965). The motivation had been to allow multi-context bufmgr sharing in classic mode, but it wasn't worth the cost.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|
77a5bcaff43df8d54e0e0ef833726e4b41d7eb36 |
|
07-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Move over files that will be shared with 965-fbo work.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_subimage.c
|