aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrCaps.cpp
diff options
context:
space:
mode:
authorGravatar Jim Van Verth <jvanverth@google.com>2017-11-02 16:56:09 +0000
committerGravatar Jim Van Verth <jvanverth@google.com>2017-11-02 16:56:19 +0000
commit6a40abc8c7e158e6be34c836f6ea1bbf7b498146 (patch)
tree6a74566b8ca660b65b2457ba42620a9e93331012 /src/gpu/GrCaps.cpp
parent2b17f64694c4b919f8ea5dff5a81813f435fb410 (diff)
Revert "Implement window rectangles in vulkan"
This reverts commit 94c0468b2b4255e3beed81efdcfbf6d9d39e11e4. Reason for revert: <INSERT REASONING HERE> Original change's description: > Implement window rectangles in vulkan > > Bug: skia: > Change-Id: I32c079b90a5503c797dfc073a093f940cd8c550a > Reviewed-on: https://skia-review.googlesource.com/65423 > Commit-Queue: Chris Dalton <csmartdalton@google.com> > Reviewed-by: Greg Daniel <egdaniel@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> TBR=egdaniel@google.com,bsalomon@google.com,csmartdalton@google.com Change-Id: I5a90cb57fb5d4bcf8c7e76a5f71a7f16edbaf6be No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/67060 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'src/gpu/GrCaps.cpp')
-rw-r--r--src/gpu/GrCaps.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gpu/GrCaps.cpp b/src/gpu/GrCaps.cpp
index 9705320fb0..2e25845876 100644
--- a/src/gpu/GrCaps.cpp
+++ b/src/gpu/GrCaps.cpp
@@ -61,8 +61,6 @@ GrCaps::GrCaps(const GrContextOptions& options) {
fMapBufferFlags = kNone_MapFlags;
- fWindowRectsSupport = WindowRectsSupport::kNone;
-
fMaxVertexAttributes = 0;
fMaxRenderTargetSize = 1;
fMaxTextureSize = 1;
@@ -196,14 +194,6 @@ void GrCaps::dumpJSON(SkJSONWriter* writer) const {
SkASSERT(!this->isConfigRenderable(kUnknown_GrPixelConfig, true));
SkASSERT(!this->isConfigTexturable(kUnknown_GrPixelConfig));
- const char* windowRectsSupportName = "<invalid>";
- switch (fWindowRectsSupport) {
- case WindowRectsSupport::kNone: windowRectsSupportName = "None"; break;
- case WindowRectsSupport::kDrawOnly: windowRectsSupportName = "DrawOnly"; break;
- case WindowRectsSupport::kDrawAndClear: windowRectsSupportName = "DrawAndClear"; break;
- }
- writer->appendString("Window Rectangles Support", windowRectsSupportName);
-
writer->beginArray("configs");
for (size_t i = 1; i < kGrPixelConfigCnt; ++i) {