From f603d212552485c634e25f3556f847dc2b022bd5 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Fri, 14 May 2010 15:30:29 -0700 Subject: Change RS to use the passed surface size rather than EGL size. Its possible that during a resize the EGL information could be stale so caching this is bad. The surface size should always be correct. Change-Id: Ifd479e1ea70b1cada1a8690c7c82e91aa391b685 Conflicts: libs/rs/rsProgramStore.cpp libs/rs/rsProgramStore.h --- libs/rs/rsProgramStore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/rs/rsProgramStore.cpp') diff --git a/libs/rs/rsProgramStore.cpp b/libs/rs/rsProgramStore.cpp index 2e5114f..ff70509 100644 --- a/libs/rs/rsProgramStore.cpp +++ b/libs/rs/rsProgramStore.cpp @@ -247,7 +247,7 @@ ProgramStoreState::~ProgramStoreState() } -void ProgramStoreState::init(Context *rsc, int32_t w, int32_t h) +void ProgramStoreState::init(Context *rsc) { ProgramStore *pfs = new ProgramStore(rsc); mDefault.set(pfs); -- cgit v1.1