Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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.
a898ca9
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…
…extures.
f3ded93
@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.
65fed89
@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.
ce52b0b
@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.
d86cef3
@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://loggianero.com/home/abetts/git/rsxgl…
… into unstable
983c355
@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.
05ca88d
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…
…iforms.
ccca191
@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…
…st...
94c8fdf
@gzorin Something, probably in the vertex program, isn't being translated pro…
…perly...
aa9d5f1
Commits on Mar 05, 2012
@gzorin Mesa-compiled vertex programs seem to work, fragment programs need so…
…me work...
a44750a
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.
7a4f2af
@gzorin Use Mesa's glBindAttribLocation and glBindFragDataLocation. rsxglgear…
…s works with online compiler.
a698e7e
@gzorin Merging mesa and drm sources. aaecffc
@gzorin Removed unused code and dependencies on binary shaders produced with …
…cgcomp.
163d635
@gzorin Some build system modifications after testing a new clone on a Linux …
…system.
c0a7ca4
@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 program.cc
59252b0
@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
d77f19d
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.
813a6aa
@kakaroto kakaroto Remove makefile/configure/aclocal files that get generated by the aut…
…ogen.sh or configure script
31b8a02
Commits on Mar 09, 2012
@kakaroto kakaroto Adding an autogen.sh 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...
2f839fe
@gzorin Framebuffer rendering is broken d41aed6
Commits on Mar 10, 2012
@gzorin Reworking texture implementation so it'll work with framebuffer imple…
…mentation.
a7539ce
@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)
c5430c9
@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 https://github.com/kakaroto/RSXGL into kakaroto-master
a7aac93
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…
…tings.
3c2acbd
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.
6cee446
@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).
038c2ec
@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).
caaa084
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…
…iler.
3620a83
@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.
b16904f
@gzorin Force the nvfx_screen to advertise floating-point textures. c179186
@gzorin Refactored instance rendering commands "work"...
...in 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.
0ba609d
@gzorin Finished refactoring glDraw*() functions.
Attempting to make use of "policy-based design," per Alexandrescu.
75911e1
Commits on Jul 23, 2012
@gzorin Moved some static arrays to the functions that make exclusive use of …
…them.
fe59ed7
@gzorin Vertex program texture commands. They don't work, but they don't hang…
… the RSX, either.
10139e9
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://loggianero.com/home/abetts/git/rsxgl…
… into unstable
fedb15d
@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 buffer.cc 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
44c1120
@kakaroto kakaroto The pipe->gl format mapping was returning 1, 2, 3, 4 for the internal…
… format, which is wrong
dde5af5
@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
ef4b088
@kakaroto kakaroto Texture migration: In case the texture migrate buffer is too small, u…
…se a one-shot memory allocation for the migration
5bfe91e
Commits on Aug 16, 2012
@gzorin Make texture functions respect glPixelStore(GL_UNPACK_ALIGNMENT) sett…
…ing.
c12f47a
Commits on Aug 24, 2012
@gzorin Updated README and AUTHORS files. 5c6aba6