| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
These are ARB_ES2_compatibility float variants of the core double
entrypoints. Fixes arb_es2_compatibility-depthrangef.
|
|
|
|
| |
Fix up some details in the xml files and regenerate dispatch files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This effectively redoes 1741ddb747ca0be284315adb4b6fe67ddf292d03 in a
way that allows contexts of different APIs to coexist.
First, the changes to the remap table are reverted. The remap table
(driDispatchRemapTable) is always initialized in the same way regardless
of the context API.
es_generator.py is updated to use a local remap table, whose sole
purpose is to help initialize its dispatch table. The local remap table
and the global one are always different, as they use different
glapidispatch.h. But the dispatch tables initialized by both remap
tables are always compatible with glapi (libGL.so).
Finally, the semantics of one_time_init are changed to per-api one-time
initialization.
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/mapi/glapi/glapi_sparc.S
src/mapi/glapi/glapi_x86.S
src/mapi/glapi/glapidispatch.h
src/mapi/glapi/glapioffsets.h
src/mapi/glapi/glprocs.h
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With 07b85457d95bcc70588584e9380c51cd63aa3a2b, glapitable.h is included
by core mesa only to know the size of _glapi_table. It is not necessary
as the same info is given by _gloffset_COUNT.
This change makes _glapi_table opaque to core mesa. All operations on
it are supposed to go through one of the SET/GET/CALL macros.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
Remove duplicated includes.
Signed-off-by: Brian Paul <[email protected]>
|
|
|
|
|
| |
This is only used in the i915 driver where it provides little benefit
for very few applications that use it with fixed function TNL.
|
|
|
|
|
| |
Add dummy static inline definitions to syncobj.h when FEATURE_ARB_sync
is 0, and remove most FEATURE_ARB_sync tests.
|
|
|
|
|
|
| |
laying down the foundation for everything and implementing most of the
stuff.
linking, gl_VerticesIn and multidimensional inputs are left.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Remove the unneeded ctx->Driver hooks for shader-related functions.
Move state and API-related things into main/.
|
| |
|
|
|
|
|
|
| |
This allows atifragshader.h to be used without knowing if
FEATURE_ATI_fragment_shader is enabled. As a result, atifragshader.c is
removed from the omit list in ES overlay.
|
|
|
|
|
|
|
|
| |
Remove sources that are feature-aware from the omit list. x86 -O0 build
is ~12KiB smaller afther making those sources feature-aware.
Also, remove get.c from the omit list as get_es[12].c have been merged
to it.
|
|
|
|
|
|
| |
This allows transformfeedback.h and st_cb_xformfb.h to be included and
used without knowing if FEATURE_EXT_transform_feedback is enabled. Fix
build of ES overlay.
|
|
|
|
| |
Seems to get everything building again here.
|
| |
|
|
|
|
|
|
| |
We now allocate the table from api_exec.c and dlist.c where we fill out
the table. This way, context.c doesn't need to know the actual contents
of struct _glapi_table.
|
| |
|
|
|
|
| |
Signed-off-by: Chris Wilson <[email protected]>
|
|
|
|
| |
This chunk fell through the cracks when I rebase the EGLImage patch series.
|
|
|
|
|
|
| |
glapi/dispatch.h is a core Mesa header file. Move the header file to
main/ to make this clear. It also becomes clear after this change that
IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
As shown in mfeatures.h, this allows users of dlist.h to work without
knowing if the feature is available.
|
|
|
|
|
| |
As shown in mfeatures.h, this allows users of eval.h to work without
knowing if the feature is available.
|
|
|
|
|
| |
It merges FEATURE_ARB_occlusion_query and FEATURE_EXT_timer_query, and
follows the feature conventions.
|
|
|
|
|
| |
As shown in mfeatures.h, this allows users of texgen.h to work without
knowing if the feature is available.
|
|
|
|
|
| |
As shown in mfeatures.h, this allows users of feedback.h to work without
knowing if the feature is available.
|
|
|
|
|
| |
As shown in mfeatures.h, this allows users of drawpix.h to work
without knowing if the feature is available.
|
|
|
|
|
| |
It is separated from FEATURE_drawpix and made to follow the feature
conventions.
|
|
|
|
|
| |
As shown in mfeatures.h, this allows users of histogram.h to work without
knowing if the feature is available.
|
|
|
|
|
| |
As shown in mfeatures.h, this allows users of attrib.h to work without
knowing if the feature is available.
|
|
|
|
|
| |
As shown in mfeatures.h, this allows users of accum.h to work without
knowing if the feature is available.
|
|
|
|
|
| |
As shown in mfeatures.h, this allows users of convolve.h to work without
knowing if the feature is available.
|
|
|
|
|
| |
As shown in mfeatures.h, this allows users of colortab.h to work
without knowing if the feature is available.
|
|
|
|
|
| |
As shown in mfeatures.h, this allows users of pixel.h to work without
knowing if the feature is available.
|
|
|
|
|
| |
This isn't quite right yet. The delete behavior and the context
clean-up needs some work.
|
|
|
|
|
|
|
|
|
| |
Previously, MultiDrawElements just called DrawElements a bunch of times.
By sending several primitives down the pipeline at once, we avoid a bunch
of validation. On my GL demo, this improves fps by 2.5% (+/- .41%) and
reduces CPU usage by 70.5% (+/- 2.9%) (n=3).
Reviewed by: Ian Romanick <[email protected]>
|
|
|
|
| |
All the glGetTexImage code is in one file now.
|
| |
|