From d818ebf4a31724aa93fd439a2ac4195f69ae3af0 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Mon, 2 Jul 2018 14:08:49 +0000 Subject: Revert "Some scissor state cleanup." This reverts commit a219419c9d76432dca74494b611ff1f59086d139. Reason for revert: breaking things Original change's description: > Some scissor state cleanup. > > Separate flushing the enablement of scissor from the rect in GrGLGpu. > > Move GrPipeline::ScissorState to a global enum and use more broadly. > Rename to GrScissorTest to avoid name conflict with existing > GrScissorState. > > Change-Id: Ib32160b3300bc12de2d2e1761d152fd1bba8b683 > Reviewed-on: https://skia-review.googlesource.com/137395 > Commit-Queue: Brian Salomon > Reviewed-by: Chris Dalton TBR=bsalomon@google.com,csmartdalton@google.com Change-Id: If71a5c5efc86d4239b40675bad2a6cb1f77460f8 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/138900 Reviewed-by: Brian Salomon Commit-Queue: Brian Salomon --- include/private/GrTypesPriv.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') diff --git a/include/private/GrTypesPriv.h b/include/private/GrTypesPriv.h index a5ee50878a..16f3c4a53e 100644 --- a/include/private/GrTypesPriv.h +++ b/include/private/GrTypesPriv.h @@ -73,11 +73,6 @@ static const GrPixelConfig kSkia8888_GrPixelConfig = kRGBA_8888_GrPixelConfig; #error "SK_*32_SHIFT values must correspond to GL_BGRA or GL_RGBA format." #endif -enum class GrScissorTest : bool { - kDisabled = false, - kEnabled = true -}; - /** * Geometric primitives used for drawing. */ -- cgit v1.2.3