blob: 966eca6c62060e1c726856801abb559d542b77be [file] [log] [blame]
; This file defines functions which are explicitly exported by cobalt.dll.
; More info can be found here:
; https://msdn.microsoft.com/en-us/library/d91k01sh.aspx
; And broader context is explained here:
; https://blogs.msdn.microsoft.com/oldnewthing/20140321-00/?p=1433/
EXPORTS
; From starboard/shared/lib/exported/starboard_main.h:
StarboardMain
; From cobalt/browser/lib/exported/main.h:
CbLibMainSetCallbackRegistrationReadyCallback
CbLibMainSetOnCobaltInitializedCallback
CbLibMainSetHandleEventCallback
; From cobalt/render/rasterizer/lib/exported/graphics.h:
CbLibGraphicsSetContextCreatedCallback
CbLibGraphicsSetBeginRenderFrameCallback
CbLibGraphicsSetEndRenderFrameCallback
; From cobalt/render/rasterizer/lib/exported/video.h:
CbLibVideoSetOnUpdateProjectionType
CbLibVideoSetOnUpdateMeshes
CbLibVideoSetOnUpdateStereoMode
CbLibVideoSetOnUpdateRgbTextureId
; Following GL functions are copied from libGLESv2.def and EGL from
; libEGL.def. We export these so that host-applications may use the same
; GLES & EGL implementation that Cobalt is using for rendering.
glActiveTexture
glAttachShader
glBindAttribLocation
glBindBuffer
glBindFramebuffer
glBindRenderbuffer
glBindTexture
glBlendColor
glBlendEquation
glBlendEquationSeparate
glBlendFunc
glBlendFuncSeparate
glBufferData
glBufferSubData
glCheckFramebufferStatus
glClear
glClearColor
glClearDepthf
glClearStencil
glColorMask
glCompileShader
glCompressedTexImage2D
glCompressedTexSubImage2D
glCopyTexImage2D
glCopyTexSubImage2D
glCreateProgram
glCreateShader
glCullFace
glDeleteBuffers
glDeleteFramebuffers
glDeleteProgram
glDeleteRenderbuffers
glDeleteShader
glDeleteTextures
glDepthFunc
glDepthMask
glDepthRangef
glDetachShader
glDisable
glDisableVertexAttribArray
glDrawArrays
glDrawElements
glEnable
glEnableVertexAttribArray
glFinish
glFlush
glFramebufferRenderbuffer
glFramebufferTexture2D
glFrontFace
glGenBuffers
glGenFramebuffers
glGenRenderbuffers
glGenTextures
glGenerateMipmap
glGetActiveAttrib
glGetActiveUniform
glGetAttachedShaders
glGetAttribLocation
glGetBooleanv
glGetBufferParameteriv
glGetError
glGetFloatv
glGetFramebufferAttachmentParameteriv
glGetIntegerv
glGetProgramInfoLog
glGetProgramiv
glGetRenderbufferParameteriv
glGetShaderInfoLog
glGetShaderPrecisionFormat
glGetShaderSource
glGetShaderiv
glGetString
glGetTexParameterfv
glGetTexParameteriv
glGetUniformLocation
glGetUniformfv
glGetUniformiv
glGetVertexAttribPointerv
glGetVertexAttribfv
glGetVertexAttribiv
glHint
glIsBuffer
glIsEnabled
glIsFramebuffer
glIsProgram
glIsRenderbuffer
glIsShader
glIsTexture
glLineWidth
glLinkProgram
glPixelStorei
glPolygonOffset
glReadPixels
glReleaseShaderCompiler
glRenderbufferStorage
glSampleCoverage
glScissor
glShaderBinary
glShaderSource
glStencilFunc
glStencilFuncSeparate
glStencilMask
glStencilMaskSeparate
glStencilOp
glStencilOpSeparate
glTexImage2D
glTexParameterf
glTexParameterfv
glTexParameteri
glTexParameteriv
glTexSubImage2D
glUniform1f
glUniform1fv
glUniform1i
glUniform1iv
glUniform2f
glUniform2fv
glUniform2i
glUniform2iv
glUniform3f
glUniform3fv
glUniform3i
glUniform3iv
glUniform4f
glUniform4fv
glUniform4i
glUniform4iv
glUniformMatrix2fv
glUniformMatrix3fv
glUniformMatrix4fv
glUseProgram
glValidateProgram
glVertexAttrib1f
glVertexAttrib1fv
glVertexAttrib2f
glVertexAttrib2fv
glVertexAttrib3f
glVertexAttrib3fv
glVertexAttrib4f
glVertexAttrib4fv
glVertexAttribPointer
glViewport
; Extensions
glBlitFramebufferANGLE
glRenderbufferStorageMultisampleANGLE
glDeleteFencesNV
glFinishFenceNV
glGenFencesNV
glGetFenceivNV
glIsFenceNV
glSetFenceNV
glTestFenceNV
glGetTranslatedShaderSourceANGLE
glTexStorage2DEXT
glGetGraphicsResetStatusEXT
glReadnPixelsEXT
glGetnUniformfvEXT
glGetnUniformivEXT
glGenQueriesEXT
glDeleteQueriesEXT
glIsQueryEXT
glBeginQueryEXT
glEndQueryEXT
glGetQueryivEXT
glGetQueryObjectuivEXT
glVertexAttribDivisorANGLE
glDrawArraysInstancedANGLE
glDrawElementsInstancedANGLE
glProgramBinaryOES
glGetProgramBinaryOES
glDrawBuffersEXT
glMapBufferOES
glUnmapBufferOES
glGetBufferPointervOES
glMapBufferRangeEXT
glFlushMappedBufferRangeEXT
glDiscardFramebufferEXT
glInsertEventMarkerEXT
glPushGroupMarkerEXT
glPopGroupMarkerEXT
glEGLImageTargetTexture2DOES
glEGLImageTargetRenderbufferStorageOES
glBindVertexArrayOES
glDeleteVertexArraysOES
glGenVertexArraysOES
glIsVertexArrayOES
glDebugMessageControlKHR
glDebugMessageInsertKHR
glDebugMessageCallbackKHR
glGetDebugMessageLogKHR
glPushDebugGroupKHR
glPopDebugGroupKHR
glObjectLabelKHR
glGetObjectLabelKHR
glObjectPtrLabelKHR
glGetObjectPtrLabelKHR
glGetPointervKHR
glQueryCounterEXT
glGetQueryObjectivEXT
glGetQueryObjecti64vEXT
glGetQueryObjectui64vEXT
glBindUniformLocationCHROMIUM
glCoverageModulationCHROMIUM
glMatrixLoadfCHROMIUM
glMatrixLoadIdentityCHROMIUM
glGenPathsCHROMIUM
glDeletePathsCHROMIUM
glIsPathCHROMIUM
glPathCommandsCHROMIUM
glPathParameterfCHROMIUM
glPathParameteriCHROMIUM
glGetPathParameterfvCHROMIUM
glGetPathParameterivCHROMIUM
glPathStencilFuncCHROMIUM
glStencilFillPathCHROMIUM
glStencilStrokePathCHROMIUM
glCoverFillPathCHROMIUM
glCoverStrokePathCHROMIUM
glStencilThenCoverFillPathCHROMIUM
glStencilThenCoverStrokePathCHROMIUM
glCoverFillPathInstancedCHROMIUM
glCoverStrokePathInstancedCHROMIUM
glStencilStrokePathInstancedCHROMIUM
glStencilFillPathInstancedCHROMIUM
glStencilThenCoverFillPathInstancedCHROMIUM
glStencilThenCoverStrokePathInstancedCHROMIUM
glBindFragmentInputLocationCHROMIUM
glProgramPathFragmentInputGenCHROMIUM
; GLES 3.0 Functions
glReadBuffer
glDrawRangeElements
glTexImage3D
glTexSubImage3D
glCopyTexSubImage3D
glCompressedTexImage3D
glCompressedTexSubImage3D
glGenQueries
glDeleteQueries
glIsQuery
glBeginQuery
glEndQuery
glGetQueryiv
glGetQueryObjectuiv
glUnmapBuffer
glGetBufferPointerv
glDrawBuffers
glUniformMatrix2x3fv
glUniformMatrix3x2fv
glUniformMatrix2x4fv
glUniformMatrix4x2fv
glUniformMatrix3x4fv
glUniformMatrix4x3fv
glBlitFramebuffer
glRenderbufferStorageMultisample
glFramebufferTextureLayer
glMapBufferRange
glFlushMappedBufferRange
glBindVertexArray
glDeleteVertexArrays
glGenVertexArrays
glIsVertexArray
glGetIntegeri_v
glBeginTransformFeedback
glEndTransformFeedback
glBindBufferRange
glBindBufferBase
glTransformFeedbackVaryings
glGetTransformFeedbackVarying
glVertexAttribIPointer
glGetVertexAttribIiv
glGetVertexAttribIuiv
glVertexAttribI4i
glVertexAttribI4ui
glVertexAttribI4iv
glVertexAttribI4uiv
glGetUniformuiv
glGetFragDataLocation
glUniform1ui
glUniform2ui
glUniform3ui
glUniform4ui
glUniform1uiv
glUniform2uiv
glUniform3uiv
glUniform4uiv
glClearBufferiv
glClearBufferuiv
glClearBufferfv
glClearBufferfi
glGetStringi
glCopyBufferSubData
glGetUniformIndices
glGetActiveUniformsiv
glGetUniformBlockIndex
glGetActiveUniformBlockiv
glGetActiveUniformBlockName
glUniformBlockBinding
glDrawArraysInstanced
glDrawElementsInstanced
glFenceSync
glIsSync
glDeleteSync
glClientWaitSync
glWaitSync
glGetInteger64v
glGetSynciv
glGetInteger64i_v
glGetBufferParameteri64v
glGenSamplers
glDeleteSamplers
glIsSampler
glBindSampler
glSamplerParameteri
glSamplerParameteriv
glSamplerParameterf
glSamplerParameterfv
glGetSamplerParameteriv
glGetSamplerParameterfv
glVertexAttribDivisor
glBindTransformFeedback
glDeleteTransformFeedbacks
glGenTransformFeedbacks
glIsTransformFeedback
glPauseTransformFeedback
glResumeTransformFeedback
glGetProgramBinary
glProgramBinary
glProgramParameteri
glInvalidateFramebuffer
glInvalidateSubFramebuffer
glTexStorage2D
glTexStorage3D
glGetInternalformativ
; GLES 3.1 Functions
glDispatchCompute
glDispatchComputeIndirect
glDrawArraysIndirect
glDrawElementsIndirect
glFramebufferParameteri
glGetFramebufferParameteriv
glGetProgramInterfaceiv
glGetProgramResourceIndex
glGetProgramResourceName
glGetProgramResourceiv
glGetProgramResourceLocation
glUseProgramStages
glActiveShaderProgram
glCreateShaderProgramv
glBindProgramPipeline
glDeleteProgramPipelines
glGenProgramPipelines
glIsProgramPipeline
glGetProgramPipelineiv
glProgramUniform1i
glProgramUniform2i
glProgramUniform3i
glProgramUniform4i
glProgramUniform1ui
glProgramUniform2ui
glProgramUniform3ui
glProgramUniform4ui
glProgramUniform1f
glProgramUniform2f
glProgramUniform3f
glProgramUniform4f
glProgramUniform1iv
glProgramUniform2iv
glProgramUniform3iv
glProgramUniform4iv
glProgramUniform1uiv
glProgramUniform2uiv
glProgramUniform3uiv
glProgramUniform4uiv
glProgramUniform1fv
glProgramUniform2fv
glProgramUniform3fv
glProgramUniform4fv
glProgramUniformMatrix2fv
glProgramUniformMatrix3fv
glProgramUniformMatrix4fv
glProgramUniformMatrix2x3fv
glProgramUniformMatrix3x2fv
glProgramUniformMatrix2x4fv
glProgramUniformMatrix4x2fv
glProgramUniformMatrix3x4fv
glProgramUniformMatrix4x3fv
glValidateProgramPipeline
glGetProgramPipelineInfoLog
glBindImageTexture
glGetBooleani_v
glMemoryBarrier
glMemoryBarrierByRegion
glTexStorage2DMultisample
glGetMultisamplefv
glSampleMaski
glGetTexLevelParameteriv
glGetTexLevelParameterfv
glBindVertexBuffer
glVertexAttribFormat
glVertexAttribIFormat
glVertexAttribBinding
glVertexBindingDivisor
; ANGLE Platform Implementation
ANGLEGetDisplayPlatform
ANGLEResetDisplayPlatform
eglBindAPI
eglBindTexImage
eglChooseConfig
eglCopyBuffers
eglCreateContext
eglCreatePbufferFromClientBuffer
eglCreatePbufferSurface
eglCreatePixmapSurface
eglCreateWindowSurface
eglDestroyContext
eglDestroySurface
eglGetConfigAttrib
eglGetConfigs
eglGetCurrentContext
eglGetCurrentDisplay
eglGetCurrentSurface
eglGetDisplay
eglGetError
eglGetProcAddress
eglInitialize
eglMakeCurrent
eglQueryAPI
eglQueryContext
eglQueryString
eglQuerySurface
eglReleaseTexImage
eglReleaseThread
eglSurfaceAttrib
eglSwapBuffers
eglSwapInterval
eglTerminate
eglWaitClient
eglWaitGL
eglWaitNative
; Extensions
eglGetPlatformDisplayEXT
eglQuerySurfacePointerANGLE
eglPostSubBufferNV
eglQueryDisplayAttribEXT
eglQueryDeviceAttribEXT
eglQueryDeviceStringEXT
eglCreateImageKHR
eglDestroyImageKHR
eglCreateDeviceANGLE
eglReleaseDeviceANGLE
eglCreateStreamKHR
eglDestroyStreamKHR
eglStreamAttribKHR
eglQueryStreamKHR
eglQueryStreamu64KHR
eglStreamConsumerGLTextureExternalKHR
eglStreamConsumerAcquireKHR
eglStreamConsumerReleaseKHR
eglStreamConsumerGLTextureExternalAttribsNV
eglCreateStreamProducerD3DTextureNV12ANGLE
eglStreamPostD3DTextureNV12ANGLE
eglGetSyncValuesCHROMIUM
eglSwapBuffersWithDamageEXT
; 1.5 entry points
eglCreateSync
eglDestroySync
eglClientWaitSync
eglGetSyncAttrib
eglCreateImage
eglDestroyImage
eglGetPlatformDisplay
eglCreatePlatformWindowSurface
eglCreatePlatformPixmapSurface
eglWaitSync
eglBindAPI
eglBindTexImage
eglChooseConfig
eglCopyBuffers
eglCreateContext
eglCreatePbufferFromClientBuffer
eglCreatePbufferSurface
eglCreatePixmapSurface
eglCreateWindowSurface
eglDestroyContext
eglDestroySurface
eglGetConfigAttrib
eglGetConfigs
eglGetCurrentContext
eglGetCurrentDisplay
eglGetCurrentSurface
eglGetDisplay
eglGetError
eglGetProcAddress
eglInitialize
eglMakeCurrent
eglQueryAPI
eglQueryContext
eglQueryString
eglQuerySurface
eglReleaseTexImage
eglReleaseThread
eglSurfaceAttrib
eglSwapBuffers
eglSwapInterval
eglTerminate
eglWaitClient
eglWaitGL
eglWaitNative
; Extensions
eglGetPlatformDisplayEXT
eglQuerySurfacePointerANGLE
eglPostSubBufferNV
eglQueryDisplayAttribEXT
eglQueryDeviceAttribEXT
eglQueryDeviceStringEXT
eglCreateImageKHR
eglDestroyImageKHR
eglCreateDeviceANGLE
eglReleaseDeviceANGLE
eglCreateStreamKHR
eglDestroyStreamKHR
eglStreamAttribKHR
eglQueryStreamKHR
eglQueryStreamu64KHR
eglStreamConsumerGLTextureExternalKHR
eglStreamConsumerAcquireKHR
eglStreamConsumerReleaseKHR
eglStreamConsumerGLTextureExternalAttribsNV
eglCreateStreamProducerD3DTextureNV12ANGLE
eglStreamPostD3DTextureNV12ANGLE
eglGetSyncValuesCHROMIUM
eglSwapBuffersWithDamageEXT
; 1.5 entry points
eglCreateSync
eglDestroySync
eglClientWaitSync
eglGetSyncAttrib
eglCreateImage
eglDestroyImage
eglGetPlatformDisplay
eglCreatePlatformWindowSurface
eglCreatePlatformPixmapSurface
eglWaitSync
eglBindAPI
eglBindTexImage
eglChooseConfig
eglCopyBuffers
eglCreateContext
eglCreatePbufferFromClientBuffer
eglCreatePbufferSurface
eglCreatePixmapSurface
eglCreateWindowSurface
eglDestroyContext
eglDestroySurface
eglGetConfigAttrib
eglGetConfigs
eglGetCurrentContext
eglGetCurrentDisplay
eglGetCurrentSurface
eglGetDisplay
eglGetError
eglGetProcAddress
eglInitialize
eglMakeCurrent
eglQueryAPI
eglQueryContext
eglQueryString
eglQuerySurface
eglReleaseTexImage
eglReleaseThread
eglSurfaceAttrib
eglSwapBuffers
eglSwapInterval
eglTerminate
eglWaitClient
eglWaitGL
eglWaitNative
; Extensions
eglGetPlatformDisplayEXT
eglQuerySurfacePointerANGLE
eglPostSubBufferNV
eglQueryDisplayAttribEXT
eglQueryDeviceAttribEXT
eglQueryDeviceStringEXT
eglCreateImageKHR
eglDestroyImageKHR
eglCreateDeviceANGLE
eglReleaseDeviceANGLE
eglCreateStreamKHR
eglDestroyStreamKHR
eglStreamAttribKHR
eglQueryStreamKHR
eglQueryStreamu64KHR
eglStreamConsumerGLTextureExternalKHR
eglStreamConsumerAcquireKHR
eglStreamConsumerReleaseKHR
eglStreamConsumerGLTextureExternalAttribsNV
eglCreateStreamProducerD3DTextureNV12ANGLE
eglStreamPostD3DTextureNV12ANGLE
eglGetSyncValuesCHROMIUM
eglSwapBuffersWithDamageEXT
; 1.5 entry points
eglCreateSync
eglDestroySync
eglClientWaitSync
eglGetSyncAttrib
eglCreateImage
eglDestroyImage
eglGetPlatformDisplay
eglCreatePlatformWindowSurface
eglCreatePlatformPixmapSurface
eglWaitSync