Keith Whitwell
bcc4804410
When clearing, refresh the cx/y/w/h values as they may have been
invalidated by a new window position or size picked up when we did
LOCK_HARDWARE above. The values passed by mesa are not reliable.
20 년 전
Keith Whitwell
a03b239041
Add fgl_glxgears to makefile
20 년 전
Brian Paul
4890c7ed87
set per-context GL_DRAW_BUFFER state regardless of currently bound FBO
20 년 전
Brian Paul
17c33d6f04
fix depth-component test to allow rectangular textures
20 년 전
Keith Whitwell
5ab599600e
Additional flushing.
20 년 전
Keith Whitwell
db4b6fd759
Copying overlapping rects works if they are in different buffers...
20 년 전
Keith Whitwell
dbb2f30ad3
Fix culling calculations for FBOs
20 년 전
Brian Paul
9c84dfe156
glPopAttrib() GL_DRAW_BUFFER state fix, from trunk
20 년 전
Brian Paul
8d86325516
remove a debug message
20 년 전
Keith Whitwell
8ecd83f6cd
silence debug messages
20 년 전
Brian Paul
cff7e025ed
fix ReadBuffer mapping bugs
20 년 전
Thomas Hellström
3de9a9bd1d
Bump driver date.
Keep the lock mutex locked while we hold the heavyweight lock.
20 년 전
Keith Whitwell
e6cae6e6f6
Turn compiler optimizations back on.
20 년 전
Thomas Hellström
9cf5945b83
Age the last_swap_fence properly.
Should be safe unless the client idles without rendering for some
time, while another client renders.
20 년 전
Keith Whitwell
d6ddc33f07
Protect the DRI __driUtilUpdateDrawable code and other "complex" code
inside intelGetLock() with a mutex. Fixes problems with multithreaded
applications dying when moving windows, etc. There seem to be multiple
traps for threaded apps in that code, this is a bandaid on those.
20 년 전
Brian Paul
ec32d129b7
remove a temporary FBO test in intel_map_unmap_buffers() - fixes flickering in tunnel demo
20 년 전
Thomas Hellström
cd41c27446
zero-valued fences are not considered retired for a system that has been
running for a day or so. Initialize to a better value.
20 년 전
Brian Paul
af6a480117
remove some unneeded code
20 년 전
Brian Paul
14e9700621
merge from trunk
20 년 전
Brian Paul
7fb177c367
Shorten ctx->Driver.RenderbufferTexture to ctx->Driver.RenderTexture since
calls to it no longer directly correspond to glRenderbufferTextureEXT.
20 년 전
Brian Paul
d65cda4ce3
Implement software fallback for render-to-texture when the texture format
can't be rendered by the hardware.
20 년 전
Brian Paul
460a375d85
fix a couple issues in _mesa_free_framebuffer_data()
20 년 전
Brian Paul
c3c5652602
comments
20 년 전
Brian Paul
e1998baef8
Implement rendering to textures for any mipmap level, any cube face, any
3D texture slice.
Added draw_offset to intel_region struct.
20 년 전
Brian Paul
3e980901b0
check if copying from FBO, adjust x, y accordingly
20 년 전
Brian Paul
14fe63a12b
Check for incomplete framebuffer in _mesa_Clear()
20 년 전
Brian Paul
fbd147c0b5
unlock mutex before freeing data (caught w/ valgrind)
20 년 전
Brian Paul
7b7c54e94c
Replace _mesa_destroy_context() with _mesa_free_context_data() because ctx
is a member of the intel_context struct and the former calls frees the
ctx pointer - BAD.
20 년 전
Brian Paul
84dd9c8112
silence several -pedantic warnings
20 년 전
Brian Paul
bba85343e7
remove stray semicolon
20 년 전
Brian Paul
6484b373c3
s/inline/INLINE/ to allow use of -ansi flag with gcc.
20 년 전
Brian Paul
245a3c54c7
merge from trunk
20 년 전
Brian Paul
1266e633cc
In i915/i830_update_tex_unit() get the firstImage pointer _after_ we've called
intel_finalize_mipmap_tree().
This fixes a problem where the wrong mipmap level was used when the
texture's GL_TEXTURE_BASE_LEVEL value wasn't zero. But this only happened
the first time the texture was used. That took a while to track down!
20 년 전
Brian Paul
86042f53f2
added some missing formats in _mesa_source/dest_buffer_exists()
20 년 전
Brian Paul
068062f997
better switch cases
20 년 전
Brian Paul
c62af8e3b7
update scissor at end of intel_draw_buffer()
20 년 전
Brian Paul
8e5650d7f4
no need to pass ctx to _mesa_clip_to_region()
20 년 전
Brian Paul
65f1cf2cbf
update i915/i830Scissor to use DrawBuffer instead of driDrawable bounds
20 년 전
Brian Paul
f04f5e990a
minor clean-ups
20 년 전
Brian Paul
1854ebe77e
more fixes and clean-up in intelCopyBuffer()
20 년 전
Brian Paul
3500f2e3c4
some comments
20 년 전
Brian Paul
cfeefc9b81
just comments
20 년 전
Brian Paul
3ad6adfb57
another intelFlush() call
20 년 전
Brian Paul
8a126f1166
fix some mapping bugs
20 년 전
Brian Paul
6315aabcf2
check for NULL rb in _mesa_framebuffer_renderbuffer()
20 년 전
Brian Paul
a8c2344364
Added an intelFlush() call inside intel_bind_framebuffer() to be sure
any previous rendering is completed. Not sure why this is needed when
_mesa_BindFramebufferEXT() does a FLUSH_VERTICES() call.
This fixes an offset/wrap-around bug when rendering to FBOs.
20 년 전
Brian Paul
2929b2569b
added render/framebuffer locking for thread safety
20 년 전
Brian Paul
f14790d7b0
tweak to render-to-texture region code
20 년 전
Brian Paul
8fb2e61801
In intelCopyBuffer() use current context, not dPriv->driContextPriv->driverPrivate.
The later can lead to nested locking attempt with threaded apps.
20 년 전
Brian Paul
b3c94f9d9d
move prevLockFile/Line into context struct
20 년 전