Brian Paul
315396ac6c
Created new intel_buffers.h file with appropriate prototypes.
Moved body of intelDrawBuffer() into new intel_draw_buffer() which will do
additional things in future.
20 年之前
Brian Paul
a7252f42ae
use correct renderbuffer regions in intelClearWithTris()
20 年之前
Brian Paul
bffc66109e
fix up some loose ends for render to texture, clean-ups
20 年之前
Brian Paul
0089c7f4ee
Checkpoint: render-to-texture starting to work. Had to turn off stencil
in fbotexture.c. Teapot is drawn upside down, not centered...
20 年之前
Brian Paul
66d887d605
Checkpoint render-to-texture. Doesn't function, but doesn't crash either.
20 年之前
Brian Paul
c6dc5cc8ab
update get_teximage_source() to use renderbuffer regions
20 年之前
Brian Paul
e0412bb726
updates to sync with trunk merge
20 年之前
Brian Paul
cc5cbd1bca
Merge from CVS trunk (get render-to-texture updates).
20 年之前
Keith Whitwell
7ad6ea6ff2
Call _mesa_update_state() before checking FragmentProgram->_Enabled
20 年之前
Brian Paul
ceee2c45cd
Fixed bug in intelClearWithBlit(). If clearing multiple cliprects, the
buffer mask was clobbered after the first rect.
Rename 'flags' to 'mask' to be consistent w/ other clearing code.
20 年之前
Brian Paul
26dc161fde
XXX comments
20 年之前
Brian Paul
b176ef05f2
In intelCopyBuffer(), use renderbuffer regions instead of context's region
pointers. Added const qualifiers. Added comments.
20 年之前
Brian Paul
6d6e7a08c7
Fix up intelSwapBuffers:
- get gl_framebuffer pointer from dPriv.
- flush current context if bound to window we're swapping. Previous code
could try to flush a non-current context.
20 年之前
Brian Paul
eb75ec2349
merge from trunk (additional renderbuffer error checks, debug code)
20 年之前
Brian Paul
2a8bd4e329
Replace intel_clip_to_framebuffer(), intel_clip_to_drawable(), and
intel_clip_to_region() with new _mesa_clip_to_region().
20 年之前
Brian Paul
c247268499
added _mesa_clip_to_region()
20 年之前
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
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 年之前