Flutter Engine
The Flutter Engine
Classes | Namespaces | Typedefs | Functions
RecordingSurfacesTest.cpp File Reference
#include "tests/Test.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkPixmap.h"
#include "include/gpu/graphite/Context.h"
#include "include/gpu/graphite/Recorder.h"
#include "include/gpu/graphite/Recording.h"
#include "include/gpu/graphite/Surface.h"
#include "src/gpu/graphite/RecordingPriv.h"
#include "src/gpu/graphite/Surface_Graphite.h"

Go to the source code of this file.

Classes

struct  skgpu::graphite::Expectation
 

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 

Typedefs

using skgpu::graphite::DrawCallback = std::function< void(SkCanvas *)>
 

Functions

void skgpu::graphite::run_test (skiatest::Reporter *reporter, Context *context, SkISize surfaceSize, SkISize recordingSize, SkISize replayOffset, DrawCallback draw, const std::vector< Expectation > &expectations)
 
 skgpu::graphite::DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (RecordingSurfacesTestClear, reporter, context, CtsEnforcement::kNextRelease)
 
 skgpu::graphite::DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (RecordingSurfacesTestWritePixels, reporter, context, CtsEnforcement::kNextRelease)
 
 skgpu::graphite::DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS (RecordingSurfacesTestWritePixelsOffscreen, reporter, context, CtsEnforcement::kNextRelease)