AcademySoftwareFoundation / AcademySoftwareFoundation/OpenShadingLanguage
RendererServices::good() no longer used when generating textures
- Lenguaje dominante
- C++
- Estrellas
- 2.3k
- Forks
- 415
- Merge medio
- 3 d 1 h
- PR fusionados (30 d)
- 10
Descripción
### Problem
While doing some texture work I noticed that the RendererServices::good() function is no longer being called when generating textures. The function serves as an interface to validate texture handles retrieved from RendererServices::get_texture_handle(). This was removed as of a5d8381afbe1ad3c16cd3db7f6e1ddf5c50e0b1f and the texture handle is now just checked if it is non NULL. What are the plans for this API moving forward? If it is no longer going to be used there should probably be some indication that it is deprecated.
### Versions
* OSL branch/version: master - 1.11.0
* OS: All
* C++ compiler: N/A
* LLVM version: N/A
* OIIO version: N/A
Guía de contribución
Línea de trabajo
Comienza rastreando RendererServices::good() y la ruta de generación de texture-handles; después, compara el comportamiento actual con el commit a5d8381afbe1ad3c16cd3db7f6e1ddf5c50e0b1f. Determina si todavía se espera que la API valide los handles y documenta el comportamiento resultante o el estado de deprecación; el issue no menciona archivos ni tests.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- cpp
- Área
- computer-graphics
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 30/100