summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-10-28 01:05:12 -0700
committerKenneth Graunke <[email protected]>2014-10-29 12:38:28 -0700
commit1480814173f940a1a24c7242e31662e73efb064f (patch)
treee50eec9a39a090ab3d4ecf5f25f209b109690080 /m4
parent993e2922c922f88a2eeed4f30751f3e3ad63aed0 (diff)
i965: Rename intel_bufferobj_* functions to match GL and DD hooks.
The GL functions and driver hooks use corresponding names---for example, glMapBufferRange and Driver.MapBufferRange. But our implementation was called "intel_bufferobj_map_range," which has the words "map" and "buffer" swapped, as well as randomly adding "obj." FlushMappedBufferRange was even trickier: it ordered the words 3, "obj", 1, 2, 4: intel_bufferobj_flush_mapped_range. Even though the old names were consistent, I always had trouble rearranging the jumble of words when searching for a function, and it took a few tries to eventually land there. The new names match the word order of GL and the driver hooks; FlushMappedBufferRange is simply brw_flush_mapped_buffer_range. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions