8#ifndef GrD3DOpsRenderPass_DEFINED
9#define GrD3DOpsRenderPass_DEFINED
48 void onDraw(
int vertexCount,
int baseVertex)
override {
51 void onDrawIndexed(
int indexCount,
int baseIndex, uint16_t minIndexValue,
52 uint16_t maxIndexValue,
int baseVertex)
override {
55 void onDrawInstanced(
int instanceCount,
int baseInstance,
int vertexCount,
56 int baseVertex)
override;
58 int baseVertex)
override;
74 std::array<float, 4> fClearColor;
std::function< void(GrDeferredTextureUploadWritePixelsFn &)> GrDeferredTextureUploadFn
void onClear(const GrScissorState &scissor, std::array< float, 4 > color) override
void inlineUpload(GrOpFlushState *state, GrDeferredTextureUploadFn &upload) override
void onClearStencilClip(const GrScissorState &scissor, bool insideStencilMask) override
bool onBindPipeline(const GrProgramInfo &, const SkRect &drawBounds) override
void onDraw(int vertexCount, int baseVertex) override
~GrD3DOpsRenderPass() override
void onDrawIndirect(const GrBuffer *, size_t offset, int drawCount) override
void onDrawIndexed(int indexCount, int baseIndex, uint16_t minIndexValue, uint16_t maxIndexValue, int baseVertex) override
void onDrawIndexedInstanced(int indexCount, int baseIndex, int instanceCount, int baseInstance, int baseVertex) override
void onDrawInstanced(int instanceCount, int baseInstance, int vertexCount, int baseVertex) override
bool onBindTextures(const GrGeometryProcessor &, const GrSurfaceProxy *const geomProcTextures[], const GrPipeline &) override
void onBindBuffers(sk_sp< const GrBuffer > indexBuffer, sk_sp< const GrBuffer > instanceBuffer, sk_sp< const GrBuffer > vertexBuffer, GrPrimitiveRestart) override
void onDrawIndexedIndirect(const GrBuffer *, size_t offset, int drawCount) override
void onSetScissorRect(const SkIRect &) override
void onExecuteDrawable(std::unique_ptr< SkDrawable::GpuDrawHandler >) override