Skip to content

Commit

Permalink
Change kMaxFramebufferObservation to 4K. (#2350)
Browse files Browse the repository at this point in the history
Framebuffer observation should support at least 1080p.
Validate framebuffer against a downscaled version is sub-optimal, and most desktop app runs at 720p/1080p.
  • Loading branch information
hysw authored Nov 5, 2018
1 parent d8c1898 commit cd0b389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gapii/cc/spy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit cd0b389

Please sign in to comment.