Brian Paul
af4d93f256
Fix some issues with depth renderbuffers. 3D rendering into FBOs seems OK now.
Misc clean-ups in other places.
20 年之前
Brian Paul
c8dd839acb
remove debug code
20 年之前
Brian Paul
e43c3c38fb
simplify intelClearWithTris() for renderbuffers
20 年之前
Brian Paul
9194782fdc
Merge i915_set_draw_region() and i915 meta_draw_region() into new i915_state_draw_region().
20 年之前
Brian Paul
ec36d5b537
undo a debugging hack
20 年之前
Brian Paul
6e5da1a860
intelClearWithTriangles now handles FBOs.
Had to fix up i915 meta_draw_region() function.
Try to combine some duplicated code in next check-in.
20 年之前
Brian Paul
21f6e8a2d0
added BUFFER_BITS_COLOR
20 年之前
Brian Paul
18772c9e88
sync with trunk (GL_READ/DRAW_BUFFER queries)
20 年之前
Brian Paul
5df4283b53
FBO Checkpoint:
Basic FBO hardware rendering now working (fbotest1.c works at least).
20 年之前
Brian Paul
6734bab3b2
Checkpoint FBO work:
The progs/tests/fbotest1.c demo works (yeah!), with some caveats:
- Only glClear is done in hardware, actually rendering is sw fallback now.
- Initial expose/draw is broken, works on subsequent draws.
Lots of changes in fallback/span code for FB objects.
Almost full rewrite of intelClearWithBlit() for renderbuffers.
Total rewrite of intelDrawBuffer() function.
Add FBO support to intelClearWithTris() but is currently broken.
Temporary hack in MakeCurrent():
- since we can't create the screen/static renderbuffer regions in
intelCreateBuffer() like we should (no current context with which to lock),
init the renderbuffer's regions in MakeCurrent by copying from
intel->front/back/depth_region.
Still using old DRI front/back/depth mappings for sw rendering to windows.
When those mappings go away, we'll use the new renderbuffer region mappings.
20 年之前
Brian Paul
0a5fea5f96
Don't call Driver->Bitmap() if no image to render
20 年之前
Brian Paul
9b2762d7b9
Call _mesa_resize_framebuffer() in intelWindowMoved() to update Mesa's
notion of window size.
Remove unnecessary ctx->Driver.DepthRange() call from intelWindowMoved().
20 年之前
Brian Paul
571bf7a71b
Change loops from firstLevel to lastLevel to be inclusive of lastLevel
(i.e. change < to <=). Otherwise, 0th image of non-mipmapped textures
wasn't getting mapped and software rendering died.
20 年之前
Brian Paul
4ab3b9aa76
Implement glGetTexImage.
In intel_tex_map_images(), convert strides from bytes to texels for Mesa.
Store the 3D ImageStride now added to core Mesa.
20 年之前
Brian Paul
88c018ee47
remove some const qualifiers since we may need to modify fields for mapping
20 年之前
Brian Paul
cead52ef68
added ImageStride field to gl_texture_image
20 年之前
Thomas Hellström
9cf0ed6059
Verbose error reporting.
Run indent on intel_bufmgr.c
20 年之前
Thomas Hellström
2c1c8dccf7
Clean up flag handling.
20 年之前
Brian Paul
b87f9f6056
thread safety fixes from trunk
20 年之前
Brian Paul
427bf0171d
update assertion
20 年之前
Brian Paul
98c5445c75
make soft_renderbuffer_storage() into public _mesa_soft_renderbuffer_storage()
20 年之前
Brian Paul
15ffb3bbab
checkpoint
20 年之前
Brian Paul
97b570b999
just check-point some FBO code
20 年之前
Brian Paul
e8e6374a16
New code for setting cliprects when rendering to a FBO.
20 年之前
Brian Paul
d9f31f16c0
sync with trunk
20 年之前
Brian Paul
1173198f51
added GL_EXT_framebuffer_blit from trunk
20 年之前
Brian Paul
01a56d23e6
fix more assertions that wrap essential code (-DNDEBUG case)
20 年之前
Brian Paul
bf050799ac
new intel_renderbuffer struct
20 年之前
Brian Paul
3697eca493
new intel_map_unmap_buffers() routine which will eventually be used to map or unmap all renderbuffers which we may need during software rendering
20 年之前
Brian Paul
de2b3506ea
allow format = GL_RGB5, GL_RGBA8
20 年之前
Brian Paul
bfbe2eb6e9
new intel_set_span_functions(), bridge to new code
20 年之前
Brian Paul
8bd395f601
comments
20 年之前
Brian Paul
735925d15b
include intel_fbo
20 年之前
Brian Paul
448a3456a9
Added BindFramebuffer() driver hook.
Rename base_internal_format() to _mesa_base_fbo_format() and make public.
20 年之前
Brian Paul
e176b11b74
init Red/Green/EtcBits = 0 in soft_renderbuffer_storage()
20 年之前
Brian Paul
cdc8771893
added some assertions as prep to removing use of dPriv fields. new comments.
20 年之前
Brian Paul
789399d3f4
Replace code like this:
assert(!drmFoobar());
with:
int k = drmFoobar();
assert(!k);
so that the drm calls don't disappear if we compile with NDEBUG!
20 年之前
Brian Paul
dfa8624e83
just comments, doxygen
20 年之前
Brian Paul
36b64bbd4f
initial skeletons for GL_EXT_framebuffer_object
20 年之前
Keith Whitwell
651985f813
Clear optimizations.
- Correct comparison of stencil writemask with 0xff.
- Do depth with triangles if we are already doing stencil that way.
20 年之前
Keith Whitwell
9f2b49a7b3
Turn the render stage back on.
20 年之前
Keith Whitwell
05c6361b0b
reinstate old unlock + sched_yeild behaviour when nr_cliprects == 0
20 年之前
Keith Whitwell
9621817253
drmOpen/Close hacks to coalesce multiple drm opens
20 年之前
Keith Whitwell
7e2e4a6b1a
Use drmCloseOnce()
20 年之前
Keith Whitwell
656c71ca3f
Check to see if a bufmgr has already been created for the current drm
fd. If so reuse it.
Also, add _glthread_Mutex guards around (some of the) potential
thread-unsafe code.
20 年之前
Thomas Hellström
6ce7055dcc
Remove wait for fence at the end of intelFlush.
20 年之前
Keith Whitwell
c848a65b5e
Use braces around size parameter in BEGIN_BATCH. Hopefully fixes
batch overrun problems.
20 年之前
Thomas Hellström
1ff99fcd50
New libdrm flag numbers.
20 年之前
Keith Whitwell
67342052d2
Add copypix.c demo.
Add PBO version of drawpix.c demo.
20 年之前
Thomas Hellström
ccf52b6784
Move over to libdrm.
At least one lockup remaining with multiple clients when at least one client
is using textures.
20 年之前