79198063b8adb23536b291081f8df8571926950e |
|
12-Jul-2012 |
Eric Anholt <eric@anholt.net> |
intel: Rename INTEL_DEBUG=fall to INTEL_DEBUG=perf. I want to introduce some more debug output for performance surprises that includes fallbacks, but aren't necessarily software rasterization. Leave INTEL_DEBUG=fall in place for those that have used that flag before. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
c738ea1191cd1b5a0dc60b0e6d05fd918083e961 |
|
18-Jul-2012 |
Paul Berry <stereotype441@gmail.com> |
intel: Make more consistent use of _mesa_is_{user,winsys}_fbo() A lot of code was still differentiating between between winsys and user fbos by testing the fbo's name against zero. This converts everything in the i915 and 965 drivers over to use _mesa_is_user_fbo() and _mesa_is_winsys_fbo(). Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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/intel/intel_tex_copy.c
|
924de7dc96f4607cb3d833637b5f69f4b9e2a6d0 |
|
16-Jan-2012 |
Brian Paul <brianp@vmware.com> |
intel: use intel_rb_format() to get renderbuffer format This will make future changes cleaner and less invasive.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
56b57aa360a8bad0c4b68fbdf7c64ac33f9e7661 |
|
29-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: rework ctx->Driver.CopyTexSubImage() parameters Replace target, level parameters with gl_texture_image. Add gl_renderbuffer parameter to indicate source buffer for the copy. This removes some redundant code in the drivers to find the source renderbuffer and the destination texture image (which we already had in _mesa_CopyTexSubImage). Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
da2816a45e6e3a33246a341fee72e6f893f315d9 |
|
16-Nov-2011 |
Chad Versace <chad.versace@linux.intel.com> |
intel: Replace intel_renderbuffer::region with a miptree [v3] Essentially, this patch just globally substitutes `irb->region` with `irb->mt->region` and then does some minor cleanups to avoid segfaults and other problems. This is in preparation for 1. Fixing scatter/gather for mipmapped separate stencil textures. 2. Supporting HiZ for mipmapped depth textures. As a nice benefit, this lays down some preliminary groundwork for easily texturing from any renderbuffer, even those of the window system. A future commit will replace intel_mipmap_tree::hiz_region with a miptree. v2: - Return early in intel_process_dri2_buffer_*() if region allocation fails. - Fix double semicolon. - Fix miptree reference leaks in the following functions: intel_process_dri2_buffer_with_separate_stencil() intel_image_target_renderbuffer_storage() v3: - [anholt] Fix check for hiz allocation failure. Replace ``if (!irb->mt)` with ``if(!irb->mt->hiz_region)``. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.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_copy.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_copy.c
|
bd817215c893cda4f23cb0ad207478ad3935e65c |
|
26-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Silence "warning: unused parameter ‘target’" The GLenum target parameter was not used in intel_copy_texsubimage, so remove it. Also remove the GLenum internalFormat parameter. Each caller just copied this out of the intel_texture_image that is already passed to intel_copy_texsubimage. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.c
|
fbe6836043dff2798571b838096ed59c60ec4438 |
|
20-Jul-2011 |
Brian Paul <brianp@vmware.com> |
intel: remove intelCopyTexImage1D/2D()
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
440224ab73ba19a96629c34e21fe976d1395e483 |
|
09-Jul-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Recognize all depth formats in get_teximage_readbuffer. The existing code was missing GL_DEPTH_COMPONENT32, resulting in it wrongly returning the color buffer instead of the depth buffer. Fixes an issue in PlaneShift 0.5.7 when casting spells. The game calls CopyTexSubImage2D on buffers with a GL_DEPTH_COMPONENT32 internal format, which (prior to this patch) resulted in an attempt to copy ARGB8888 to X8_Z24. Instead of adding the missing enumeration directly, convert the code to use _mesa_is_depth_format() and _mesa_is_depthstencil_format() as these should catch any newly added depth formats in the future. NOTE: This is a candidate for the 7.10 and 7.11 branches. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
b17aab5753a6d14c9e757bedb186963b2dae8823 |
|
31-May-2011 |
Eric Anholt <eric@anholt.net> |
intel: Move the draw_x/draw_y to the renderbuffer where it belongs. It was originally located in the region because the tracking of depth/color buffers was on the regions, and getting back to the irb would have been tricky. Now, we're keying off of the renderbuffer in more places, which means we can move these fields where they belong. This could fix potential rendering failure with a single texture having multiple images attached to different renderbuffers across shareCtx (as far as I can tell, this was the only failure we could cause, since anything else should trigger intel_render_texture in between, for example a BindFramebuffer). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
d1fc920f613aa349e6721963e22e12c6eb49e3f9 |
|
01-Mar-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
intel: Support glCopyTexImage() from ARGB8888 to XRGB8888. Nexuiz was hitting a software fallback.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
c0ad70ae31ee5501281b434d56e389fc92b13a3a |
|
05-Feb-2011 |
Neil Roberts <neil@linux.intel.com> |
intel: Try using glCopyTexSubImage2D in _mesa_meta_BlitFramebuffer In the case where glBlitFramebuffer is being used to copy to a texture without scaling it is faster if we can use the hardware to do a blit rather than having to do a texture render. In most of the drivers glCopyTexSubImage2D will use a blit so this patch makes it check for when glBlitFramebuffer is doing a simple copy and then divert to glCopyTexSubImage2D. This was originally proposed as an extension to the common meta-ops. However, it was rejected as using the BLT is only advantageous for Intel hardware. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33934 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
bf4dffb8ef5d02cbb4c5ff6d68b761a11d04a612 |
|
24-Dec-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary headers.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
290a1141bc561cbd8fd2bbbb0a7c24d1b6abe0b4 |
|
15-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Support glCopyTexImage() from XRGB8888 to ARGB8888. The only mismatch between the two is that we have to clear the destination's alpha to 1.0. Fixes WOW performance on my Ironlake, from a few frames a second to almost playable.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
ec03b316b4dc5d56b8510cc5aeb0f71a4fdada18 |
|
15-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Try to sanely check that formats match for CopyTexImage. Before, we were going off of a couple of known (hopeful) matches between internalFormats and the cpp of the read buffer. Instead, we can now just look at the gl_format of the two to see if they match. We should avoid bad blits that might have been possible before, but also allow different internalFormats to work without having to enumerate each one.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
e65c643792d1327a0a491f5d4a707467a6955746 |
|
15-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Drop commented intel_flush from copy_teximage. The blit that follows appears in the command stream so it's serialized with previous rendering. Any queued vertices in the tnl layer were already flushed up in mesa/main/.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
99c7840b0c10dbc731cad93b02b3865855ad086b |
|
15-Dec-2010 |
Eric Anholt <eric@anholt.net> |
intel: Update renderbuffers before looking up CopyTexImage's read buffer. Not fixing a particular bug, just noticed by code inspection.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
f5cbe04b69581ed64ac3d4d6326cb9663edf25f1 |
|
21-Nov-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary header.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
bb1540835056cdea5db6f55b19c0c87358f14cd1 |
|
03-Nov-2010 |
Eric Anholt <eric@anholt.net> |
intel: Annotate debug printout checks with unlikely(). This provides the optimizer with hints about code hotness, which we're quite certain about for debug printouts (or, rather, while we developers often hit the checks for debug printouts, we don't care about performance while doing so).
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.c
|
3316a542050182d159ed5e5e07aa62839f293b69 |
|
12-Oct-2010 |
Eric Anholt <eric@anholt.net> |
intel: Allow CopyTexSubImage to InternalFormat 3/4 textures, like RGB/RGBA. The format selection of the CopyTexSubImage is pretty bogus still, but this at least avoids software fallbacks in nexuiz, bringing performance from 7.5fps to 12.8fps on my machine.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
66708fd8a98cc28dab756b9e29d026194ccdfcee |
|
05-Aug-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
intel: Check for a NULL src buffer prior to blt This can only happen along a malloc failure path, but check anyway. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
4527faa3440ffbd4a4ecc356630071fa1e94e7e8 |
|
05-Jun-2010 |
Eric Anholt <eric@anholt.net> |
intel: Update comment in intel_tex_copy from before miptree x/y rework.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
c7c64d97836c71eaf2ee3fc6d384877170b8c844 |
|
01-Jun-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Fallback to meta if we're asked to CopyTexImage2D from RGB to RGBA The pixel transfer rules state that we must set alpha to 1.0 in this case which we can't easily do with the blitter. We can do to passes: one that sets the alpha to 0xff and one that copies the RGB bits or we can just use the 3D engine. Neither approach seems worth it for this case.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.c
|
581c773e81cdc467be2d09a0ccd76c0de3cba529 |
|
30-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Use fb->Height when flipping read buffer orientation With DRI2, x and y are always zero and fb->Height is always up to date with the drawable height.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
362c1bf75eb74de5b4655c481b74f79718ed4a34 |
|
17-Mar-2010 |
Eric Anholt <eric@anholt.net> |
intel: Replace mt->pitch with mt->region->pitch. The pitch is not really an inherent part of the miptree, since it's not part of any of the layout calculations, and it's dictated by the libdrm-allocated region pitch now.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.c
|
2792baec343e5773ff51e93c1b6df8b63d3af4af |
|
27-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Remove dead code from having to clip copyteximage source rect. mesa core does it now. If only it did so for other entrypoints.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
9b22427911ad27efc1f36faee9462c6082d0417c |
|
25-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
|
fb6bff3712d71cfe131fbf70154d326cdf39e7c8 |
|
23-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
intel: Remove unnecessary headers.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
ae44b92f61b78c9991060a8dd7fa7327d428c138 |
|
05-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Merge branch 'remove-intel-dri1' * remove-intel-dri1: intel: intelScreenContext() is no longer used intel: Remove remaining dri2.enabled tests intel: Drop more cliprect bookkeeping intel: Remove struct intel_framebuffer intel: Remove client-side vblank code intel: Drop intelWindowMoved() intel: Drop batchbuffer cliprect_mode tracking intel: Drop DRI1 static regions intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region() intel: Drop LOCK/UNLOCK_HARDWARE() intel: Drop DRI1 SwapBuffer implementation intel: Drop DRI1 CopySubBuffer implementation intel: Drop DRI1 support Push __driDriverExtensions out of dri_util.c and into the drivers Remove leftover __DRI{screen,drawable,context}Private references Check for libdrm_$chipset.pc when needed
|
19a26dfc474618ecfe881846a8c9dac221332d44 |
|
04-Jan-2010 |
Eric Anholt <eric@anholt.net> |
intel: Fix CopyTexImage from tiled mipmap levels > 0. Fixes piglit fbo-copyteximage.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.c
|
d61f07318c8678901b948fdaa8ccdf37aa3203e9 |
|
01-Jan-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Remove leftover __DRI{screen,drawable,context}Private references As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
c67bb15d4e3da430d511444bd7d159ccb0c84b73 |
|
29-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
intel: Silence compiler warnings.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
465fee75ee8991349da742e5a1a5be3cd179bb62 |
|
21-Nov-2009 |
Roland Scheidegger <sroland@vmware.com> |
intel: make CopyTex[Sub]Image fallback debug messages more consistent
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
3727858ceb324c955b00ae29b8c1e12f47060fce |
|
13-Nov-2009 |
Eric Anholt <eric@anholt.net> |
i965: Remove an unused cache_item field.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
3c716669211c00d106ded2df342b4a2525f4795b |
|
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: minor clean-up, comments
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
7fd8c6ca2a6e94d60c02e9c271b00c565c2464cb |
|
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: use _mesa_get_current_tex_unit() helper
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
3e45788d5dd7af4635988d8fd9f1bfaa77d1dd9c |
|
27-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: fix src offset bug in do_copy_texsubimage() Use src->draw_offset intead of zero. Zero usually worked, except when the src renderbuffer is actually a texture mipmap level higher than zero. Fixes progs/test/blitfb.c test.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
49d402e275cdaf46de8db5a475dfe00509141195 |
|
23-Oct-2009 |
Eric Anholt <eric@anholt.net> |
Merge remote branch 'origin/mesa_7_6_branch' Conflicts: src/mesa/drivers/dri/intel/intel_fbo.c src/mesa/drivers/dri/intel/intel_mipmap_tree.c src/mesa/drivers/dri/intel/intel_mipmap_tree.h src/mesa/drivers/dri/intel/intel_tex_copy.c src/mesa/drivers/dri/intel/intel_tex_image.c
|
2d17dbfb5346b6d75e87c839148cbe125bf5cd6d |
|
09-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Keep track of x,y offsets in miptrees and use them for blitting. By just using offsets, we confused the hardware's tiling calculations, resulting in failures in miptree validation and blit clears. Fixes piglit fbo-clearmipmap. Bug #23552. (automatic mipmap generation)
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
e6594a22f298833eeb6881795b24d03d2fd8e898 |
|
13-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: pass zslice to intel_miptree_image_offset() This lets us get rid of intel_miptree_depth_offsets() and simplify all of the calling code.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
55770d09c18c4d33403abb97dfef4f897efbbe2a |
|
05-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch' Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
|
79892e7976fbb91ae426f5868d5f453e977c1f17 |
|
05-Oct-2009 |
Brian Paul <brianp@vmware.com> |
intel: use driReadDrawable in do_copy_texsubimage()
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
8fda97afb8b7a03415dbca6d83691d2d6461126c |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_6_branch'
|
151e0c0aeaa78f4eb6a87d2b3dd86b4807db1523 |
|
25-Sep-2009 |
Michel Dänzer <daenzer@vmware.com> |
intel: Handle GL_RGB8 for glCopyTex(Sub)Image. Avoids an unnecessary fallback.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
af693464466aab161fe24700a0c2865c774ccf80 |
|
19-Sep-2009 |
Brian Paul <brianp@vmware.com> |
intel: use new _mesa_meta_CopyTex[Sub]Image() functions
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.c
|
0dc700850acb81c7088ab740959441521f8d38d9 |
|
10-Jul-2009 |
Eric Anholt <eric@anholt.net> |
intel: Partially fix fallback detection for glCopyTexSubImage. Really, we should be checking that the MesaTexFormat for the read buffer and the texture match, but the previous code wasn't even doing that, so matching the cpp should be an improvement (and potentially fix some hangs!). The previous code also rejected GL_RGB even though blitting the alpha channel to the ignored channel of an x8r8g8b8 texture should be fine, which tripped up compiz's blur plugin.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
8f81a6468fdbc7320800ea497791e3e1b8f782ca |
|
22-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Avoid trying to do blits to Y tiled regions. This is somewhat nasty, but we need to do Y-tiled depth for FBO support. May help with corruption and hangs since enabling texture tiling, and since switching depth textures to Y tiled. Fixes piglit depthtex.c on 965.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
246d59c29e3e5a57dcf2f60ad429eb1606193ef0 |
|
22-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Fix some potential writes to zero-copy PBOs when used as regions. I was in the midst of fixing some blitting-with-Y-tiled issues when I noticed this. Hopefully PBO usage will be a little more robust, as a result.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.c
|
4eb9e58bbb3b2b9db4c795134b2daa2ecf29fd20 |
|
09-Jun-2009 |
Brian Paul <brianp@vmware.com> |
intel: whitespace clean-ups
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
1ba96651e12b3c74fb9c8f5a61b183ef36a27b1e |
|
03-Jun-2009 |
Eric Anholt <eric@anholt.net> |
intel: Add support for tiled textures. This is about a 30% performance win in OA with high settings on my GM45, and experiments with 915GM indicate that it'll be around a 20% win there. Currently, 915-class hardware is seriously hurt by the fact that we use fence regs to control the tiling even for 3D instructions that could live without them, so we spend a bunch of time waiting on previous rendering in order to pull fences off. Thus, the texture_tiling driconf option defaults off there for now.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
129f311673c99eb912d659023e50bc5f0ef53249 |
|
18-May-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
intel: Clip to window after calling Driver.TexImage2D This prevents the width / height from being clipped to the window size before the texture is allocated. This matches intelCopyTexImage1D. This should fix bug #21227 Signed-off-by: Ian Romanick <ian.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.c
|
1e7785fe0721f66ca9523da0dc338d26256736bb |
|
19-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Move copyteximage source clipping out of copytexsubimage. glCopyTexSubImage already gets the (correct) clipping for us, so it doesn't need the path. While moving the clipping out, replace the code with the mesa path to do the same job.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
75b26e18a64b2fb1962e5e49dfaebd257c734ecc |
|
07-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix crash in automatic mipmap generation for glCopyTex{Sub,}Image. The images aren't mapped at this point, so we want the generic Mesa path for GenerateMipmapEXT that does the mapping/unmapping for us. Ideally Mesa would just call it for us.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
bdc8ac4426f00eaafbe8ca0d356563efe390294d |
|
04-Dec-2008 |
Eric Anholt <eric@anholt.net> |
intel: Put CopyTexImage fallback under DEBUG_FALLBACKS not DEBUG_TEXTURE.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
3e0164aabb48a99fce58964cad99fd3978ee84f6 |
|
21-Nov-2008 |
Eric Anholt <eric@anholt.net> |
i965: Add support for accelerated CopyTexSubImage. There were hacks in EmitCopyBlit before to adjust offsets so that y=0 after the offsets had been adjusted for a negative pitch. It appears that those hacks were due to an unclear and surprising aspect of the hardware: inverting the pitch results in the blit into the specified rectangle being inverted, without the user needing to adjust y and base offset. Tested with piglit copytexsubimage test on 915GM and GM965. Should fix serious performance issues with ETQW and other applications.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
4741dbcbbc2514de370a760f4b78a17491014555 |
|
02-Oct-2008 |
Ian Romanick <ian.d.romanick@intel.com> |
Unify ARB_depth_texture and SGIX_depth_texture The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.c
|
f75843a517bd188639e6866db2a7b04de3524e16 |
|
24-Aug-2008 |
Dave Airlie <airlied@linux.ie> |
Revert "Revert "Merge branch 'drm-gem'"" This reverts commit 7c81124d7c4a4d1da9f48cbf7e82ab1a3a970a7a.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
7c81124d7c4a4d1da9f48cbf7e82ab1a3a970a7a |
|
24-Aug-2008 |
Dave Airlie <airlied@linux.ie> |
Revert "Merge branch 'drm-gem'" This reverts commit 53675e5c05c0598b7ea206d5c27dbcae786a2c03. Conflicts: src/mesa/drivers/dri/i965/brw_wm_surface_state.c
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
1c8791c581ba2e3906a98a74e998dd51dd474ddb |
|
16-Jul-2008 |
Eric Anholt <eric@anholt.net> |
intel: Fix CopyTexSubImage's src tiling arg for the blit. Didn't hurt 915, but needed for 965.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
2e841880cfc1006a2818d4a8bfefd21136dc39a9 |
|
11-Jul-2008 |
Eric Anholt <eric@anholt.net> |
drm-gem: Use new GEM ioctls for tiling state, and support new swizzle modes.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.c
|
93f701bc3619864ac6f067d37212e96545a57e16 |
|
26-Jun-2008 |
Eric Anholt <eric@anholt.net> |
intel: Replace sprinkled intel_batchbuffer_flush with MI_FLUSH or nothing. Most of these were to ensure that caches got synchronized between 2d (or meta) rendering and later use of the target as a source, such as for texture miptree setup. Those are replaced with intel_batchbuffer_emit_mi_flush(), which just drops an MI_FLUSH. Most of the remainder were to ensure that REFERENCES_CLIPRECTS batchbuffers got flushed before the lock was dropped. Those are now replaced by automatically flushing those when dropping the lock.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.c
|
46eb02b60920a920b782bacb15f01b44e18f888d |
|
22-Jan-2008 |
Kristian Høgsberg <krh@temari.boston.redhat.com> |
[intel] Clean up references to screen buffer metrics. The screen wide info such as pitch and cpp are obsoleted by the FBO changes, so clean up the last few references to those, except for setting up the legacy screen regions.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.c
|
f00a64999c197e6a96e65fd00f64224a6f22c9fa |
|
17-Nov-2007 |
Eric Anholt <eric@anholt.net> |
[intel] Add 965 support to shared intel_blit.c This requires that regions grow a marker of whether they are tiled or not, because fence (surface) registers are ignored by the 965 2D engine.
/external/mesa3d/src/mesa/drivers/dri/intel/intel_tex_copy.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_copy.c
|