Skip to content

Inconsistency of exported API  #4

@Romop5

Description

@Romop5

Problem:
Some of the exported classes (such as Framebuffer.h) provide declarations of methods, which are not implemented.
This may result in confusion of programmer due to resulting linking errors.

For instace, all of the following methods of Framebuffer.h are not implemented:

  GEGL_EXPORT void clear(GLbitfield buffers);
  GEGL_EXPORT void clearColor  (GLfloat r,GLfloat g,GLfloat b,GLfloat a);
  GEGL_EXPORT void clearDepth  (GLdouble d);
  GEGL_EXPORT void clearDepth  (GLfloat  d);
  GEGL_EXPORT void clearStencil(GLint    s);

Proposed solution
Consider double-checking the existing API for missing implementations and either remove the declarations or implement the missing methods.

Some of these methods are pure calls to OpenGL without additional business logic.

In case you decided to remove the declarations, but you miss time for doing that, please, let me know. I could have a look at it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions