Karl Schultz
c3f2c287ce
Fix logic error in viewport function so that we still resize the buffers if the viewport and the window both change to the same new size. This lets the gloss demo work with the -f option.
před 19 roky
Brian Paul
9e81d6ae3a
When creating front/back renderbuffers, init the Red/Green/Blue/AlphaBits fields
před 19 roky
Brian Paul
94d6bf883b
Init the Red/Green/Blue/Alpha/Depth/StencilBits fields in driNewRenderbuffer()
před 19 roky
Brian Paul
84c5d0a789
comments regarding assertions
před 19 roky
Karl Schultz
dd7074736f
Use [][3] for write_rgb_span_16
před 19 roky
Brian Paul
ef8b89faee
some comments for Darwin
před 19 roky
Brian Paul
159ca321cb
added glfbdev.h to MAIN_FILES
před 19 roky
Brian Paul
ec83f38e2e
fix bad call to FindLine()
před 19 roky
Brian Paul
197d725601
added -f option for full-screeen
před 19 roky
Brian Paul
693a66aea9
press '0' for glDrawBuffer(GL_NONE)
před 19 roky
Brian Paul
8ea3353ec3
XMesaDrawLine macro, not currently used
před 19 roky
Karl Schultz
87af12dbdc
Fixes from Brian to help migrate to render buffer DD interfaces. Also fix bug in the viewport function that was using the viewport size to resize the buffer, when it should have been using the window size. Fix bug in write_rgb_span_32 where the incoming pixel data parameter was coded as a [][4] instead of [][3]. Now all the demos work correctly except singlebuffer.
před 19 roky
Karl Schultz
a8c9ecfab0
Fixes from Brian
před 19 roky
Dave Airlie
4ecb9f0532
Fix up some incorrect pointers and clear screen
před 19 roky
Dave Airlie
8b186e3695
add initial miniglx files for i915, not integrated yet
před 19 roky
Karl Schultz
e43edd3c70
Updated for Mesa 6.5
před 19 roky
Brian Paul
20e15f9381
Add -ansi -pedantic flags to OPT_FLAGS. This got lost at some point. Good for catching sloppy coding.
před 19 roky
Brian Paul
75a8383e8d
Update the _WindowMap matrix in _mesa_set_viewport() and _mesa_DepthRange().
This is a temporary fix for the DRI drivers.
Should really only have to update the matrix via _mesa_update_state().
před 19 roky
Brian Paul
920023240c
put braces around RENDER_SPAN macro when called, not when defined. Fixes -pedantic warnings in x11 driver
před 19 roky
Brian Paul
62c325af3f
fix GETPROCADDRESS usage, remove carriage return chars (bug 6430)
před 19 roky
Brian Paul
32244ac7e9
s/glslnose.c/glslnoise/ (bug 6430)
před 19 roky
Kristian Høgsberg
3a6d968f37
Fixes to silence warnings in code generated by glapi scripts.
před 19 roky
Karl Schultz
cec74532bf
Add newest source code files to project.
před 19 roky
Brian Paul
f331bb0312
added some no-op virtual destructors to silence g++ 4.0.0 warnings
před 19 roky
Brian Paul
c3051df8e1
fixes from John Shell (bug 6339)
před 19 roky
Brian Paul
db79d2abac
minor clean-up
před 19 roky
Brian Paul
c19de0b7f6
FP textures and fixes (Ewald Snel)
před 19 roky
Brian Paul
e5b6eee15d
fix components initialization in two places (Ewald Snel)
před 19 roky
Brian Paul
006e183b6e
move NumNativeAlu/TexInstruction assignments (Ewald Snel)
před 19 roky
Jouk Jansen
180b0dab8b
Committing in .
Removing <CR>
Modified Files:
Mesa/src/mesa/main/fog.c Mesa/src/mesa/main/hint.c
Mesa/src/mesa/main/mtypes.h
----------------------------------------------------------------------
před 19 roky
Brian Paul
a85fbb1d36
prep for 6.5 release
před 19 roky
Brian Paul
555478fed6
New code for rendering to depth/stencil textures.
Re-org of the renderbuffer wrapper code.
před 19 roky
Brian Paul
2742c4e4db
new tests for GL_DEPTH_STENCIL_EXT
před 19 roky
Brian Paul
2b430ef56a
a few new assertions
před 19 roky
Karl Schultz
b7a5a9db88
Windows makefile to easily build all demo programs.
před 19 roky
Karl Schultz
888ab86f85
Repair corrupted file and remove rogue 'test' project.
před 19 roky
Brian Paul
2526152a10
fix a GLuint vs GLushort test, new assertions
před 19 roky
Brian Paul
519a2e7cb7
Move the computation of the viewport matrix into a new update_viewport_matrix()
function since the matrix depends on the viewport params and the framebuffer's
depth buffer resolution.
Fixes some renderbuffer / depth range issues.
This simplifies the _mesa_set_viewport() and _mesa_DepthRange() functions too.
před 19 roky
Karl Schultz
b687531f69
Undef a conflicting symbol in Windows.
před 19 roky
Karl Schultz
54b65e080e
add showbuffer.[ch] which could be in this dir after the targets are built.
před 19 roky
Karl Schultz
3076557ca3
Update for new Mesa entry points. I need to change the python script that generates this file to the new XML scheme, but for now, a manual update is OK.
před 19 roky
Karl Schultz
4f21180416
Remove unneeded includes of time.h
před 19 roky
Daniel Borca
c61763b5d2
Match pixel addresses with `compute_row_addresses' in RGB mode (also obey RGB/UNSIGNED_BYTE rule).
před 19 roky
Roland Scheidegger
08e62a1476
fix missing *_STATECHANGE in *UpdateViewportOffset for radeon, r200 and r300 (reported by Jim Duchek). Fix some potential problems with strict-aliasing with r200 and radeon drivers in *UpdateViewportOffset, *PolygonOffset and *UpdateWindow functions (some compiler warnings about strict-aliasing remain in the codegen vertex code, and there may be more problems unnoticed by the compiler).
před 19 roky
Brian Paul
0e26ca0834
updated comment about framebuffer's Visual field
před 19 roky
Brian Paul
e44499480f
added known issue: render to depth textures not working
před 19 roky
Brian Paul
9f6ff49650
update conditional for render to GL_DEPTH_STENCIL texture, check for valid teximage before calling ctx->Driver.RenderTexture()
před 19 roky
Brian Paul
c7a5d528c7
a little code movement so we don't make invalid casts from gl_renderbuffers to xmesa_renderbuffers
před 19 roky
Aapo Tahkola
b8915340ea
fix #6072 (Keith Whitwell)
před 19 roky
Keith Whitwell
1155f64cc0
Revert merge of new/experimental code from texmem branch.
před 19 roky