Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Macros
D3D12WindowContext_win.cpp File Reference
#include "include/core/SkSurface.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrTypes.h"
#include "include/gpu/d3d/GrD3DBackendContext.h"
#include "include/gpu/ganesh/SkSurfaceGanesh.h"
#include "tools/gpu/d3d/D3DTestUtils.h"
#include "tools/window/DisplayParams.h"
#include "tools/window/WindowContext.h"
#include "tools/window/win/WindowContextFactory_win.h"
#include <d3d12.h>
#include <dxgi1_4.h>
#include <wrl/client.h>

Go to the source code of this file.

Namespaces

namespace  skwindow
 

Macros

#define GR_D3D_CALL_ERRCHECK(X)
 

Macro Definition Documentation

◆ GR_D3D_CALL_ERRCHECK

#define GR_D3D_CALL_ERRCHECK (   X)
Value:
do { \
HRESULT result = X; \
SkASSERT(SUCCEEDED(result)); \
if (!SUCCEEDED(result)) { \
SkDebugf("Failed Direct3D call. Error: 0x%08lx\n", result); \
} \
} while (false)
static const SkScalar X
GAsyncResult * result
#define SUCCEEDED(hr)

Definition at line 23 of file D3D12WindowContext_win.cpp.

24 { \
25 HRESULT result = X; \
26 SkASSERT(SUCCEEDED(result)); \
27 if (!SUCCEEDED(result)) { \
28 SkDebugf("Failed Direct3D call. Error: 0x%08lx\n", result); \
29 } \
30 } while (false)