@@ -321,6 +321,10 @@ bool Caches::unbindIndicesBuffer() {
321321 return false ;
322322}
323323
324+ // /////////////////////////////////////////////////////////////////////////////
325+ // Meshes and textures
326+ // /////////////////////////////////////////////////////////////////////////////
327+
324328void Caches::bindPositionVertexPointer (bool force, GLuint slot, GLvoid* vertices, GLsizei stride) {
325329 if (force || vertices != mCurrentPositionPointer ) {
326330 glVertexAttribPointer (slot, 2 , GL_FLOAT, GL_FALSE, stride, vertices);
@@ -366,6 +370,10 @@ void Caches::activeTexture(GLuint textureUnit) {
366370 }
367371}
368372
373+ // /////////////////////////////////////////////////////////////////////////////
374+ // Scissor
375+ // /////////////////////////////////////////////////////////////////////////////
376+
369377bool Caches::setScissor (GLint x, GLint y, GLint width, GLint height) {
370378 if (scissorEnabled && (x != mScissorX || y != mScissorY ||
371379 width != mScissorWidth || height != mScissorHeight )) {
@@ -412,6 +420,26 @@ void Caches::resetScissor() {
412420 mScissorX = mScissorY = mScissorWidth = mScissorHeight = 0 ;
413421}
414422
423+ // /////////////////////////////////////////////////////////////////////////////
424+ // Tiling
425+ // /////////////////////////////////////////////////////////////////////////////
426+
427+ void Caches::startTiling (GLuint x, GLuint y, GLuint width, GLuint height, bool opaque) {
428+ if (extensions.hasTiledRendering ()) {
429+
430+ }
431+ }
432+
433+ void Caches::endTiling () {
434+ if (extensions.hasTiledRendering ()) {
435+
436+ }
437+ }
438+
439+ // /////////////////////////////////////////////////////////////////////////////
440+ // Regions
441+ // /////////////////////////////////////////////////////////////////////////////
442+
415443TextureVertex* Caches::getRegionMesh () {
416444 // Create the mesh, 2 triangles and 4 vertices per rectangle in the region
417445 if (!mRegionMesh ) {
0 commit comments