skia2/include/gpu
Ben Wagner 833313b21a Add back deprecated warnings.
Unfortunately in clang 'deprecated' is both a set of warnings (at least
one of which we don't want) and a group of warnings (most of which we do
want). Leave the top level disabled, but re-enable all the warnings in
the group.

Most of the code changes are for the deprecated-copy diagnostic. In
C++11 implementing a copy constructor xor copy assignment operator
the default implementation of the other is still required to be the
default but is deprecated (the compiler can warn against doing this).
The idea is that if there was a need for a non-default copy constructor
or copy assignment operator then both should be implemented explicitly,
since it is unlikely that the default will do what is expected.

Note that the deprecated-copy-dtor has not yet been enabled as there
will need to be a lot more work to enable this diagnostic. Similar to
deprecated-copy, in C++11 when implementing a destructor the copy
constructor and copy assignment operator are still defaulted if not
declared, but this is also deprecated. The idea here is that if some
special handling is needed to destroy the object there is probably some
need to do something non-trivial when copying the object (or copying
should be disallowed).

Also, there are still some deprecated-declarations to clean up on
Android and Mac.

Change-Id: I5fc4b62713220e6f7d3724fd7342b4c8c74a3c67
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/278916
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2020-03-27 14:18:49 +00:00
..
d3d Rename GrD3DTextureInfo to GrD3DTextureResourceInfo. 2020-03-26 16:26:44 +00:00
dawn Roll dawn and adjust for new SwapChain API. 2020-01-28 18:26:44 +00:00
gl Add glDraw*BaseInstance functions to GrGLInterface 2020-03-26 18:12:29 +00:00
mock Remove fConfig from GrSurfaceDesc. 2020-01-23 15:53:36 +00:00
mtl Implement fences and semaphores for Metal. 2019-08-28 19:38:56 +00:00
vk Rename GrD3DTextureInfo to GrD3DTextureResourceInfo. 2020-03-26 16:26:44 +00:00
GrBackendDrawableInfo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendSemaphore.h Implement fences and semaphores for Metal. 2019-08-28 19:38:56 +00:00
GrBackendSurface.h Add back deprecated warnings. 2020-03-27 14:18:49 +00:00
GrConfig.h Reland x3 "Remove most of GrConfig.h" 2019-12-18 17:14:45 +00:00
GrContext.h Revert "Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots"""" 2020-03-20 17:11:58 +00:00
GrContextOptions.h Add GrContextOption for GL error checking, shader, and program success. 2020-02-25 21:00:19 +00:00
GrContextThreadSafeProxy.h Major refactor of runtime effects 2019-12-16 15:59:04 +00:00
GrDriverBugWorkarounds.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrDriverBugWorkaroundsAutogen.h gpu: Disable dual source blending support on buggy driver versions. 2019-12-20 22:56:19 +00:00
GrTypes.h Start adding D3D backend 2020-02-18 20:14:15 +00:00