Skip to content

Commit

Permalink
igl | IDevice : consolidate public methods
Browse files Browse the repository at this point in the history
Summary: Group public methods in one place

Reviewed By: EricGriffith

Differential Revision: D51140732

fbshipit-source-id: 704b0b4163b52de8b024d9b6dd50b6c8499b8124
  • Loading branch information
Dev Mannemela authored and facebook-github-bot committed Nov 9, 2023
1 parent 2dac75e commit ba3e9e4
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/igl/Device.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,13 +270,6 @@ class IDevice : public ICapabilities {
Result* IGL_NULLABLE
outResult) const = 0;

protected:
virtual void beginScope();
virtual void endScope();
TextureDesc sanitize(const TextureDesc& desc) const;
IDevice() = default;

public:
/**
* @brief Sets the resource tracker used by this device.
* @see igl::IResourceTracker
Expand Down Expand Up @@ -304,6 +297,12 @@ class IDevice : public ICapabilities {
*/
Color backendDebugColor() const noexcept;

protected:
virtual void beginScope();
virtual void endScope();
TextureDesc sanitize(const TextureDesc& desc) const;
IDevice() = default;

private:
bool defaultVerifyScope();

Expand Down

0 comments on commit ba3e9e4

Please sign in to comment.