From 6e1a9430e8e8de13109f1b234d937541a45a8ac5 Mon Sep 17 00:00:00 2001 From: Jim Huang Date: Tue, 10 Aug 2010 02:56:47 +0800 Subject: [PATCH] pixelflinger: Fix function naming typo: gglBitBlti From the functionality, the function gglBitBlti() implemented bit-block (image) transfer operation in which several bitmaps are combined into one using a raster operator. Renaming to gglBitBlit() should be explicit. Change-Id: I23886623b5421131cf7c7bfb8ec67c3809566c93 --- include/pixelflinger/pixelflinger.h | 2 +- libpixelflinger/raster.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/pixelflinger/pixelflinger.h b/include/pixelflinger/pixelflinger.h index dca0b9073..8a2b4421b 100644 --- a/include/pixelflinger/pixelflinger.h +++ b/include/pixelflinger/pixelflinger.h @@ -315,7 +315,7 @@ extern "C" { ssize_t gglInit(GGLContext** context); ssize_t gglUninit(GGLContext* context); -GGLint gglBitBlti( +GGLint gglBitBlit( GGLContext* c, int tmu, GGLint crop[4], diff --git a/libpixelflinger/raster.cpp b/libpixelflinger/raster.cpp index d75120294..32b2a97aa 100644 --- a/libpixelflinger/raster.cpp +++ b/libpixelflinger/raster.cpp @@ -143,7 +143,7 @@ void ggl_copyPixels(void* con, GGLint xs, GGLint ys, using namespace android; -GGLint gglBitBlti(GGLContext* con, int tmu, GGLint crop[4], GGLint where[4]) +GGLint gglBitBlit(GGLContext* con, int tmu, GGLint crop[4], GGLint where[4]) { GGL_CONTEXT(c, (void*)con);