From 7c24e28a8e01970947a9bb4ef2800b696d0039c8 Mon Sep 17 00:00:00 2001 From: Peter Chen Date: Fri, 2 Nov 2018 15:54:47 -0400 Subject: [PATCH] Change kMaxFramebufferObservation to 4K. Framebuffer observation should support at least 1080p. Validate framebuffer against a downscaled version is sub-optimal, and most desktop app runs at 720p/1080p. --- gapii/cc/spy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gapii/cc/spy.cpp b/gapii/cc/spy.cpp index 1fec257d1c..c19cc40826 100644 --- a/gapii/cc/spy.cpp +++ b/gapii/cc/spy.cpp @@ -92,8 +92,8 @@ const EGLint EGL_CONTEXT_FLAGS_KHR = 0x30FC; const EGLint EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR = 0x0001; const EGLint EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR = 0x30FD; -const uint32_t kMaxFramebufferObservationWidth = 1920 / 2; -const uint32_t kMaxFramebufferObservationHeight = 1280 / 2; +const uint32_t kMaxFramebufferObservationWidth = 3840; +const uint32_t kMaxFramebufferObservationHeight = 2560; const uint32_t kStartMidExecutionCapture = 0xdeadbeef;