| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Update _eglValidateConfig so that it passes the test.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
|
| |
Set the screen surface size to the mode size, as the spec requires the
screen surface size to be larger than the mode size. Besides, bind the
API to OpenGL as they are written in it.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
| |
It should be called after eglMakeCurrent.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
| |
A successful eglChooseConfig call does not imply there are valid
configs.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
| |
The default value of EGL_RENDERABLE_TYPE is EGL_OPENGL_ES_BIT. The
proper values should be specified if we are not using OpenGL ES.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
|
|
| |
st_api.c is supposed to define st_api_OpenGL to advertise OpenGL
support. However, the linker discards the symbol because it has no
user. It is better to leave this to other state trackers that link to
libmesagallium.a.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
| |
It missed a stub for st_get_proc_address, and st_make_current should
return a boolean.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
| |
Define st_api_OpenVG to advertise OpenVG support.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
| |
This was a silent dependency before, but now we really need 1.4.11 for
INTEL_swap_event support, so check for it.
Signed-off-by: Jesse Barnes <[email protected]>
|
|\
| |
| |
| |
| |
| | |
Conflicts due to DRI1 removal:
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_screen.c
|
| |
| |
| |
| |
| |
| | |
Needed to support the SwapBuffers code properly.
Signed-off-by: Kristian Høgsberg <[email protected]>
|
| |
| |
| |
| | |
Print out count, finish rendering, etc. Makes the -sn option more useful.
|
| |
| |
| |
| | |
Since this program is used for testing, catching this case can be helpful.
|
| |
| |
| |
| |
| | |
Doing simple buffer clears isn't enough to actually allocate render buffers, we
need to do real drawing.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Add event support for the GLX swap buffers event, along with DRI2 protocol
support for generating GLX swap buffers events in the direct rendered case.
Signed-off-by: Jesse Barnes <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add support for the DRI2SwapInterval protocol request. This allows
direct rendered clients to control their swap interval per the
SGI_swap_control extension.
Signed-off-by: Jesse Barnes <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add OML_sync_control support, along with a simple program for testing
it. This means adding support for the DRI2GetMSC, DRI2WaitMSC and
DRI2WaitSBC requests.
Signed-off-by: Jesse Barnes <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Support the new DRI2 protocol request, DRI2SwapBuffers, in both direct
and indirect rendering context. This request allows the display server
to optimize back->front swaps (e.g. through page flipping) and allows us
to more easily support other GLX features like swap interval and the OML
sync extension in DRI2.
Signed-off-by: Jesse Barnes <[email protected]>
|
| |
| |
| |
| |
| |
| | |
Mark all functions start with glX as public.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
These functions are the API of Gallium state tracker, and are used by
EGL.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
As the default build has -fvisibility=hidden, add a macro to control the
visibility.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| | |
Mark VG and VGU functions as public.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| | |
Temporary. We should soon have the ability to integrate with any driver
via glx extensions.
|
| |
| |
| |
| |
| | |
As displaying surfaces directly isn't supported by the python state
tracker.
|
| | |
|
| |
| |
| |
| |
| | |
As the python state tracker is not integrated with window system an
cannot present surfaces directly.
|
| |
| |
| |
| | |
It was bugging me. +1 FPS on softpipe.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current glCompressedTexImage support in the state tracker assumes
that compressed textures have minimal pitch.
However, in some cases this is not true, such as for mipmaps of non-POT
compressed textures on nVidia hardware.
This patch adds a check and does a memcpy for each line instead of the
whole image in that case.
Signed-off-by: Keith Whitwell <[email protected]>
Tweaks for C90 compilation.
|
| |
| |
| |
| |
| | |
If somebody goes through that much effort, they probably intended it.
So humor them. :3
|
| |
| |
| |
| | |
copypix works just fine.
|
| |
| |
| |
| |
| |
| | |
the xorg state tracker really wants the driver to handle overlapping
blits, and r300 uses u_blitter for blits. This patch adds overlapping
blit support via a temporary surface when its required.
|
| |
| |
| |
| | |
Argfl. Some of this code is so questionable.
|
| | |
|
| |
| |
| |
| | |
Goddammit, some of these hax are really annoying.
|
| |
| |
| |
| |
| | |
According to the docs, this decreases stalls, and indeed we get a tiny
bit more glxgears from it.
|
| |
| |
| |
| | |
Simplify the code. Added a comment to keep me from doing it again.
|
| |
| |
| |
| | |
I want to stab things now.
|
| | |
|
| |
| |
| |
| |
| | |
On r100 we emit the indices inline so we need to account
for that in the emission size.
|
| |
| |
| |
| | |
This bug was fixed in libdrm ages ago, port to non-kms
|
| |
| |
| |
| |
| |
| |
| | |
Fixes gnome-shell on nouveau, as well as window resize with various
other applications.
Signed-off-by: Ben Skeggs <[email protected]>
|
| |
| |
| |
| | |
Also do state-change checks. ZTOP's too important to not check.
|
| |
| |
| |
| | |
Also a bit of ztop.
|
| |
| |
| |
| | |
Meh.
|
| | |
|
| |
| |
| |
| | |
No benefits yet.
|
| |
| |
| |
| |
| |
| |
| | |
Explain how to build for windows. Both MSVC 9 and cross MinGW supported.
Stop documenting LLVM 2.5 as supported. It still supported at the moment
but it will soon stop being.
|