mir_render_surface_get_buffer_stream
Daniel van Vugt
daniel.van.vugt at canonical.com
Fri Dec 2 02:26:13 UTC 2016
Completely forgot about MirBufferStream too. When it was first
introduced some years ago I suggested more correct (and elegant) names were:
MirSurface -> MirWindow
MirBufferStream -> MirSurface
Now we've got a third object 'MirRenderSurface' coming I'm not even sure
what the ideal naming scheme is.
Can we avoid having three objects and somehow keep it at two? Isn't
MirBufferStream going to be just a specific case/mode of a MirRenderSurface?
On 02/12/16 09:34, Daniel van Vugt wrote:
> Indeed that was my position a couple of months ago. But I was swayed by
> the team's bullishness about ABI/API breaks before "1.0". I mentioned
> that was still only an ideal though...
>
> More realistically I think we'll probably end up keeping MirSurface as
> is, because that nomenclature has permeated too far beyond a single
> codebase already. That just makes finding a better name for
> MirRenderSurface a bit more difficult.
>
>
> On 01/12/16 22:29, Alan Griffiths wrote:
>> On 01/12/16 13:18, Kevin DuBois wrote:
>>>
>>>
>>>
>>> MirRenderSurface I hope will get a shorter name that closer to a
>>> one word noun. Although the ideal of making it MirSurface after
>>> the existing MirSurface becomes MirWindow is quite ambitious.
>>>
>>>
>>> Agree. I think it needs to be done before 1.0, and would be nice to do
>>> before making the header public.
>>
>>
>> Are we really intending to rework all the code "out there" that refers
>> to MirSurface?!
>>
>> I agree the name is wrong, but I think the time to change it has
>> passed[*].
>>
>> Alan
>>
>>
>> [*] If only version control systems /1/ understood refactorings, and /2/
>> talked to each other.
>>
>>
>>
>
More information about the Mir-devel
mailing list