8000 UnoCore: drop legacy Buffer class (beta-3.0) by mortend · Pull Request #441 · fuse-open/uno · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

UnoCore: drop legacy Buffer class (beta-3.0) #441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/UnoCore/UnoCore.unoproj
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@
"src/Uno/AttributeTargets.uno:Source",
"src/Uno/AttributeUsageAttribute.uno:Source",
"src/Uno/Bool.uno:Source",
"src/Uno/Buffer.uno:Source",
"src/Uno/Byte.uno:Source",
"src/Uno/Byte2.uno:Source",
"src/Uno/Byte4.uno:Source",
Expand Down
16 changes: 0 additions & 16 deletions lib/UnoCore/src/OpenGL/GL.uno
Original file line number Diff line number Diff line change
Expand Up @@ -449,14 +449,6 @@ namespace OpenGL
build_error;
}

[Obsolete("Use GL.BufferData(GLBufferTarget,int,IntPtr,GLBufferUsage) instead")]
public static void BufferData(GLBufferTarget target, Buffer data, GLBufferUsage usage)
{
GCHandle pin;
BufferData(target, data.SizeInBytes, data.PinPtr(out pin), usage);
pin.Free();
}

public static void BufferSubData(GLBufferTarget target, int offset, int sizeInBytes, IntPtr data)
{
if defined(CPLUSPLUS)
Expand All @@ -471,14 +463,6 @@ namespace OpenGL
build_error;
}

[Obsolete("Use GL.BufferSubData(GLBufferTarget,int,int,IntPtr) instead")]
public static void BufferSubData(GLBufferTarget target, int offset, Buffer data)
{
GCHandle pin;
BufferSubData(target, offset, data.SizeInBytes, data.PinPtr(out pin));
pin.Free();
}

public static GLBufferHandle CreateBuffer()
{
if defined(CPLUSPLUS)
Expand Down
Loading
0