| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
As we do for texture objects, buffer objects, etc.
|
|
|
|
|
|
|
|
|
|
| |
Depending on the installed shader type, different arrays are used
from gl_array_object. Provide helper functions that compute
the bitmask of these arrays that are finally enabled for a given
shader type. The will be used in a followup change.
Signed-off-by: Mathias Fröhlich <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
|
| |
|
| |
|
|
|
|
|
| |
Directly include mtypes.h instead of including context.h to include
mtypes.h.
|
|
|
|
|
|
| |
This also involves adding a gl_array_object::VBOonly field. For the
ARB extension, all arrays in the object must reside in a VBO. This flag
keeps track of that requirement.
|
| |
|
|
|
|
| |
This will replace the code in state.c
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/mesa/main/arrayobj.c
src/mesa/main/arrayobj.h
src/mesa/main/context.c
|
| |
| |
| |
| |
| |
| | |
Every kind of object that can be shared by multiple contexts should be
refcounted.
(cherry picked from commit 1030bf0ded2a88a5e27f7a4d393c11cfde3d3c5a)
|
| | |
|
|/
|
|
|
| |
Every kind of object that can be shared by multiple contexts should be
refcounted.
|
|
and demos are also added.
Adding basic support to drivers should be as easy as just enabling the
extension, though thorough test would also be required.
|