graphics

experiments with opengl3.2/ogles3.3 on linux and win7
git clone http://frotz.net/git/graphics.git
Log | Files | Refs

DateCommit messageAuthorFiles+-
2013-09-20 21:37opengl: add glDepthMask()Brian Swetland2+3-0
2013-09-18 04:44wip menu experimentsBrian Swetland1+153-0
2013-09-16 20:28texturefont: split font resouce (TextureFont) and renderer (Text)Brian Swetland3+99-69
2013-09-16 03:32texturefont: accessors for new data, fix measure()Brian Swetland2+3-3
2013-09-16 03:05texturefont: include overall ascent/descent/height dataBrian Swetland4+29-1
2013-09-15 12:58opengl: add query counter apiBrian Swetland2+18-0
2013-09-15 12:33app: don't clear framebuffer and enable depth testingBrian Swetland1+0-2
2013-09-15 12:32object: optional post-proccessing (toggle with SPACE)Brian Swetland1+66-53
2013-09-15 12:31hello: don't rely on app to clear framebuffer and enable depthtestBrian Swetland1+3-1
2013-09-15 12:21rectangle.glsl - various effects for copy-texture-to-screenBrian Swetland1+76-0
2013-09-15 12:20core: add FrameBuffer object for render-to-textureBrian Swetland3+56-0
2013-09-15 12:14renderable: add xzgrid and fullscreenquad renderablesBrian Swetland2+111-0
2013-09-13 05:48opengl: more apiBrian Swetland2+12-0
2013-09-13 04:22texture2d: provide createRGBA() to create an empty textureBrian Swetland2+14-0
2013-09-13 04:21opengl: some FBO related callsBrian Swetland2+18-0
2013-09-13 01:37textgrid: now appease the mesa shader compilerBrian Swetland1+1-1
2013-09-13 01:26textgrid: appease the nvidia glsl compilerBrian Swetland1+2-2
2013-09-13 08:01Merge branch 'master' of https://github.com/swetland/graphics.gitBrian Swetland2+13-13
2013-09-13 07:56textgrid: deal with radeon GPUs, add color supportBrian Swetland3+27-15
2013-09-12 11:02use printx() instead of fprintf() for correct debug print routing on win7Brian Swetland2+13-13
2013-09-12 10:57textgrid: correctly declare sampler0 to ensure we bind itBrian Swetland1+2-2
2013-09-10 16:16stringutils: disallow copy/assign of stackstringsBrian Swetland1+3-0
2013-09-10 16:04fix win7 buildBrian Swetland2+2-2
2013-09-10 15:59clean up temporary string building, use stackstring instead of std::stringBrian Swetland12+183-49
2013-09-10 12:58clang_complete: include freetype tooBrian Swetland1+1-1
2013-09-10 12:55config file for vim clang_complete pluginBrian Swetland1+4-0
2013-09-10 12:49textgrid/texturefont: uniform ortho mappingBrian Swetland7+26-40
2013-09-10 12:13hello: resize textgrid on resize of windowBrian Swetland1+1-0
2013-09-10 12:13textgrid: provide resize()Brian Swetland2+21-12
2013-09-10 11:57textgrid: use shared scene UBO, change how grid is specifiedBrian Swetland4+45-59
2013-09-10 11:55shared: track text grid configuration (one ivec4) in scene uboBrian Swetland1+2-0
2013-09-10 11:55matrix: trivial ivec4 typeBrian Swetland1+14-0
2013-09-09 10:51hello: toggle fullscreen on ENTERBrian Swetland1+12-3
2013-09-09 10:50app: add fullscreen() isFullscreen() and onResize()Brian Swetland2+23-1
2013-09-09 10:50opengl: add glViewport()Brian Swetland2+3-0
2013-09-09 08:24textgrid: fix a bug, remove old cruftBrian Swetland3+2-15
2013-09-09 07:56hello: update shader to new naming/location conventionsBrian Swetland1+2-5
2013-09-07 06:05unit hexagonBrian Swetland1+148-0
2013-09-07 05:57app: re-enable commandline argument handling (-vsync, fullscreen, -fs, ###x###)Brian Swetland3+29-16
2013-09-07 05:37wipBrian Swetland4+26-15
2013-09-07 03:33model: load textures w/ mipmapsBrian Swetland1+1-1
2013-09-06 04:43hello: update to using common uniforms and Effect classBrian Swetland3+84-66
2013-09-06 03:04texturefont: stop using geometry shadersBrian Swetland3+124-94
2013-09-06 02:50shaders: fix debug print errorBrian Swetland1+1-1
2013-09-06 02:49opengl: add glTexBuffer()Brian Swetland2+3-0
2013-09-04 12:47fix for mesa 9.2Brian Swetland3+23-23
2013-09-04 12:38shader and uniform management wipBrian Swetland9+198-55
2013-09-04 12:06effect: remove debug printBrian Swetland1+0-2
2013-09-04 10:58shaders/effects: allow #defines to be passed in at compilationBrian Swetland3+59-27
2013-09-04 10:43matrix: more stuffBrian Swetland2+45-16
2013-09-04 07:20matrix: tidy things a bit, add vec[34].{length,dot}()Brian Swetland1+57-31
2013-09-04 06:39matrix: vec3 type and .set() method for vectorsBrian Swetland1+58-0
2013-09-04 01:14glapp: remove old extension check codeBrian Swetland1+0-5
2013-09-03 06:57build: fix win7 buildBrian Swetland4+18-15
2013-09-02 12:08build: remove compile time dependency on OpenGLBrian Swetland6+154-65
2013-09-02 08:47shaders: provide shared attrib binding defines between glsl and c++Brian Swetland4+59-22
2013-09-02 07:42move third party libraries into thirdparty/ subdirectory for less clutterBrian Swetland319+40999-40996
2013-09-02 07:40remove old cube (which now lives in tests/assets)Brian Swetland4+0-102
2013-09-02 07:29start on higher level APIs, with Renderable, Model, and Effect classesBrian Swetland10+345-44
2013-09-02 06:56more tidying upBrian Swetland4+28-9
2013-09-02 06:34texturefont: return success correctly from init()Brian Swetland1+2-0
2013-09-02 06:08common: move low level wrapper objects into core.hBrian Swetland2+156-134
2013-09-02 05:58shaders: return success correctly from link()Brian Swetland1+2-0
2013-09-02 05:49texture2d: correct no-mipmap texture generationBrian Swetland1+14-5
2013-09-01 09:25shaders: auto-bind uniform blocks and samplersBrian Swetland2+34-3
2013-09-01 09:24buffers: use texture unit 15 for load operationsBrian Swetland1+6-0
2013-09-01 09:15glapp: dump gpu parametersBrian Swetland1+48-1
2013-09-01 08:12build: staticly link libSDL2, work around weird link problem on ubuntu 12.04.3Brian Swetland1+4-2
2013-09-01 08:12build/app: honor LFLAGSBrian Swetland1+1-1
2013-09-01 07:35glapp: chatter about OGL vendor and versionBrian Swetland1+5-0
2013-08-31 11:18matrix: adjust set_perspective() to match gameplay3d's versionBrian Swetland1+13-0
2013-08-29 23:38common: use GL debug extension to report errors via callbackBrian Swetland2+53-33
2013-08-29 23:28io: increase buffer for error() and forgive stray newlinesBrian Swetland1+7-3
2013-08-29 06:07linux/intel: tests run on hd4000 w/ mesa 9.1.x nowBrian Swetland4+16-14
2013-08-29 06:07build: use -lGLBrian Swetland1+2-2
2013-07-06 08:07hello: use onKeyUp() for reloadBrian Swetland1+11-5
2013-07-06 08:07common: onKeyDown() and onKeyUp() callbacksBrian Swetland2+4-0
2013-07-06 08:06common: disable shader source caching for nowBrian Swetland1+7-0
2013-07-06 08:00hello: display fps, keep text in frontBrian Swetland1+3-1
2013-07-06 07:59common: count fpsBrian Swetland2+19-1
2013-07-05 09:13keyboard: use bitmask, use SDL scancodesBrian Swetland3+19-16
2013-07-04 08:15build: linux: symlink assets instead of copyingBrian Swetland1+4-2
2013-07-03 15:14ignore: new win7 build directoriesBrian Swetland1+2-3
2013-07-03 10:38windows: build: remove some dx cruft, further tidy thingsBrian Swetland3+15-24
2013-07-03 09:55windows: use _Debug and _Release for output directoriesBrian Swetland6+48-12
2013-07-03 09:35windows: further degrungify the buildBrian Swetland8+44-222
2013-07-02 22:16windows: build freetypeBrian Swetland2+113-0
2013-07-02 22:16textgrid: not actually off by one, revert...Brian Swetland1+1-1
2013-07-02 22:15windows: include texturefont, fix buildBrian Swetland3+8-6
2013-07-02 18:53windows: update common library, hello, and objects buildBrian Swetland6+11-17
2013-07-02 17:16sublimetext project fileBrian Swetland1+33-0
2013-07-02 17:14test: rename "test" to "object", and simplifyBrian Swetland3+114-142
2013-07-02 17:02common: add 34px and 72px Orbitron Bold to assetsBrian Swetland4+0-0
2013-07-02 17:00fonts: add Orbitron (OFL licensed, from GoogleFonts)Brian Swetland5+93-0
2013-07-02 17:00texturefont: select texture before drawingBrian Swetland1+1-0
2013-06-23 06:58textures/loadpng: option flags for grayscale, etcBrian Swetland5+32-19
2013-06-23 06:05texturefont: fix texture coordinatesBrian Swetland3+14-8
2013-06-22 23:43mkfont: improve glyph packing a bit, add output parameterBrian Swetland1+61-28
2013-06-22 13:49mkfont: use top-left texture coordinates, but use baseline for positioningBrian Swetland1+1-1
2013-06-22 13:48texturefont: renderer for fonts generated by mkfont toolBrian Swetland4+272-0
2013-06-22 13:47app: RGBA macroBrian Swetland1+2-0
2013-06-22 13:13mkfont: move font data / glyph origins to upper leftBrian Swetland1+1-1
2013-06-22 13:08app,texture: accessors for width/heightBrian Swetland2+8-1
2013-06-22 09:02mkfont: simple tool for building texture fontsBrian Swetland3+195-0
2013-06-22 09:01util: useful integer datatypesBrian Swetland1+8-0
2013-06-22 08:38io: provide a way to disable the asset path search stuffBrian Swetland2+15-1
2013-06-21 09:17fix error messageBrian Swetland1+1-1
2013-06-21 07:30build: include freetype in default host include pathBrian Swetland1+1-0
2013-06-21 07:30freetype: include in buildBrian Swetland1+27-0
2013-06-21 07:29build: allow module name and path to differ, support C code in librariesBrian Swetland6+38-16
2013-06-21 07:28freetype: disable omitted/unneeded modulesBrian Swetland1+14-14
2013-06-21 07:27import freetype-2.5.0.1 subset (truetype only)Brian Swetland190+89465-0
2013-06-21 03:16improve shader management a bitBrian Swetland16+590-376
2013-06-20 06:58off by oneBrian Swetland1+1-1
2013-06-17 09:47oopsBrian Swetland1+1-1
2013-06-17 08:10geometry shader glueBrian Swetland2+37-5
2013-06-17 08:01more helper function muckeryBrian Swetland4+34-33
2013-06-17 05:48rework the helper code to be much more GL-centricBrian Swetland14+271-507
2013-06-16 23:26modernize build system (handle autodeps, asset copies, etc)Brian Swetland7+190-42
2013-06-16 22:03simplify - remove all the D3D stuffBrian Swetland16+214-4257
2013-06-16 21:57factor out asset loading, provide fopen_asset(), implement basic asset pathsBrian Swetland5+41-35
2013-06-15 06:45fix formatted die() outputBrian Swetland1+18-8
2013-06-15 02:23Update windows build for SDL2Brian Swetland4+11-20
2013-06-15 01:07Shift to SDL2.0Brian Swetland3+30-10
2013-02-11 06:32test: reload shaders if modifiedBrian Swetland3+34-2
2013-02-10 16:20project for testBrian Swetland5+202-3
2013-02-10 15:16win32: build common stuff as a library, fix release buildBrian Swetland4+150-30
2013-02-10 08:46glapp: deal with smarter shader compilersBrian Swetland1+17-4
2013-02-10 05:43g++ 4.7.2 does not like "filename"SL - add a space before SLBrian Swetland2+6-6
2013-02-10 05:42io: oops, make it really compile on lunixBrian Swetland1+2-1
2013-02-10 05:36notesBrian Swetland1+23-0
2013-02-10 05:25io: linux support for finding executable pathBrian Swetland1+13-1
2013-02-10 05:25test: move to its own directoryBrian Swetland3+0-0
2013-02-10 05:19misc: move old texturemapped reference cube hereBrian Swetland4+0-0
2013-02-10 05:15asset managementBrian Swetland23+144-131
2013-02-10 03:01build: opengl on win32Brian Swetland6+114-4
2013-02-10 03:01multiplatform: opengl on win32Brian Swetland4+147-9
2013-02-10 03:00add khronos core core header - avoid stale OS headersBrian Swetland1+4538-0
2013-02-09 13:57dxapp: initialize sampler0 with some default state, provide blend controlBrian Swetland3+53-2
2013-02-09 12:53multiplatform: make win32 happy againBrian Swetland4+82-20
2013-02-09 11:39textgrid: use shader language macroBrian Swetland1+4-4
2013-02-09 11:36multiplatform: linux makefile for hello and testBrian Swetland1+41-0
2013-02-09 11:36textgrid and hello: update for new API and provide glsl shadersBrian Swetland7+125-31
2013-02-09 11:35test: trivial test programBrian Swetland3+152-0
2013-02-09 11:33multiplatform: add GL3.3/GLES3.0 platform implementationBrian Swetland2+771-0
2013-02-09 11:32multiplatform: app.h selects platform-specific implementationBrian Swetland2+220-214
2013-02-06 04:18dxapp/hello: abstract away more d3dismsBrian Swetland5+73-33
2013-02-05 04:30experiment with an abstraction over D3D10Brian Swetland9+688-800
2013-02-05 02:21textgrid: shuffle into common, support compiled-in shadersBrian Swetland8+3264-137
2013-02-04 08:36hello: textgrid and nosie scrollingBrian Swetland1+47-12
2013-02-04 08:33textgrid class for drawing simple text overlaysBrian Swetland8+299-26
2013-02-03 06:01hello: keyboard nav, zoom, scene scrollBrian Swetland2+66-49
2013-02-03 05:59dxapp: more input fiddlingBrian Swetland2+46-28
2013-02-03 03:07dxapp: start using directinput, fix some bugsBrian Swetland3+76-16
2013-02-02 14:00hello: rotate all the thingsBrian Swetland1+34-8
2013-02-02 14:00dxapp: minimal and cheesy mouse supportBrian Swetland2+21-3
2013-02-02 12:56experiments with noiseBrian Swetland1+26-11
2013-02-02 12:56project file cleanupBrian Swetland4+23-6
2013-02-02 12:52ignore Release directories and gvim droppingsBrian Swetland1+2-0
2013-02-02 11:40more compact data formatBrian Swetland3+15-11
2013-02-02 09:54dxapp: handle window resizingBrian Swetland3+121-48
2013-02-02 06:35hello: draw 8x8x8 instanced cubeoidsBrian Swetland3+69-19
2013-02-02 06:34dxapp: create index buffers with the correct bind flagsBrian Swetland1+1-1
2013-02-02 05:46handy unit objectsBrian Swetland3+5325-0
2013-02-01 10:03hello: toss old fx sourceBrian Swetland1+0-40
2013-02-01 10:00hello project: include shaders, remove d3dx10 libraryBrian Swetland1+12-1
2013-02-01 10:00hello: tidy up, no more effectsBrian Swetland3+80-47
2013-02-01 09:59dxapp: shader management helpersBrian Swetland2+87-15
2013-02-01 05:20hello: cleanupBrian Swetland2+54-169
2013-02-01 05:19dxapp: convenience functionsBrian Swetland2+105-0
2013-02-01 05:19loadobj: deal with DX vs GL texture coordsBrian Swetland1+4-0
2013-01-31 23:49vse2012 projectsBrian Swetland4+318-0
2013-01-31 23:49wip d3d goopBrian Swetland4+598-0
2013-01-31 23:48ignore all the droppingsBrian Swetland1+4-2
2013-01-31 23:47assets from glstuffBrian Swetland6+3707-0
2013-01-31 23:47utility code imported from glstuffBrian Swetland8+1274-0
2013-01-31 22:07initial checkin of zlib and libpngBrian Swetland65+49029-0