Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixes a regression found in DRI drivers when the row stride is larger
than the image width.
|
|
|
|
|
|
Just compute it locally.
|
|
|
|
|
|
We can compute it locally.
|
|
|
|
|
|
|
|
|
|
|
|
Use _mesa_tex_target_to_face() instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We can just use the _mesa_map/unmap_pbo_source() functions instead.
|
|
Now that error checking is done higher/sooner we don't have to worry
about it here. This lets us merge the compressed/uncompressed cases.
More simplification and consolidation with the PBO map/unmap functions
in bufferobj.c is possible...
|
|
Lift the PBO bounds checking up to where we do the other glTex[Sub]Image
error checking.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return void, set gl_texture_image::Map.Data field.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|