Lines Matching defs:Caches
22 #include "Caches.h"
31 ANDROID_SINGLETON_STATIC_INSTANCE(Caches);
50 Caches::Caches(): Singleton<Caches>(),
63 bool Caches::init() {
109 void Caches::initFont() {
113 void Caches::initExtensions() {
134 void Caches::initConstraints() {
144 void Caches::initStaticProperties() {
156 bool Caches::initProperties() {
214 void Caches::terminate() {
243 uint32_t Caches::getOverdrawColor(uint32_t amount) const {
253 void Caches::dumpMemoryUsage() {
259 void Caches::dumpMemoryUsage(String8 &log) {
308 void Caches::clearGarbage() {
338 void Caches::deleteLayerDeferred(Layer* layer) {
343 void Caches::deleteDisplayListDeferred(DisplayList* displayList) {
348 void Caches::flush(FlushMode mode) {
349 FLUSH_LOGD("Flushing caches (mode %d)", mode);
351 // We must stop tasks before clearing caches
384 bool Caches::bindMeshBuffer() {
388 bool Caches::bindMeshBuffer(const GLuint buffer) {
397 bool Caches::unbindMeshBuffer() {
406 bool Caches::bindIndicesBuffer(const GLuint buffer) {
415 bool Caches::bindIndicesBuffer() {
441 bool Caches::unbindIndicesBuffer() {
454 bool Caches::bindPixelBuffer(const GLuint buffer) {
463 bool Caches::unbindPixelBuffer() {
476 void Caches::bindPositionVertexPointer(bool force, GLvoid* vertices, GLsizei stride) {
485 void Caches::bindTexCoordsVertexPointer(bool force, GLvoid* vertices, GLsizei stride) {
494 void Caches::resetVertexPointers() {
499 void Caches::resetTexCoordsVertexPointer() {
503 void Caches::enableTexCoordsVertexArray() {
511 void Caches::disableTexCoordsVertexArray() {
518 void Caches::activeTexture(GLuint textureUnit) {
525 void Caches::resetActiveTexture() {
529 void Caches::bindTexture(GLuint texture) {
536 void Caches::bindTexture(GLenum target, GLuint texture) {
543 void Caches::deleteTexture(GLuint texture) {
565 void Caches::resetBoundTextures() {
573 bool Caches::setScissor(GLint x, GLint y, GLint width, GLint height) {
603 bool Caches::enableScissor() {
613 bool Caches::disableScissor() {
622 void Caches::setScissorEnabled(bool enabled) {
630 void Caches::resetScissor() {
638 void Caches::startTiling(GLuint x, GLuint y, GLuint width, GLuint height, bool discard) {
644 void Caches::endTiling() {
650 bool Caches::hasRegisteredFunctors() {
654 void Caches::registerFunctors(uint32_t functorCount) {
658 void Caches::unregisterFunctors(uint32_t functorCount) {
670 TextureVertex* Caches::getRegionMesh() {