aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp
diff options
context:
space:
mode:
authorGravatar hendrikw <hendrikw@chromium.org>2015-09-01 09:08:00 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-01 09:08:00 -0700
commit0a1fa5e4c34524bc04f820bb77798999673d3de3 (patch)
treec9679ffc84b2e59060a4541fbbb0068449db41f5 /src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp
parentc9a3706f1ee38c331610ec1e872d9a658566c397 (diff)
skia: Replace CommandBuffer_ with egl
I ended up exporting the egl functions directly, so this needs to change on the skia side as well Review URL: https://codereview.chromium.org/1324823002
Diffstat (limited to 'src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp')
-rw-r--r--src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp b/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp
index 7f904c2cd1..11a8444853 100644
--- a/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp
+++ b/src/gpu/gl/command_buffer/SkCommandBufferGLContext.cpp
@@ -48,19 +48,19 @@ static void load_command_buffer_functions() {
ghLibrary = LoadLibrary("command_buffer_gles2.dll");
if (ghLibrary) {
- gfGetDisplay = (GetDisplayProc)::GetProcAddress(ghLibrary, "CommandBuffer_GetDisplay");
- gfInitialize = (InitializeProc)::GetProcAddress(ghLibrary, "CommandBuffer_Initialize");
- gfTerminate = (TerminateProc)::GetProcAddress(ghLibrary, "CommandBuffer_Terminate");
- gfChooseConfig = (ChooseConfigProc)::GetProcAddress(ghLibrary, "CommandBuffer_ChooseConfig");
- gfGetConfigAttrib = (GetConfigAttrib)::GetProcAddress(ghLibrary, "CommandBuffer_GetConfigAttrib");
- gfCreateWindowSurface = (CreateWindowSurfaceProc)::GetProcAddress(ghLibrary, "CommandBuffer_CreateWindowSurface");
- gfCreatePbufferSurface = (CreatePbufferSurfaceProc)::GetProcAddress(ghLibrary, "CommandBuffer_CreatePbufferSurface");
- gfDestroySurface = (DestroySurfaceProc)::GetProcAddress(ghLibrary, "CommandBuffer_DestroySurface");
- gfCreateContext = (CreateContextProc)::GetProcAddress(ghLibrary, "CommandBuffer_CreateContext");
- gfDestroyContext = (DestroyContextProc)::GetProcAddress(ghLibrary, "CommandBuffer_DestroyContext");
- gfMakeCurrent = (MakeCurrentProc)::GetProcAddress(ghLibrary, "CommandBuffer_MakeCurrent");
- gfSwapBuffers = (SwapBuffersProc)::GetProcAddress(ghLibrary, "CommandBuffer_SwapBuffers");
- gfGetProcAddress = (GetProcAddressProc)::GetProcAddress(ghLibrary, "CommandBuffer_GetProcAddress");
+ gfGetDisplay = (GetDisplayProc)::GetProcAddress(ghLibrary, "eglGetDisplay");
+ gfInitialize = (InitializeProc)::GetProcAddress(ghLibrary, "eglInitialize");
+ gfTerminate = (TerminateProc)::GetProcAddress(ghLibrary, "eglTerminate");
+ gfChooseConfig = (ChooseConfigProc)::GetProcAddress(ghLibrary, "eglChooseConfig");
+ gfGetConfigAttrib = (GetConfigAttrib)::GetProcAddress(ghLibrary, "eglGetConfigAttrib");
+ gfCreateWindowSurface = (CreateWindowSurfaceProc)::GetProcAddress(ghLibrary, "eglCreateWindowSurface");
+ gfCreatePbufferSurface = (CreatePbufferSurfaceProc)::GetProcAddress(ghLibrary, "eglCreatePbufferSurface");
+ gfDestroySurface = (DestroySurfaceProc)::GetProcAddress(ghLibrary, "eglDestroySurface");
+ gfCreateContext = (CreateContextProc)::GetProcAddress(ghLibrary, "eglCreateContext");
+ gfDestroyContext = (DestroyContextProc)::GetProcAddress(ghLibrary, "eglDestroyContext");
+ gfMakeCurrent = (MakeCurrentProc)::GetProcAddress(ghLibrary, "eglMakeCurrent");
+ gfSwapBuffers = (SwapBuffersProc)::GetProcAddress(ghLibrary, "eglSwapBuffers");
+ gfGetProcAddress = (GetProcAddressProc)::GetProcAddress(ghLibrary, "eglGetProcAddress");
gfFunctionsLoadedSuccessfully = gfGetDisplay && gfInitialize && gfTerminate &&
gfChooseConfig && gfCreateWindowSurface &&