From 6c15ffa196fc9b7724c189d833c3435d8db12266 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Mon, 2 Feb 2015 13:50:55 -0800 Subject: Refactoring of Program ownership/lifecycle, and WIP Glop rendering path Change-Id: I2549032790bddbc048b0bccc224ed8f386b4517c --- libs/hwui/OpenGLRenderer.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'libs/hwui/OpenGLRenderer.h') diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index cf6f0c845548..f0de089d0aee 100755 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -852,18 +852,6 @@ private: inline void chooseBlending(bool blend, SkXfermode::Mode mode, ProgramDescription& description, bool swapSrcDst = false); - /** - * Use the specified program with the current GL context. If the program is already - * in use, it will not be bound again. If it is not in use, the current program is - * marked unused and the specified program becomes used and becomes the new - * current program. - * - * @param program The program to use - * - * @return true If the specified program was already in use, false otherwise. - */ - inline bool useProgram(Program* program); - /** * Invoked before any drawing operation. This sets required state. */ -- cgit v1.2.3-59-g8ed1b