Corbin Simpson
0087322729
r300g: Clean up blend masks, change caps.
progs/tests/drawbuffers should work, except I can't test it. GG new
shader parser. GG.
před 15 roky
Corbin Simpson
2e481e9fad
gallium-docs: Minor grammar, need to talk about dual-source blends.
před 15 roky
Corbin Simpson
505a43aff2
gallium-docs: Clean up constantbuf info a bit.
Hmm, does this belong in context, next to set_constant_buffer? Maybe
a paragraph in shaders might be useful.
před 15 roky
Corbin Simpson
a5f7c63fc0
gallium-docs: Add PIPE_CAP info.
před 15 roky
Eric Anholt
f20e83210e
intel: Set the region's tiling to none when attaching a PBO to a region.
Note that when detaching the PBO from the region and making a new BO
for the region, we don't make it tiled even if the region originally
was.
Fixes piglit pbo-teximage-tiling.
před 15 roky
Eric Anholt
c9886d535e
i915: Remove unused initial and current state, now that there's nothing else.
před 15 roky
Eric Anholt
f9439e4a46
intel: Remove long-disabled meta readpixels, and associated meta support.
před 15 roky
Jakob Bornecrantz
c75e238434
st/xorg: Update to new libkms interface but be backwards compatible
před 15 roky
Alan Hourihane
32e6043150
define own embedded target and cleanup previous commit.
před 15 roky
Alan Hourihane
75cd6f3ece
Don't define HAVE_POSIX_MEMALIGN for embedded target.
před 15 roky
Roland Scheidegger
9b346f83a7
Merge commit 'origin/perrtblend'
Conflicts:
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/include/pipe/p_defines.h
před 15 roky
Roland Scheidegger
2fa34bf44c
gallium: remove PIPE_CAP_S3TC, and add PIPE_CAP_DUAL_SOURCE_BLEND
there's no point in keeping deprecated PIPE_CAPS around since there's no
stable interface (yet).
Reuse the enum for PIPE_CAP_DUAL_SOURCE_BLEND. Drivers advertizing this
will accept the pipe blendfactors with SRC1 in them and be able to do dual
source blending (src color from pixel shader output 0, and blendfactor with
SRC1 will come from output 1, only one render target may be bound when using
any of these blend factors).
před 15 roky
Alan Hourihane
bd60e6cd5c
add PIPE_SUBSYSTEM_EMBEDDED when embedded platform used
před 15 roky
Michal Krol
9e895831bc
tgsi: Constants declared with ureg_DECL_constant() are one-dimensional.
This is to maintain backward compatibility with drivers
that don't support arrays of constant buffers.
před 15 roky
Michal Krol
3ba2ab3a23
tgsi: Add ureg_property_gs_output_prim/max_vertices().
před 15 roky
Michal Krol
6522804cb3
docs: Implement constant buffer CAPs.
před 15 roky
Michal Krol
3320acb67d
softpipe: Report some sane values for constant buffer CAP queries.
před 15 roky
Michal Krol
25123e0c88
gallium: Add CAPs for constant buffers.
před 15 roky
Michal Krol
7c5f255201
gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.
před 15 roky
Michal Krol
333c035a51
regress: Add vertex shaders tests for constant buffers.
před 15 roky
Michal Krol
9851644435
gallium: Enable multiple constant buffers for vertex and geometry shaders.
před 15 roky
Michal Krol
44ac4c4e2c
regress: Add fragment shader test for one-dimensional constant buffers.
před 15 roky
Michal Krol
4771e536e1
regress: Add two-dimension constant buffer test.
před 15 roky
Michal Krol
91d58c3520
python: Link to ws2_32 on windows.
před 15 roky
Michal Krol
dcf8543ab3
tgsi: Handle two-dimensional constants in text parser.
před 15 roky
Michal Krol
d96bb01d2d
regress: Fix shader header.
před 15 roky
Michal Krol
835bab0143
gallium: Implement 2D constant buffers for fragment shader in softpipe.
před 15 roky
Michal Krol
4367de152c
tgsi: Handle 2-D declarations.
před 15 roky
Michal Krol
0adfdaeaa1
gallium: Add tgsi_declaration_dimension token.
This will allow us to declare two-dimensional constant buffers.
před 15 roky
Corbin Simpson
241a0b8cf3
radeong: Slight improvement to buffer creation.
před 15 roky
Corbin Simpson
f0a3f824ac
gallium-docs: Moar buffer info.
Oh look, that one question about map_buffer_range is answered.
před 15 roky
Corbin Simpson
2102ee204c
gallium-docs: Start doc'ing screen buffers.
před 15 roky
Corbin Simpson
12f97d9c09
r300g: Fix bizarre half-flushes with immd mode.
před 15 roky
Corbin Simpson
b9ae570bab
r300g: Atomize framebuffers.
There might be some optimizations possible here...
před 15 roky
Chia-I Wu
14cbf324dc
docs: Update the developer section of egl.html.
Mainly to add a subsection on the lifetime of display resources.
před 15 roky
Vinson Lee
51ab599ddb
scons: Do not use linker option '-Bsymbolic' on Mac OS X.
ld on Mac OS X does not recognize the option '-Bsymbolic'.
před 15 roky
Chia-I Wu
6baa2c8d02
egl: Migrate drivers to use _eglBindContext.
_eglMakeCurrent is a big hammer that is not easy to use. Migrate
drivers to use _eglBindContext and un-export _eglMakeCurrent.
před 15 roky
Chia-I Wu
45ba533243
egl: Correctly unbind contexts in eglReleaseThread.
MakeCurrent unbinds the current context of the current API. Modify the
current API to make sure all contexts are correctly unbound.
před 15 roky
Chia-I Wu
17330479b3
egl: eglMakeCurrent should accept an uninitialized display.
When no context or surface are given, the display is allowed to be
uninitialized. Most drivers cannot handle an uninitialized display.
But they are updated to at least throw a fatal message.
před 15 roky
Chia-I Wu
959481ad70
egl: Add _eglBindContext.
It works similar to _eglMakeCurrent, except that the old context and
surfaces are returned instead of destroyed. _eglMakeCurrent is now
calling the new _eglBindContext.
před 15 roky
Chia-I Wu
a933259daa
egl: Use a boolean to indicate whether a display is initialized.
The driver pointer of the display was used to decide whether a display
is initialized. Use a boolean for that purpose allows accessing the
driver of an uninitialized display.
před 15 roky
Vinson Lee
8f81769148
scons: Fix GLEW build on Mac OS X.
před 15 roky
Vinson Lee
5dcc088bf1
tgsi: Silence uninitialized variable warning.
před 15 roky
Vinson Lee
1eb1d4e238
radeon: Silence "format" compiler warnings.
před 15 roky
Vinson Lee
347cd2b0d5
st/xorg: Remove unnecessary headers.
před 15 roky
Vinson Lee
4030cd5a2d
st/dri: Remove unnecessary headers.
před 15 roky
Vinson Lee
c2bd1657a8
llvmpipe: Remove unnecessary headers.
před 15 roky
Brian Paul
714d3ec9bc
swrast: s/FIXED_TO_FLOAT/FixedToFloat/
před 15 roky
Vinson Lee
978568c647
r300g: Remove unnecessary headers.
před 15 roky
Brian Paul
dd89ac249c
mesa: fix int/uint comparison warnings
Reported by Karl Schultz.
před 15 roky