diff options
Diffstat (limited to 'src/VBox/HostServices/SharedOpenGL/unpacker/unpack_framebuffer.c')
-rw-r--r-- | src/VBox/HostServices/SharedOpenGL/unpacker/unpack_framebuffer.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_framebuffer.c b/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_framebuffer.c new file mode 100644 index 00000000..0bab6d56 --- /dev/null +++ b/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_framebuffer.c @@ -0,0 +1,37 @@ +/* $Id: unpack_framebuffer.c $ */ +/** @file + * VBox OpenGL: EXT_framebuffer_object + */ + +/* + * Copyright (C) 2009-2019 Oracle Corporation + * + * This file is part of VirtualBox Open Source Edition (OSE), as + * available from http://www.virtualbox.org. This file is free software; + * you can redistribute it and/or modify it under the terms of the GNU + * General Public License (GPL) as published by the Free Software + * Foundation, in version 2 as it comes in the "COPYING" file of the + * VirtualBox OSE distribution. VirtualBox OSE is distributed in the + * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. + */ + +#include "unpacker.h" +#include "cr_error.h" +#include "cr_protocol.h" +#include "cr_mem.h" +#include "cr_string.h" +#include "cr_version.h" + +void crUnpackExtendDeleteFramebuffersEXT(void) +{ + GLsizei n = READ_DATA( 8, GLsizei ); + const GLuint *buffers = DATA_POINTER( 12, GLuint ); + cr_unpackDispatch.DeleteFramebuffersEXT( n, buffers ); +} + +void crUnpackExtendDeleteRenderbuffersEXT(void) +{ + GLsizei n = READ_DATA( 8, GLsizei ); + const GLuint *buffers = DATA_POINTER( 12, GLuint ); + cr_unpackDispatch.DeleteRenderbuffersEXT( n, buffers ); +} |