| Index: mojo/gles2/gles2_impl.cc
|
| diff --git a/mojo/gles2/gles2_impl.cc b/mojo/gles2/gles2_impl.cc
|
| index 59b427846589649b4cc59b963646a7abc99da2c4..2ff868a97ba8734c27fcf4c84cccb02db071237e 100644
|
| --- a/mojo/gles2/gles2_impl.cc
|
| +++ b/mojo/gles2/gles2_impl.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "gpu/command_buffer/client/gles2_interface.h"
|
| #include "mojo/gles2/gles2_context.h"
|
| +#include "mojo/gles2/gles2_impl_export.h"
|
|
|
| using mojo::gles2::GLES2Context;
|
|
|
| @@ -71,12 +72,14 @@ void* MojoGLES2GetContextSupport(MojoGLES2Context context) {
|
| return static_cast<GLES2Context*>(context)->context_support();
|
| }
|
|
|
| -#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
|
| - ReturnType gl##Function PARAMETERS { \
|
| - assert(g_gpu_interface); \
|
| - return g_gpu_interface->Function ARGUMENTS; \
|
| +#define VISIT_GL_CALL(Function, ReturnType, PARAMETERS, ARGUMENTS) \
|
| + MOJO_GLES2_IMPL_EXPORT ReturnType gl##Function PARAMETERS { \
|
| + assert(g_gpu_interface); \
|
| + return g_gpu_interface->Function ARGUMENTS; \
|
| }
|
| #include "mojo/public/c/gles2/gles2_call_visitor_autogen.h"
|
| +#include "mojo/public/c/gles2/gles2_call_visitor_chromium_sync_point_autogen.h"
|
| +#include "mojo/public/c/gles2/gles2_call_visitor_chromium_texture_mailbox_autogen.h"
|
| #undef VISIT_GL_CALL
|
|
|
| } // extern "C"
|
|
|