Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Commits on Jan 11, 2012
@gzorin Initial commit of experiments with GLSL compiler. 1a9befe
Commits on Jan 12, 2012
@gzorin Fixes to toolchain.m4 5a31b3a
Commits on Jan 14, 2012
@gzorin Setup empty nvfx_context and nvfx_screen, so that st_glsl_to_tgsi.cpp…
… needn't be modified.
Commits on Feb 08, 2012
@gzorin Makefile for nvfxc, seems to compile for PPC. 01418a5
Commits on Feb 13, 2012
@gzorin Implemented glGetString functions. cacd20b
Commits on Feb 14, 2012
@gzorin Filled in glPixelStore functions, but they don't have any effect on t…
@gzorin A few glGet*() behaviors required by EFL. dbd1b11
Commits on Feb 17, 2012
@gzorin More work on integrating mesa into build system. 7df41ef
Commits on Feb 18, 2012
@gzorin Makefile and some function stubs for nouveau's libdrm. c81a5e4
@gzorin Makefile for mesa's libnouveau 650b875
@gzorin Initial commit of nvfx sources, which will be hacked-up to tailor the…
…m to the RSX.
@gzorin Seems to build, doesn't do anything yet. 76d9028
@gzorin libEGL creates nvfx_screen, let's see if it can do anything with it... 0ac8fa8
@gzorin Cool, texture functions make use of mesa functions. aca1e83
@gzorin Texture operations use mesa/gallium formats exclusively.
glTexStorage and glTexSubImage are untested at the moment.

Framebuffer stuff is broken now, too.
@gzorin Gradually getting framebuffers to work with gallium formats. 1b360ae
Commits on Feb 20, 2012
@gzorin Framebuffer has some problems since switching to pipe_format. 6ab531e
@gzorin Main framebuffer works again, texture colors are wrong, probably a sw…
…izzling issue.
@gzorin Swizzling textures. 006e1f3
Commits on Feb 21, 2012
@gzorin Integrating mesa GLSL compiler... 32701ff
@gzorin libdl stub functions. e77b7ce
@gzorin libdl stub functions & mesa stuff. 507d06e
@gzorin Merge branch 'unstable' of ssh://…
… into unstable
@gzorin Trying to touch as few mesa sources as possible. 401d2e7
@gzorin Compiling, linking, translating GLSL programs seems to work, haven't …
…tried actually using them yet.
Commits on Mar 03, 2012
@gzorin Stubs for translating TGSI vertex program texture instructions to nvfx. 0ca9a65
@gzorin Small fix so that nvfx_state can be included in C++ program. 1fe3f52
@gzorin glLinkProgram dumps information about the program's attributes and un…
@gzorin Added really simple set container based upon the compact array type. ea1b046
@gzorin New storage for attached and linked shaders. 3961751
@gzorin Migrate program from nvfx. 994fe44
Commits on Mar 04, 2012
@gzorin More Mesa GLSL integration work. 3a657a0
@gzorin Migrated more from mesa to what the rest of RSXGL expects, time to te…
@gzorin Something, probably in the vertex program, isn't being translated pro…
Commits on Mar 05, 2012
@gzorin Mesa-compiled vertex programs seem to work, fragment programs need so…
…me work...
Commits on Mar 06, 2012
@gzorin Finally, GLSL fragment program is doing something... 564efae
@gzorin glLinkProgram destroys existing program before trying to link new one…
…. Removed some debugging messages, too.
@gzorin Use Mesa's glBindAttribLocation and glBindFragDataLocation. rsxglgear…
…s works with online compiler.
@gzorin Merging mesa and drm sources. aaecffc
@gzorin Removed unused code and dependencies on binary shaders produced with …
@gzorin Some build system modifications after testing a new clone on a Linux …
@gzorin Modified acknowledgements. 54d04b6
Commits on Mar 07, 2012
@gzorin Debugged framebuffer objects (particularly rendering depth). be2d91c
@gzorin Starting a multiple-render-target test program. 27cd3cf
@gzorin Fix issue where mesa sources weren't getting patched if RSXGL is buil…
…t from its source directory.

Removed use of C++11 range for loops in
@gzorin Modified the last C++11 range for loop replacement. e334816
@kakaroto kakaroto Fix for loops to compile on gcc 4.5.x a087a2b
@gzorin Merge pull request #3 from kakaroto/master
Fix last 2 for loops
Commits on Mar 08, 2012
@gzorin Huh, forgot to include the gallium utility library when linking. 4d346e3
@gzorin glTexStorage and glTexSubImage didn't work correctly. There are proba…
…bly still texture remap issues.
@kakaroto kakaroto Remove makefile/configure/aclocal files that get generated by the aut…
… or configure script
Commits on Mar 09, 2012
@kakaroto kakaroto Adding an script fd48364
@kakaroto kakaroto Adding .gitignore file 97a6536
@kakaroto kakaroto Do not complain that the patch has already been applied if we run ./c…
…onfigure twice from source dir...
@gzorin Framebuffer rendering is broken d41aed6
Commits on Mar 10, 2012
@gzorin Reworking texture implementation so it'll work with framebuffer imple…
@gzorin New texture implementation, see if it'll work with framebuffer objects. 3670822
@gzorin Render-to-texture sort of works, again. 51b8e53
@gzorin Render-to-texture works again, but not for multiple render targets. bc8f061
@gzorin Sheesh, even setting color masks is a pain. e5c2378
@gzorin Modified color mask and multi-render-target support, untested. d781cd5
Commits on Mar 11, 2012
@gzorin Normal framebuffer rendering works again. fb5aec3
Commits on Mar 12, 2012
@gzorin Much trouble with multiple render targets afecb84
Commits on Mar 13, 2012
@gzorin Squelch some framebuffer printf's. 6c154ae
@gzorin Renamed migrate buffer to vertex_migrate_buffer (as textures are abou…
…t to get one, too)
@gzorin Texture functions allocate from migration buffer area. Need to DMA it. 9905df2
Commits on Mar 14, 2012
@gzorin Got some texture DMA doing, needs more. 90c0676
Commits on Apr 13, 2012
@gzorin CopyTex*Image* in progress... 8ebbbc9
@gzorin More work on reading from framebuffer 899d0d3
Commits on Apr 14, 2012
@gzorin Lord, EGL was setting the wrong RGB ordering for the framebuffer. 06afb6a
@gzorin glCopyTexImage2D seems to work. 951c116
@gzorin glCopyTexSubImage2D appears to work, too. 33d44cd
@gzorin Filled-in glCopyTexSubImage{1,3}D. 7a6aa08
@gzorin Tested unpacking textures from a buffer. fd005d5
@gzorin Started glReadPixels a390dd1
@gzorin Cleanup of headers and other cruft. 27b8be6
Commits on Apr 15, 2012
@gzorin Color channels output by fragment program were ordered wrong. b7016ae
Commits on Apr 18, 2012
@gzorin Build system improvements from kakaroto.
Merge branch 'master' of into kakaroto-master
Commits on Apr 19, 2012
@gzorin Moved storage for glPixelStore to its own file. 1053e00
@gzorin Cache framebuffer object's read buffer address. 8ebe177
@gzorin FBO demo renders to a renderbuffer object, copies to a texture. e0e5a68
@gzorin Make git ignore refuse left behind by the world's greatest text editor. 510ea68
Commits on Apr 20, 2012
@gzorin Start implementing the most important feature yet, pixel transfer set…
Commits on May 10, 2012
@gzorin Why wasnt this stuff committed before???? 0ca50d6
@gzorin Starting on transform feedback support. fce6e05
@gzorin It generates transform feedback programs, not sure what they do yet... 84fce2c
Commits on May 13, 2012
@gzorin Added license text (two-clause BSD). bc8d9db
@gzorin Added state and functions for enabling/disable transform feedback. 2a94995
Commits on May 14, 2012
@gzorin Basic API implementation and state for glBindBuffer{Range,Base}.
program_t stores index for vertex id array.
@gzorin Whoops, license file was getting mixed up with another project's. 04063e5
Commits on May 15, 2012
@gzorin Some fifo functions for creating display lists. e9a9633
@gzorin Cache a program's ability to do transform feedback. a2997ef
Commits on Jun 20, 2012
@gzorin Some unfinished functions to create and run display lists. 7acbcd6
@gzorin Unfinished work to get transform feedback to work (even though the ha…
…rdware doesn't support it).
@gzorin Build system changes to accommodate client-side vertex data. 6bf7567
@gzorin Vertex attrib functions will supposedly store pointers to client memo…
…ry buffers (draw functions do not yet migrate this to RSX memory).
Commits on Jun 21, 2012
@gzorin Rearranging draw functions to accommodate client vertex buffers. 204d2f7
Commits on Jun 26, 2012
@gzorin Point sprites have been neglected after switching to Mesa's GLSL comp…
@gzorin New glDraw* functions. glDrawArrays is finished. f6c82de
@gzorin New glMultiDrawArrays function. 8c11188
Commits on Jul 19, 2012
@gzorin Draw function refactoring continues. 3c58a8b
Commits on Jul 21, 2012
@gzorin Somehow, I forgot to commit the texture_migrate sources. 6d88543
@gzorin Yet more glDraw* refactoring. 02c1989
Commits on Jul 22, 2012
@gzorin MORE refactoring... 844f05a
@gzorin Refactored glMultiDrawElements*() appear to work. 87a3b06
@gzorin New instanced draw functinos... however floating point textures, upon…
… which instanced rendering depends, appear to be broken.
@gzorin Force the nvfx_screen to advertise floating-point textures. c179186
@gzorin Refactored instance rendering commands "work"... the sense that they schedule the command stream properly. Instance rendering does not actually occur, however, probably because the GLSL compiler isn't emitting a vertex program texture command.
@gzorin Finished refactoring glDraw*() functions.
Attempting to make use of "policy-based design," per Alexandrescu.
Commits on Jul 23, 2012
@gzorin Moved some static arrays to the functions that make exclusive use of …
@gzorin Vertex program texture commands. They don't work, but they don't hang…
… the RSX, either.
Commits on Jul 24, 2012
@gzorin EGL platform detection uses __lv2ppu__ instead of __RSX__ 1a637cb
@gzorin Vertex program textures work again. 4dae1b4
Commits on Jul 26, 2012
@gzorin Stub program to experiment with transform feedback. a17467f
@gzorin Feedback program actually calls some feedback API's. 5f3c88f
@gzorin Some error checking related to transform feedback. 8ba9ba5
@gzorin Re-enabled stream program translation. a6ecfde
@gzorin Validates feedback program without errors. d648907
Commits on Aug 01, 2012
@gzorin Possibly getting somewhere with transform feedback. 4f8b922
@gzorin Some decrufting. 79f14dc
@gzorin Support RASTERIZER_DISCARD setting. 8720119
Commits on Aug 02, 2012
@gzorin Attempt to fix crashing when glUseProgram(0) is called. 10ac256
Commits on Aug 03, 2012
@gzorin Work on fragment program for transform feedback. cfebcdb
@gzorin Merge branch 'unstable' of ssh://…
… into unstable
@gzorin Silence some debugging information. c64332a
Commits on Aug 04, 2012
@gzorin Implemented glTexLevelParameter functions. cbcb930
Commits on Aug 08, 2012
@gzorin Bug in returning shader source length. f7b069d
@gzorin Removed some texture-related nonsense in 32b1826
Commits on Aug 09, 2012
@gzorin Decrufting related to vertex textures. c38600c
Commits on Aug 10, 2012
@gzorin Many fixes to get evas textures to render correctly. Not there yet. 99882fd
Commits on Aug 14, 2012
@gzorin glBindAttribLocation was basically broken. 4ea86e0
Commits on Aug 15, 2012
@gzorin More texture translation fixes. 31c4267
@kakaroto kakaroto Add GL_LUMINANCE and GL_LUMINANCE_ALPHA to the gl3.h include 6644312
@kakaroto kakaroto Properly return the YCbCr mesa texture format 7f5a22a
@kakaroto kakaroto Add support for more mesa YUV formats 39bb02c
@kakaroto kakaroto rsxgl_get_tex_level_parameter already supports GL_TEXTURE_INTERNAL_FO…
…RMAT, so it should whitelist it
@kakaroto kakaroto The pipe->gl format mapping was returning 1, 2, 3, 4 for the internal…
… format, which is wrong
@kakaroto kakaroto Ref the texture and renderbuffer in the framebuffer attachments 73e70cc
@kakaroto kakaroto Tex: Do not modify data pointer if there's a texture binding (data re…
…presents an offset)

Also, make sure to validate level storage before using it
@kakaroto kakaroto Texture migration: In case the texture migrate buffer is too small, u…
…se a one-shot memory allocation for the migration
Commits on Aug 16, 2012
@gzorin Make texture functions respect glPixelStore(GL_UNPACK_ALIGNMENT) sett…
Commits on Aug 24, 2012
@gzorin Updated README and AUTHORS files. 5c6aba6