summaryrefslogtreecommitdiffstats
path: root/rsProgramStore.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-05-14 15:30:29 -0700
committerJason Sams <rjsams@android.com>2010-05-14 15:30:29 -0700
commit771565f47fc44608444c00aa8fa3bda769ceaece (patch)
tree21f490bcde4e02604df7c8eacbf5bdacd0277eef /rsProgramStore.cpp
parentccc010bb7c0f89e162bf60033968a20be90a903a (diff)
downloadandroid_frameworks_rs-771565f47fc44608444c00aa8fa3bda769ceaece.tar.gz
android_frameworks_rs-771565f47fc44608444c00aa8fa3bda769ceaece.tar.bz2
android_frameworks_rs-771565f47fc44608444c00aa8fa3bda769ceaece.zip
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
Diffstat (limited to 'rsProgramStore.cpp')
-rw-r--r--rsProgramStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsProgramStore.cpp b/rsProgramStore.cpp
index 2e5114f1..ff70509a 100644
--- a/rsProgramStore.cpp
+++ b/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);