Confirmed users
753
edits
Line 194: | Line 194: | ||
= Developing a standard MozStream abstraction = | = Developing a standard MozStream abstraction = | ||
As explained earlier, having a good MozSurface abstraction is only half the way towards a good architecture. The other half is to share as much surface-handling code in a common abstraction, and the standard type of abstraction for doing this is that of a "stream", as described in the above-mentioned EGLStream specification, http://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_stream.txt. | As explained earlier, having a good MozSurface abstraction is only half the way towards a good architecture. The other half is to share as much surface-handling code as possible in a common abstraction, and the standard type of abstraction for doing this is that of a "stream", as described in the above-mentioned EGLStream specification, http://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_stream.txt. | ||
As we already said, we even have an implementation of a fairly standard stream, SurfaceStream, and are already using it for <canvas>. | As we already said, we even have an implementation of a fairly standard stream, SurfaceStream, and are already using it for <canvas>. |