| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This has been sitting around for a while. Incomplete, but a good start.
|
|
|
|
| |
They are not used at all.
|
|
|
|
|
| |
Include the glapi*.h directly instead. glapi/dispatch.h became a Mesa
core header since 22884db174b9fb0736cec1c6a192f8b9a97500c1.
|
|
|
|
| |
Update the instructions and add references to egl.html.
|
|
|
|
|
| |
This is a short guide to EGL. The drivers that are to be removed soon
are not mentioned in the guide.
|
|
|
|
|
| |
Signed-off-by: Alan Coopersmith <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
|
|
|
|
| |
Using "radeon" instead of "radeong" because we don't have classic EGL.
|
| |
|
|
|
|
| |
lost after switch to common code
|
| |
|
|
|
|
|
| |
Signed-off-by: Alan Coopersmith <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
|
| |
|
|
|
|
| |
noticed by Maciej on IRC.
|
|
|
|
|
| |
Hook the drv->Probe callback to allow the drivers to probe displays.
The loading of state trackers is delayed to avoid unnecessary loading.
|
|
|
|
|
|
| |
The functions can be used to check if a display is supported without
creating a struct native_display. It uses a probe object that can be
shared across drivers.
|
|
|
|
|
|
| |
In current design, multiple drivers will probe the same display and the
best driver is determined. The cache can be used by the drivers to
store and share the probed data.
|
|
|
|
|
| |
Make drv->Probe return a score so that the matching can be done by
finding the driver with the highest score.
|
|
|
|
|
| |
The macro is used to determine if dlfcn.h or dirent.h is available.
POSIX is a better name than X in such case.
|
|
|
|
| |
Remove _eglPreloadDriver, _eglLookupDriver, and _eglSplitDisplayString.
|
|
|
|
|
| |
Replace the use of _eglPreloadDriver by _eglPreloadDrivers. The latter
supports EGL_DISPLAY which have a better chance to "just work".
|
|
|
|
|
|
| |
It can be used to load the user driver specified by EGL_DRIVER, or a set
of drivers specified by EGL_DISPLAY, or the default driver, and in that
order.
|
|
|
|
|
| |
A pipe transfer is supposed to be temporary. It should be created
before X*PutImage and destroyed afterwards.
|
|
|
|
|
|
|
|
| |
Change ar flag from -v (-verbose) to -c (silence console output)
so that it stops causing make_ar_static_lib() to return a bunch
of output other than the resulting library file.
Signed-off-by: Alan Coopersmith <[email protected]>
|
|
|
|
|
| |
Signed-off-by: Alan Coopersmith <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Correctly set EGL_RENDERABLE_TYPE and EGL_CONTEXT_CLIENT_VERSION for
OpenGL ES 2.0. Because es2_info is copied from es1_info, the fix for it
actually goes to es1_info.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| | |
Unlike FBO, eglBindTexImage is supposed to be called after rendering.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
mesa/es should be built before the es state trackers. This is done by
separating those that need to be built early from SRC_DIRS to CORE_DIRS.
The new variable is not exported, and will be prepended to SRC_DIRS.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| | |
Use DESTDIR and MINSTALL.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
In c847a13d38d4e8c5f4c386d060dcc8ec09e491a3, auxiliaries becomes a
single library; In e388d62b4712bcd75cecad53f5ca20a2bb6f89b1, the
default build is changed to have -fvisibility=hidden.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
Add/remove files that are unused/used to the omit list. Finally, they
should all be features that can be omitted.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In cd6b8dd9e82fedc55d033131fbc0f8ee950567c8, color read/type fields are
moved; Based on 068596c9a7e8d330ffdff8ad8700bd6093b5bdea and
cc020425e929110613ddb405d3e82313d27a35ed, GLSL builtin library is
autogenerated and GLSL libraries are built and used.
Signed-off-by: Chia-I Wu <[email protected]>
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
src/mesa/main/dd.h
|
| | |
| | |
| | |
| | |
| | |
| | | |
mesa/es is needed in SRC_DIRS to build es state tracker.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The tests can be toggled by `t'. It will print current texture format
and the size of the image.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add error checking and fix handling of level (it should be negative).
Besides, always use the palette entry format/type when calling
_mesa_TexImage2D. It respects the base internal formats of the cpal
formats, and is simpler and faster, except for cases where the unpack
alignment needs to be changed.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In GL_OES_framebuffer_object and OpenGL ES 2.0, GL_RGB565 is a valid
internal format. Since it is not supported by the core, map it to
GL_RGB5 as a workaround.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Unlike in OpenGL, GL_OES_texture_cube_map says that all coordinates are
changed the same time by the token GL_TEXTURE_GEN_STR_OES, and the
initial mode is GL_REFLECTION_MAP_OES.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add some new extensions and remove those that do not belong to
OpenGL ES 2.0.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit adds definitions of
GL_EXT_texture_compression_dxt1
GL_EXT_texture_lod_bias
GL_EXT_blend_minmax
GL_EXT_multi_draw_arrays
to APIspec.xml and get_gen.py. Some of the enums are not avaiable in
the header files and the defining extensions are disabled.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit adds definitions of
GL_OES_texture_half_float_linear, GL_OES_texture_float_linear
GL_OES_texture_half_float, GL_OES_texture_float
GL_OES_vertex_half_float
GL_OES_vertex_type_10_10_10_2
GL_OES_get_program_binary
GL_EXT_texture_compression_dxt1
GL_EXT_texture_format_BGRA8888
GL_EXT_texture_lod_bias
GL_EXT_blend_minmax
GL_EXT_read_format_bgra
GL_EXT_multi_draw_arrays
to glapi.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
es_generator.py did not generate code for special functions. They were
supposed to be defined elsewhere. But as a result, parameter checking
was also skipped. This commit changes the way special functions are
called so that parameter checking is always performed.
When there is nothing to check, the check functions becomes macros
expanding to the real functions, as an optimization.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Remove unused GetLoopSizeExpression.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Have get_gen.py generate _mesa_GetFixedv. The generated function does
all the checkings and thus simplifies APIspec.xml a bit.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some attributes are constant in a switch. Raise an exception if they
are not.
Signed-off-by: Chia-I Wu <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Update Makefile and ES generator to use APIspec.xml. Remove APIspec.txt
and related files.
Signed-off-by: Chia-I Wu <[email protected]>
|