[quake3-commits] [ioquake/ioq3] b0f037: Misc fixes to IBO code to correctly use sizeof(glI...

Zack Middleton zturtleman at gmail.com
Sun Nov 17 20:05:08 EST 2013


  Branch: refs/heads/sdl2
  Home:   https://github.com/ioquake/ioq3
  Commit: b0f0376a4fd5609f55f91dbf4838188515a7a58a
      https://github.com/ioquake/ioq3/commit/b0f0376a4fd5609f55f91dbf4838188515a7a58a
  Author: Anthony Pesch <inolen at gmail.com>
  Date:   2013-07-19 (Fri, 19 Jul 2013)

  Changed paths:
    M code/renderergl2/tr_shade.c
    M code/renderergl2/tr_sky.c
    M code/renderergl2/tr_surface.c
    M code/renderergl2/tr_vbo.c

  Log Message:
  -----------
  Misc fixes to IBO code to correctly use sizeof(glIndex_t)


  Commit: 3846c115e637b594d33f5becb71562a62ae83b81
      https://github.com/ioquake/ioq3/commit/3846c115e637b594d33f5becb71562a62ae83b81
  Author: SmileTheory <SmileTheory at gmail.com>
  Date:   2013-11-03 (Sun, 03 Nov 2013)

  Changed paths:
    M code/renderergl2/glsl/lightall_fp.glsl
    M code/renderergl2/glsl/lightall_vp.glsl
    M code/renderergl2/tr_glsl.c
    M code/renderergl2/tr_image.c
    M code/renderergl2/tr_local.h
    M code/renderergl2/tr_shade.c
    M code/renderergl2/tr_shader.c

  Log Message:
  -----------
  OpenGL2: Reduce glsl shader count by using a uniform to disable textures.


  Commit: 0e25d0357b3e2f6d425a3aa92098509d3c3c396e
      https://github.com/ioquake/ioq3/commit/0e25d0357b3e2f6d425a3aa92098509d3c3c396e
  Author: SmileTheory <SmileTheory at gmail.com>
  Date:   2013-11-04 (Mon, 04 Nov 2013)

  Changed paths:
    M code/renderergl2/glsl/lightall_fp.glsl
    M code/renderergl2/glsl/lightall_vp.glsl

  Log Message:
  -----------
  OpenGL2: Revisit fragment tangent space calculation, and remove tangent space lighting.


  Commit: a7c5fc0ee7b5bb97e9dea4db56f9b91e5dbe6afb
      https://github.com/ioquake/ioq3/commit/a7c5fc0ee7b5bb97e9dea4db56f9b91e5dbe6afb
  Author: SmileTheory <SmileTheory at gmail.com>
  Date:   2013-11-04 (Mon, 04 Nov 2013)

  Changed paths:
    M code/renderergl2/glsl/lightall_fp.glsl

  Log Message:
  -----------
  OpenGL2: Some small shader optimizations.


  Commit: 8c3ae8d7d283c90c3a3d9037f36a874e7575a9d4
      https://github.com/ioquake/ioq3/commit/8c3ae8d7d283c90c3a3d9037f36a874e7575a9d4
  Author: SmileTheory <SmileTheory at gmail.com>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M code/renderergl2/tr_backend.c
    M code/renderergl2/tr_cmds.c
    M code/renderergl2/tr_fbo.c
    M code/renderergl2/tr_image.c
    M code/renderergl2/tr_local.h
    M code/renderergl2/tr_postprocess.c
    M code/renderergl2/tr_shade.c
    M code/renderergl2/tr_sky.c

  Log Message:
  -----------
  OpenGL2: Reimplement soft overbright to avoid a framebuffer blit.


  Commit: 7672533e8f97fa0d49b3a180f13379908e7ea87e
      https://github.com/ioquake/ioq3/commit/7672533e8f97fa0d49b3a180f13379908e7ea87e
  Author: SmileTheory <SmileTheory at gmail.com>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M code/renderergl2/tr_bsp.c

  Log Message:
  -----------
  OpenGL2: Prefer VBO/IBO sizes of around 4MB.


  Commit: fd4cd6612d2c3be0ff604d64cc96d72eba2c4427
      https://github.com/ioquake/ioq3/commit/fd4cd6612d2c3be0ff604d64cc96d72eba2c4427
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-11-06 (Wed, 06 Nov 2013)

  Changed paths:
    M code/qcommon/q_shared.c

  Log Message:
  -----------
  Fix running if built on OS X 10.9

strncpy with in == out causes signal 6 if built on OS X 10.9.
(If built on older OS X versions, the game works on 10.9 though.)

It was happening in COM_StripExtension during map load.


  Commit: d295db747c0f4d10a2eaa75ac40c480f918cc197
      https://github.com/ioquake/ioq3/commit/d295db747c0f4d10a2eaa75ac40c480f918cc197
  Author: SmileTheory <SmileTheory at gmail.com>
  Date:   2013-11-07 (Thu, 07 Nov 2013)

  Changed paths:
    M code/renderergl2/tr_bsp.c

  Log Message:
  -----------
  OpenGL2: Small optimizations and comments in world VBO creation and surface merging.


  Commit: ef9fe17dd5a7b15f0b3c2b31fa45d783d9856bc0
      https://github.com/ioquake/ioq3/commit/ef9fe17dd5a7b15f0b3c2b31fa45d783d9856bc0
  Author: SmileTheory <SmileTheory at gmail.com>
  Date:   2013-11-08 (Fri, 08 Nov 2013)

  Changed paths:
    M code/renderergl2/tr_bsp.c
    M code/renderergl2/tr_curve.c
    M code/renderergl2/tr_local.h
    M code/renderergl2/tr_main.c
    M code/renderergl2/tr_marks.c
    M code/renderergl2/tr_model.c
    M code/renderergl2/tr_surface.c
    M code/renderergl2/tr_vbo.c

  Log Message:
  -----------
  OpenGL2: Remove srfTriangle_t, and use glIndex_t instead.


  Commit: 90c98c90a3768411cf27f0b92734d0e016f9053d
      https://github.com/ioquake/ioq3/commit/90c98c90a3768411cf27f0b92734d0e016f9053d
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-11-08 (Fri, 08 Nov 2013)

  Changed paths:
    M code/qcommon/files.c

  Log Message:
  -----------
  Fix VM FOpenFile( FS_READ ) files seeking twice in FS_Seek


  Commit: c69db4a4002bd640c638f7314381c5d3b3a6864a
      https://github.com/ioquake/ioq3/commit/c69db4a4002bd640c638f7314381c5d3b3a6864a
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-11-08 (Fri, 08 Nov 2013)

  Changed paths:
    M code/qcommon/files.c

  Log Message:
  -----------
  Remove unused variable baseOffset from fsh[]


  Commit: 2d45e57068866cf0bc778e5c747bae74de163fa0
      https://github.com/ioquake/ioq3/commit/2d45e57068866cf0bc778e5c747bae74de163fa0
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-11-08 (Fri, 08 Nov 2013)

  Changed paths:
    M code/client/snd_codec_ogg.c
    M code/client/snd_codec_opus.c
    M code/qcommon/files.c

  Log Message:
  -----------
  Support FS_SEEK_END and negative offset for zipped files in FS_Seek

Use FS_SEEK_END in sound code instead of working around it.
If FS_SEEK_SET and going to current position, just return.


  Commit: 028f0f1ac4cb41a68caef4c230fdabab577aa8a7
      https://github.com/ioquake/ioq3/commit/028f0f1ac4cb41a68caef4c230fdabab577aa8a7
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-11-08 (Fri, 08 Nov 2013)

  Changed paths:
    M code/qcommon/qcommon.h

  Log Message:
  -----------
  Remove old comment that FS_Seek doesn't work on zipped files


  Commit: baf5737779467b2f3e55a751b5bd44bff663fd0a
      https://github.com/ioquake/ioq3/commit/baf5737779467b2f3e55a751b5bd44bff663fd0a
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-11-08 (Fri, 08 Nov 2013)

  Changed paths:
    M code/qcommon/qcommon.h

  Log Message:
  -----------
  Remove function prototypes for non-existant Sys_* DLL functions


  Commit: ae57eebf52f0d28475c7c88b9b0da5c9b1e3a011
      https://github.com/ioquake/ioq3/commit/ae57eebf52f0d28475c7c88b9b0da5c9b1e3a011
  Author: SmileTheory <SmileTheory at gmail.com>
  Date:   2013-11-08 (Fri, 08 Nov 2013)

  Changed paths:
    M code/renderergl2/tr_shade.c
    M code/renderergl2/tr_sky.c
    M code/renderergl2/tr_surface.c
    M code/renderergl2/tr_vbo.c

  Log Message:
  -----------
  Merge branch 'glindex_size_fixes' of https://github.com/inolen/ioq3 into inolen-glindex_size_fixes


  Commit: d526eacd10240335cc8534544f1e501a89e9630f
      https://github.com/ioquake/ioq3/commit/d526eacd10240335cc8534544f1e501a89e9630f
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-11-09 (Sat, 09 Nov 2013)

  Changed paths:
    M code/renderergl1/tr_flares.c
    M code/renderergl2/tr_flares.c

  Log Message:
  -----------
  Fix flares being invisible after vid_restart

flareCoeff was only set if r_flareCoeff cvar was set as modified.
Cvars are set as modified when created or changed.


  Commit: 5795be68f6aabba02c9707eef4e193cf334cd946
      https://github.com/ioquake/ioq3/commit/5795be68f6aabba02c9707eef4e193cf334cd946
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-11-10 (Sun, 10 Nov 2013)

  Changed paths:
    M code/client/snd_openal.c

  Log Message:
  -----------
  Make OpenAL buffer management work on OS X

Don't assume we have unlimited OpenAL buffers.
Detach buffers from sources by setting AL_BUFFER to 0. Cannot delete buffers on OS X immediately after alSourceUnqueueBuffers.
Free unprocessed stream and music buffers.
Free unused sfx buffers when sound file exists and fails loading into OpenAL (though I haven't seen it fail).


  Commit: b3bd74fce7d91b68498eff94797657a96755fb67
      https://github.com/ioquake/ioq3/commit/b3bd74fce7d91b68498eff94797657a96755fb67
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-11-10 (Sun, 10 Nov 2013)

  Changed paths:
    M code/client/snd_openal.c

  Log Message:
  -----------
  Fix restoring loop sound position on OS X

The default OpenAL library on OS X errors AL_INVALID_VALUE for AL_SEC_OFFSET if source isn't playing.


  Commit: 203ab7b9af3f76e866ee6ba2a19427278cbbc001
      https://github.com/ioquake/ioq3/commit/203ab7b9af3f76e866ee6ba2a19427278cbbc001
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-11-10 (Sun, 10 Nov 2013)

  Changed paths:
    M code/client/snd_openal.c

  Log Message:
  -----------
  Fix cinematics often being silent on OS X

If OpenAL source isn't playing, often what happens is: queued buffers is 0 and processed buffers is non-0.
S_AL_StreamUpdate won't play the steam if queued buffers 0.
So start the stream in S_AL_RawSamples.


  Commit: 93be2655f8a6305271930e308351e8722c1acf57
      https://github.com/ioquake/ioq3/commit/93be2655f8a6305271930e308351e8722c1acf57
  Author: Ensiform <ensiform at gmail.com>
  Date:   2013-11-10 (Sun, 10 Nov 2013)

  Changed paths:
    M code/client/cl_main.c

  Log Message:
  -----------
  Remove unused cvar_t variable cl_trn


  Commit: a53e7c3074543fcbccb0e2be4d0121e3b7f9d1e1
      https://github.com/ioquake/ioq3/commit/a53e7c3074543fcbccb0e2be4d0121e3b7f9d1e1
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-11-10 (Sun, 10 Nov 2013)

  Changed paths:
    M code/renderergl2/tr_bsp.c

  Log Message:
  -----------
  Fix comparing unsigned values to < 0 in gl2


  Commit: 6e5f8cc918e89b279070b0335648149af43ac1bd
      https://github.com/ioquake/ioq3/commit/6e5f8cc918e89b279070b0335648149af43ac1bd
  Author: SmileTheory <SmileTheory at gmail.com>
  Date:   2013-11-12 (Tue, 12 Nov 2013)

  Changed paths:
    M code/renderergl2/glsl/generic_vp.glsl
    M code/renderergl2/glsl/lightall_vp.glsl
    M code/renderergl2/tr_animation.c
    M code/renderergl2/tr_bsp.c
    M code/renderergl2/tr_curve.c
    M code/renderergl2/tr_glsl.c
    M code/renderergl2/tr_local.h
    M code/renderergl2/tr_main.c
    M code/renderergl2/tr_model.c
    M code/renderergl2/tr_model_iqm.c
    M code/renderergl2/tr_shade.c
    M code/renderergl2/tr_shade_calc.c
    M code/renderergl2/tr_shader.c
    M code/renderergl2/tr_surface.c
    M code/renderergl2/tr_vbo.c

  Log Message:
  -----------
  OpenGL2: Calculate bitangent in shader, and store normal/tangent as normalized byte arrays.


  Commit: 3736968943b3339d9f161044971d3c38b19f5c04
      https://github.com/ioquake/ioq3/commit/3736968943b3339d9f161044971d3c38b19f5c04
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-11-17 (Sun, 17 Nov 2013)

  Changed paths:
    M code/client/cl_main.c
    M code/client/snd_codec_ogg.c
    M code/client/snd_codec_opus.c
    M code/client/snd_openal.c
    M code/qcommon/files.c
    M code/qcommon/q_shared.c
    M code/qcommon/qcommon.h
    M code/renderergl1/tr_flares.c
    M code/renderergl2/glsl/generic_vp.glsl
    M code/renderergl2/glsl/lightall_fp.glsl
    M code/renderergl2/glsl/lightall_vp.glsl
    M code/renderergl2/tr_animation.c
    M code/renderergl2/tr_backend.c
    M code/renderergl2/tr_bsp.c
    M code/renderergl2/tr_cmds.c
    M code/renderergl2/tr_curve.c
    M code/renderergl2/tr_fbo.c
    M code/renderergl2/tr_flares.c
    M code/renderergl2/tr_glsl.c
    M code/renderergl2/tr_image.c
    M code/renderergl2/tr_local.h
    M code/renderergl2/tr_main.c
    M code/renderergl2/tr_marks.c
    M code/renderergl2/tr_model.c
    M code/renderergl2/tr_model_iqm.c
    M code/renderergl2/tr_postprocess.c
    M code/renderergl2/tr_shade.c
    M code/renderergl2/tr_shade_calc.c
    M code/renderergl2/tr_shader.c
    M code/renderergl2/tr_sky.c
    M code/renderergl2/tr_surface.c
    M code/renderergl2/tr_vbo.c

  Log Message:
  -----------
  Merge branch 'master' into sdl2


Compare: https://github.com/ioquake/ioq3/compare/779ebfacfd3f...3736968943b3


More information about the quake3-commits mailing list