зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1765195
- Remove unused ICRData. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D143935
This commit is contained in:
Родитель
63384f65ab
Коммит
1af7414e22
|
@ -467,8 +467,6 @@ class WebGLContext : public VRefCounted, public SupportsWeakPtr {
|
|||
|
||||
WebGLTexture* GetActiveTex(const GLenum texTarget) const;
|
||||
|
||||
Maybe<ICRData> InitializeCanvasRenderer(layers::LayersBackend backend);
|
||||
|
||||
gl::GLContext* GL() const { return gl; }
|
||||
|
||||
bool IsPremultAlpha() const { return mOptions.premultipliedAlpha; }
|
||||
|
|
|
@ -50,9 +50,6 @@ template <>
|
|||
struct IsTriviallySerializable<mozilla::webgl::PixelUnpackStateWebgl>
|
||||
: std::true_type {};
|
||||
|
||||
template <>
|
||||
struct IsTriviallySerializable<ICRData> : std::true_type {};
|
||||
|
||||
template <>
|
||||
struct IsTriviallySerializable<gfx::IntSize> : std::true_type {};
|
||||
|
||||
|
|
|
@ -753,13 +753,6 @@ struct VertAttribPointerCalculated final {
|
|||
|
||||
} // namespace webgl
|
||||
|
||||
// return value for the InitializeCanvasRenderer message
|
||||
struct ICRData {
|
||||
gfx::IntSize size;
|
||||
bool hasAlpha;
|
||||
bool isPremultAlpha;
|
||||
};
|
||||
|
||||
/**
|
||||
* Represents a block of memory that it may or may not own. The
|
||||
* inner data type must be trivially copyable by memcpy.
|
||||
|
|
Загрузка…
Ссылка в новой задаче